Commit Graph

217 Commits

Author SHA1 Message Date
c9s
901272f153
binance: refactor and update QueryOrderTrades implementation 2024-05-24 17:35:27 +08:00
c9s
bc71c95608
binance: implement query trade for binance margin trading 2024-05-24 17:35:27 +08:00
c9s
d55d1e9867
upgrade github.com/adshao/go-binance/v2 2024-03-31 19:39:50 +08:00
Lan Phan
37a0ae53e9 support Binance paper trading for sync sub-command 2024-03-28 13:31:10 +07:00
zenix.huang
f1a4879253 upgrade golang mockgen to uber mockgen. generate exchange public 2024-03-12 14:18:14 +09:00
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