Commit Graph

212 Commits

Author SHA1 Message Date
c9s
f734c699bc
add LastUpdateId to the SliceOrderBook struct 2024-02-06 15:28:55 +08:00
c9s
b3ef66dff4
binance: set snapshot.Time to now() 2024-02-06 15:28:55 +08:00
c9s
7e5d25a7e0
binance: implement GetDepthRequest with requestgen 2024-02-06 15:28:55 +08:00
edwin
836f1f9490 pkg/exchange: use fixedpoint as value 2024-02-06 09:37:04 +08:00
edwin
c73fc65c6d pkg/exchange: add margin transfer request 2024-02-05 17:00:57 +08:00
edwin
b6717f2fcf pkg/exchange: replace /sapi/v1/margin/transfer to /sapi/v1/asset/transfer 2024-02-05 11:18:40 +08:00
c9s
18ccc78d83
binance: apply DefaultDepthLimit to 5000 2024-01-24 17:53:04 +08:00
Edwin
50bfd8ee0e pkg/exchange: add time to SliceOrderBook 2023-09-01 17:54:40 +08:00
c9s
241ce657c3
binance: remove isMargin check 2023-08-08 12:01:30 +08:00
c9s
4c4b9db47a
types,binance: add confirmation and unlockConfirm fields to Deposit 2023-08-08 11:20:17 +08:00
c9s
9248f8ac24
binance: define DepositStatus for binance 2023-08-08 11:20:17 +08:00
c9s
9346e7d1f6
binance: replace emptyTime with IsZero 2023-08-08 11:20:17 +08:00
c9s
0118f33bfc
binance: finalize TransferMarginAccountAsset method 2023-08-08 11:20:17 +08:00
c9s
8b1cefc699
binance: integerate isolated margin / cross margin transfer 2023-08-08 11:20:17 +08:00
c9s
92691eda24
binanceapi: add margin transfer api 2023-08-08 11:20:17 +08:00
Edwin
b71030c5db pkg: return err if rate limit err 2023-07-25 15:09:57 +08:00
c9s
75cbe10128
binance: call auth on futuresClient2 2023-03-26 15:03:23 +08:00
c9s
8ddf248d50
binance: initialize the new futures client 2023-03-26 00:19:31 +08:00
c9s
fc3e59b3ef
binance: move queryFuturesDepth to futures.go 2023-03-26 00:17:12 +08:00
c9s
cfe47cd53b
binance: add futures fee link 2023-03-24 18:14:52 +08:00
c9s
d359464b2c
binance: add default futures fee rate 2023-03-24 18:14:24 +08:00
c9s
ed4d32c59a
binance: refactor binance exchange code for futures api 2023-03-24 18:06:40 +08:00
c9s
071825e982
binance: move futures methods 2023-03-24 15:13:25 +08:00
c9s
9c0787e6ce
binance: pull out cancelFuturesOrders method 2023-03-24 15:11:13 +08:00
c9s
feec194843
binance: improve transfer logs 2023-03-24 14:37:18 +08:00
c9s
487fbf8681
binance: implement TransferFuturesAccountAsset api 2023-03-23 02:42:26 +08:00
c9s
6848e11e8a
binance: implement TransferFuturesAsset 2023-03-23 00:55:00 +08:00
c9s
bf87d04d57
binance: change rate limit unit to minute 2022-12-22 19:07:55 +08:00
c9s
6c0cc71c1c binance: avoid using fromId and timeRange at the same time 2022-12-09 17:28:06 +08:00
c9s
ae678d1b3b binance: add workaround for the myTrades api 2022-12-09 17:09:03 +08:00
c9s
85097840f1 binance: replace /api/v3/myTrades api 2022-12-09 16:44:27 +08:00
austin362667
905c1f25ee interval: add 1s support
interval: add 1s support

interval: add 1s support

interval: fix 1s for backtesting
2022-10-14 23:14:30 +08:00
c9s
1c58a44e44
binance: implement get margin max borrowable request 2022-09-19 17:09:34 +08:00
c9s
d73880d0a8
binance: upgrade github.com/adshao/go-binance/v2 to v2.3.8 2022-09-19 17:02:50 +08:00
c9s
a5ba870cd8
binance: add queryTrades rate limiter 2022-09-12 15:03:01 +08:00
c9s
29105eb57f
all: simplify underlying exchange submitOrder method
- Replace SubmitOrders with SubmitOrder
- Accept only one submit order and return one created order
- Add bbgo.BatchPlaceOrders helper method and bbgo.BatchRetryPlaceOrders method
2022-09-09 18:41:06 +08:00
c9s
68064bfe44
move and fix binance exchange api examples 2022-08-24 12:58:06 +08:00
c9s
8827fc3ec6
binance: fix futures/margin order sync issue
fixes: #887
2022-08-19 15:28:24 +08:00
c9s
c6e4fcf0c2
binance: fix QueryOrderTrades 2022-08-17 16:08:11 +08:00
c9s
b4e71dd5bb
binance: implement QueryOrderTrades method 2022-08-17 16:08:09 +08:00
Andy Cheng
b5beadceb4 exhange/binance: exclude unrealized pnl from balance calculation 2022-08-16 15:06:13 +08:00
Andy Cheng
0b5f2c308e exchange/binance: fix missing github.com/adshao/go-binance/v2 2022-08-16 14:21:48 +08:00
Andy Cheng
9cf29b6cc6 exchange/binance: get locked balance of futures account 2022-08-16 10:55:45 +08:00
ankion
ffd46fd71d binance: fix futures orderTypelimitMaker timeInForce was null 2022-08-11 11:30:00 +08:00
c9s
5bb1722007
binance: remove ineffected DEBUG_BINANCE_STREAM 2022-07-26 16:26:40 +08:00
c9s
e1e725878e
binance: refactor server time offset setter 2022-07-26 16:25:08 +08:00
c9s
ff61235e70
binance: rename to timeSetterOnce 2022-07-26 16:22:57 +08:00
c9s
cf5e81c848
binance: refactor set server time go routine 2022-07-26 16:22:29 +08:00
zenix
2568a81dfe fix: binance time sync, exchange interval query interface, yaml for fixedpoint 2022-07-26 16:42:34 +09:00
zenix
ba1342cbc3 feature: add pre-commit 2022-06-17 16:07:00 +09:00