Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

exchanges: Update Binance #1546

Open
wants to merge 159 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
159 commits
Select commit Hold shift + click to select a range
f28f84e
Adding usdt future websocket functions
samuael Dec 17, 2023
30abd30
Adding USDT Futures websocket handlers
samuael Dec 19, 2023
a6c765a
Completed USDT websocket support
samuael Dec 21, 2023
a4dd269
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Dec 21, 2023
fff3ede
Types and Convert methods update
samuael Dec 21, 2023
526f149
Adding cfutures websocket support
samuael Dec 22, 2023
37af6ff
Adding coin margined futures websocket support
samuael Dec 23, 2023
226c8f5
Completed cfutures websocket handlers
samuael Dec 24, 2023
45ed9f3
Adding Websocket API endpoints
samuael Dec 24, 2023
13ca144
Adding websocket API endpoints and connection method
samuael Dec 24, 2023
ee4abc3
Adding Market websocket API endpoints
samuael Dec 25, 2023
6636d57
Completed Market Public Endpoints and unit tests
samuael Dec 26, 2023
cb02f0c
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Dec 27, 2023
4d1a16b
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Dec 31, 2023
eeebf40
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Jan 2, 2024
cff7cd1
Adding websocket API trade endpoints
samuael Jan 4, 2024
d6f302e
Adding Trade endpoints
samuael Jan 6, 2024
3d37efb
Completed adding Trading endpoints
samuael Jan 7, 2024
bfdd16a
types, documentation, and endpoints update
samuael Jan 8, 2024
9fc1e1d
Authentication and signing method update
samuael Jan 9, 2024
85014fa
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Jan 9, 2024
1db9d8c
Added account and user data stream requests
samuael Jan 10, 2024
2867ce4
Adding Websocket SPOT API endpoints to wrapper functions
samuael Jan 11, 2024
55c4b1c
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Jan 11, 2024
b497ea9
Finalize websocket API endpoints to wrapper integration
samuael Jan 12, 2024
873fd28
Testing and fixing API Websocket endpoints
samuael Jan 13, 2024
d5571f8
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Jan 13, 2024
67a14e3
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Jan 16, 2024
ea87392
Adding missing endpoints
samuael Jan 17, 2024
4ebebdb
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Jan 24, 2024
5e1073e
Fix subscription issues
samuael Jan 25, 2024
0b6fcc4
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Jan 25, 2024
191e265
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Feb 8, 2024
9531e5f
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Feb 12, 2024
40cd6b3
Update unit tests and started adding endpoints
samuael Feb 12, 2024
08346a7
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Feb 13, 2024
16d526f
Adding wallet endpoints
samuael Feb 13, 2024
2d3bca7
Adding wallet endpoints and unit tests
samuael Feb 14, 2024
cade5bf
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Feb 19, 2024
432632e
Update unit tests and fix linter issues
samuael Feb 19, 2024
68789d0
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Feb 20, 2024
da09b8e
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Feb 21, 2024
7b58558
codespell fix
samuael Feb 21, 2024
1696d5d
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Feb 28, 2024
658de98
unit tests update
samuael Feb 28, 2024
82280f9
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Feb 28, 2024
34875f7
Merge branch 'binance_futures_ws_update' into binance_update
samuael Feb 28, 2024
5dc3594
Update unit tests and fix linter issues
samuael Mar 2, 2024
84cb559
rm binance mock file
samuael Mar 2, 2024
980eb6e
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Mar 11, 2024
9ba0e6a
Added Spot/Margin Sub Account endpoints
samuael Mar 12, 2024
b0168ee
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Mar 13, 2024
3079e80
sub-account endpoints
samuael Mar 13, 2024
250de82
Added subaccount endpoints and unit tests
samuael Mar 18, 2024
391aff2
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Mar 18, 2024
6311cb2
Completed Sub-Account endpoints
samuael Mar 19, 2024
a909252
Completed Spot trading endpoints and adding spot account endpoints
samuael Mar 20, 2024
1079924
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Mar 20, 2024
ea862b0
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Mar 23, 2024
70c89fe
Adding USDT margined futures endpoints
samuael Mar 23, 2024
a583e6d
Added UFutures market endpoints, fix code structure issues, mock test…
samuael Mar 24, 2024
d7120f9
Completed adding USDT margined rest endpoints
samuael Mar 25, 2024
fc4af33
Added missing market coin margined futures endpoints
samuael Mar 25, 2024
b35992e
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Mar 26, 2024
7c1d1f8
Added European Options market endpoints
samuael Mar 26, 2024
01d4524
Adding types and trade endpoints
samuael Mar 27, 2024
47e4ad1
Completed market maker rest endpoints
samuael Mar 30, 2024
eada24d
Adding European Options websocket support
samuael Mar 30, 2024
ab04442
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Mar 30, 2024
2c19072
adding websocket handlers
samuael Apr 1, 2024
2c6a1e9
Completed adding european options public stream handlers
samuael Apr 2, 2024
590cc0a
Merge branch 'binance_futures_ws_update' into binance_update
samuael Apr 2, 2024
44f062f
Adding Portfolio margin endpoints
samuael Apr 2, 2024
36cf625
Adding portfilio margin endpoints
samuael Apr 3, 2024
c630998
Fixing ratelimit and endpoint calling
samuael Apr 4, 2024
095489c
Ratelimit and endpoins update
samuael Apr 4, 2024
1373ffc
added p-margin new orders and cancel orders
samuael Apr 5, 2024
685dbff
Added query endpoints and unit tests
samuael Apr 7, 2024
68449cf
Adding portfolio margin account endpoints
samuael Apr 8, 2024
008070d
Completed mapping portfolio margin account endpoints
samuael Apr 9, 2024
3ef917c
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Apr 9, 2024
44c5b2b
Added portfolio margin endpoint ratelimits
samuael Apr 11, 2024
a6a7396
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Apr 11, 2024
b0c42c4
linter issues fix and few ratelimit update to spot/margin trading
samuael Apr 11, 2024
1f699ad
Updating ratelimits and endpoint handling for spot/margin/saving/mini…
samuael Apr 12, 2024
3417214
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Apr 12, 2024
d914e23
updating ratelimits and add missing Margin Account/Trade endpoints
samuael Apr 14, 2024
46fb3c5
Adding Margin account endpoints
samuael Apr 16, 2024
2170358
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Apr 16, 2024
efd65b9
margin account orders endpoints and test
samuael Apr 17, 2024
190bf67
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Apr 17, 2024
d8a45b8
Adding Margin endpoints
samuael Apr 18, 2024
fac780a
Completed mapping margin endpoints
samuael Apr 19, 2024
29025cc
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Apr 19, 2024
75cf835
adding simple earn endpoints
samuael Apr 20, 2024
9292b58
Completed mapping simple-earn endpoints
samuael Apr 21, 2024
1a8a534
Completed mapping dual-investment endpoints
samuael Apr 21, 2024
0fee554
Adding auto-invest endpoints
samuael Apr 21, 2024
27f0926
completed auto-invest and staking endpoints
samuael Apr 23, 2024
b8c9b43
Completed mapping mining endpoints
samuael Apr 24, 2024
97fa351
Added Future, future algo, spot algo, and classic portfolio margin en…
samuael Apr 25, 2024
30b79fc
Adding Classic portfolio and BLVt endpoints
samuael Apr 26, 2024
b947346
Added NFT, Rebate, Convert, C2C, Fiat and Redeem endpoints
samuael Apr 27, 2024
b4097d2
Completed GiftCard and adding VIP endpoints
samuael Apr 28, 2024
2aaa9eb
Completed VIP loan endpoints
samuael Apr 29, 2024
aebe6fa
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Apr 29, 2024
23b6ea1
cleanup on linter issues
samuael Apr 29, 2024
23fa131
Minor polishing on types and funcs
samuael May 1, 2024
7961ae6
Adding ratelimiters and update
samuael May 2, 2024
bf0230f
Fix endpoints and add some missing endpoints
samuael May 3, 2024
7ac32ef
Updating endpoints
samuael May 4, 2024
a801986
Updating ratelimits for spot/margin/saving... endpoints
samuael May 5, 2024
a82c997
Completed ratelimit update
samuael May 6, 2024
4055f23
Updating wrapper funcs
samuael May 7, 2024
03bc89e
Updating unit tests, recording, and update endpoints
samuael May 9, 2024
0ffa565
Updating european option order calls in wrapper and update testing
samuael May 9, 2024
7adae91
update wrapper functions
samuael May 10, 2024
3a90069
Minor unit tests fix
samuael May 10, 2024
cf3fb06
update unit tests and record
samuael May 11, 2024
5c1f22d
Testing, Recording, Updating wrapper, and fix endpoint methods
samuael May 12, 2024
46f7296
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael May 14, 2024
9d9d1ab
Updates on wrapper, unit tests and recording missing
samuael May 14, 2024
ff0a13f
Updating testing handlings
samuael May 16, 2024
4390c78
Unit tests cleaning up and recordings
samuael May 18, 2024
889e5ae
Fixing and Recording unit tests
samuael May 19, 2024
7deab52
Documentation update
samuael May 19, 2024
caef51c
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael May 19, 2024
f571c54
config and codespell error fix
samuael May 19, 2024
13b446f
codespell fix
samuael May 19, 2024
31e6b66
suppress codespell lint issues
samuael May 19, 2024
5614ccc
Update unit tests and endpoint call recording
samuael May 22, 2024
15ad067
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael May 22, 2024
6ebd7c3
Try fixing allExchangeWrappers error
samuael May 22, 2024
14c11b0
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Jun 3, 2024
173bd18
Update endpoint rate limiters structure and changed limit.Weight type…
samuael Jun 3, 2024
80e1a49
Re-organize unit tests and updates on
samuael Jun 4, 2024
f5b625a
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Jun 22, 2024
967bc38
Fix websocket subscriptions, linter, and codespell issues
samuael Jun 22, 2024
670abf5
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Sep 25, 2024
7a05461
endpoint methods, error types, and other updates
samuael Sep 25, 2024
d08a5f4
Update endpoint parameters, error handling, and unit tests
samuael Sep 28, 2024
df0ccd6
Adding error declaration checks in unit tests
samuael Sep 29, 2024
4edf988
Adding unit tests error checks
samuael Sep 30, 2024
1ba3525
Unit test error handlings update
samuael Oct 10, 2024
d2ababc
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Oct 11, 2024
cecc8db
Update unit tests and error handling
samuael Oct 11, 2024
3624de1
Endpints, error declaration and handling, and unit tests
samuael Oct 13, 2024
74e65fd
Linter and unit tests fix
samuael Oct 14, 2024
6780f6e
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Oct 14, 2024
5e63e92
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Oct 15, 2024
cafcdee
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Nov 1, 2024
b0c4f06
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Nov 19, 2024
68a3391
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Nov 22, 2024
86f8b91
Update and fix endpoint methods and cross-checking unit tests
samuael Nov 22, 2024
54a4525
options unit tests and endpoints update
samuael Nov 23, 2024
2543400
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Nov 28, 2024
1ae0322
Update orderbook asks/bids unmarshaling updates
samuael Nov 28, 2024
9637247
Update unit test coverage
samuael Nov 30, 2024
f02026a
Merge branch 'master' of http://github.com/thrasher-corp/gocryptotrad…
samuael Dec 7, 2024
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 10 additions & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -26,14 +26,24 @@ khcchiu | https://github.com/khcchiu
yangrq1018 | https://github.com/yangrq1018
woshidama323 | https://github.com/woshidama323
crackcomm | https://github.com/crackcomm
<<<<<<< HEAD
<<<<<<< HEAD
mshogin | https://github.com/mshogin
herenow | https://github.com/herenow
tk42 | https://github.com/tk42
soxipy | https://github.com/soxipy
=======
=======
mshogin | https://github.com/mshogin
>>>>>>> 105591b2a81a76b1cfef448efc0b3197447d57d0
herenow | https://github.com/herenow
tk42 | https://github.com/tk42
soxipy | https://github.com/soxipy
andreygrehov | https://github.com/andreygrehov
azhang | https://github.com/azhang
bretep | https://github.com/bretep
Christian-Achilli | https://github.com/Christian-Achilli
>>>>>>> afb6f75d8845f1de093ca5a7ba90f45962b1e3c9
cornelk | https://github.com/cornelk
gam-phon | https://github.com/gam-phon
if1live | https://github.com/if1live
Expand Down
3 changes: 3 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,10 +178,13 @@ Binaries will be published once the codebase reaches a stable condition.
| [herenow](https://github.com/herenow) | 2 |
| [tk42](https://github.com/tk42) | 2 |
| [soxipy](https://github.com/soxipy) | 2 |
<<<<<<< HEAD
=======
| [andreygrehov](https://github.com/andreygrehov) | 2 |
| [azhang](https://github.com/azhang) | 2 |
| [bretep](https://github.com/bretep) | 2 |
| [Christian-Achilli](https://github.com/Christian-Achilli) | 2 |
>>>>>>> afb6f75d8845f1de093ca5a7ba90f45962b1e3c9
| [cornelk](https://github.com/cornelk) | 2 |
| [gam-phon](https://github.com/gam-phon) | 2 |
| [if1live](https://github.com/if1live) | 2 |
Expand Down
72 changes: 61 additions & 11 deletions config_example.json

Large diffs are not rendered by default.

5 changes: 4 additions & 1 deletion contrib/spellcheck/exclude_lines.txt
Original file line number Diff line number Diff line change
Expand Up @@ -22,4 +22,7 @@
SHFT = NewCode("SHFT")
currency.SHFT: 84,
TotalIn float64 `json:"totalIn"`
TotalIn int64 `json:"totalIn"`
TotalIn int64 `json:"totalIn"`
"Contract Info": `{"stream": "!contractInfo", "data": {"e":"contractInfo", "E":1669356423908, "s":"IOTAUSDT", "ps":"IOTAUSDT", "ct":"PERPETUAL", "dt":4133404800000, "ot":1569398400000, "cs":"TRADING", "bks":[ { "bs":1, "bnf":0, "bnc":5000, "mmr":0.01, "cf":0, "mi":21, "ma":50 }, { "bs":2, "bnf":5000, "bnc":25000, "mmr":0.025, "cf":75, "mi":11, "ma":20 } ] }}`,
OnboardDateTime convert.ExchangeTime `json:"ot"`
TransferFrom string `json:"transFrom,omitempty"`
Loading
Loading