Commit Graph

1133 Commits

Author SHA1 Message Date
Edwin
e4ebe1cffd pkg/exchange: supprot queryOrderTrades 2023-08-15 14:23:34 +08:00
Edwin
3207a8227c pkg/exchange: add QueryOrder api 2023-08-15 14:23:31 +08:00
Edwin
54e7065d8a pkg/exchange: implement trade event 2023-08-10 19:58:27 +08:00
Edwin
affff32599 pkg/exchange: get fee rate before connect 2023-08-10 17:57:47 +08:00
Edwin
0b03336fb0 pkg/exchange: support GetFeeRates on bybit exchange 2023-08-10 15:26:51 +08:00
Edwin
ace2c55a17 exchange/bybit: add fee rate restful api 2023-08-10 15:02:30 +08:00
Edwin
4cee22ce31 pkg/exchage: support k line websocket event 2023-08-10 11:07:13 +08:00
Edwin
e9d0ce5bbf pkg/exchage: support k line rest api 2023-08-10 11:07:10 +08:00
bailantaotao
24d240b1f3
Merge pull request #1279 from bailantaotao/edwin/add-query-acct
FEATURE: [bybit] support query account/balance api
2023-08-09 15:33:04 +08:00
Edwin
65b06ff401 pkg/exchange: add query account function 2023-08-09 14:05:57 +08:00
Edwin
dfead5ebed pkg/exchange: add query account balance api 2023-08-09 14:05:57 +08:00
Edwin
8c22863334 pkg/exchange: mv BalanceEvent to bybitapi and rename to WalletBalances 2023-08-09 14:05:55 +08:00
c9s
4ed402b775
max: update deposit states and add more fields to deposit 2023-08-08 20:51:48 +08:00
c9s
b711e1e439
Merge pull request #1275 from c9s/c9s/strategy-deposit2transfer
FEATURE: [strategy] add deposit2transfer tool
2023-08-08 15:13:06 +08:00
Edwin
b27395f6f4 pkg/exchange: avoiding GC panic caused by a rapid creation/removal slice of pointers 2023-08-08 14:11:19 +08:00
c9s
25298720d0
max: implement TransferMarginAccountAsset on max 2023-08-08 13:16:11 +08:00
c9s
5460ebdbf4
max: add margin transfer request 2023-08-08 12:49:05 +08:00
c9s
241ce657c3
binance: remove isMargin check 2023-08-08 12:01:30 +08:00
Edwin
f664ef2262 pkg/exchange: add order event 2023-08-08 11:42:02 +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
8b68354d89 pkg/exchange: add balance snapshot event 2023-08-08 10:04:25 +08:00
Edwin
3e4e46de20 pkg/exchange: to de-pointer the value in WsOpEvent and fix test assertion 2023-08-07 15:59:50 +08:00
Edwin
84fa19afee pkg/exchange: add auth function for ws 2023-08-07 14:58:20 +08:00
Edwin
a6047f629d pkg/exchange: implement bybit stream ping 2023-08-04 18:00:50 +08:00
Edwin
e1bae5dba0 pkg/exchange: implement bybit stream ping 2023-08-02 17:55:20 +08:00
bailantaotao
ae61e10c6a
Merge pull request #1255 from bailantaotao/edwin/query-trades
FEATURE: [bybit] add query trade api
2023-08-01 18:02:29 +08:00
Edwin
4363f0ae7b pkg/exchange: add query trade api 2023-08-01 16:31:49 +08:00
c9s
54e0e1024c
Merge pull request #1254 from c9s/v1.50
merge back v1.50 into main
2023-07-31 20:24:00 +08:00
Edwin
86c643b513 pkx/exchange: fix batch query trade missing time range 2023-07-28 22:54:48 +08:00
bailantaotao
7eb6e402ca
Merge pull request #1252 from bailantaotao/edwin/query-closed-order
FEATURE: [bybit] query closed order
2023-07-28 14:40:38 +08:00
Edwin
d2ad504579 pkg/exchange: add QueryClosedOrders 2023-07-28 10:15:08 +08:00
Edwin
f25ab567eb pkg/exhcange: return err on max queryClosedOrdersByLastOrderID 2023-07-27 18:35:58 +08:00
Edwin
1760a5b8d6 pkg/exchange: try to parse order id to integer 2023-07-27 18:09:43 +08:00
Edwin
d8b8e7f2ac pkg/exchange: rename OpenOrders to Orders 2023-07-27 17:35:33 +08:00
c9s
b02ac837ea
max: handle SelfTradeBidFeeDiscounted 2023-07-27 16:28:54 +08:00
Edwin
574d7c0c74 pkg/exchange: rm redundant prefix 2023-07-27 10:31:24 +08:00
Edwin
5105046053 pkg/exchange: support cancel order 2023-07-26 22:24:20 +08:00
Edwin
151e8d2acf pkg/exchange: support place order for bybit 2023-07-26 21:44:49 +08:00
bailantaotao
3fd66199d7
Merge pull request #1248 from bailantaotao/edwin/add-query-open-orders
pkg/exchange: add QueryOpenOrders API for bybit
2023-07-26 15:12:37 +08:00
c9s
cddb7874ce
maxapi: set user agent 2023-07-26 14:35:33 +08:00
Edwin
6d4deb54cc pkg/exchange: add QueryOpenOrders API for bybit 2023-07-26 14:18:02 +08:00
bailantaotao
ff78637c8f
Merge pull request #1244 from bailantaotao/edwin/add-ticker
FEATURE: support QueryTickers API on bybit
2023-07-25 20:35:56 +08:00
Edwin
b71030c5db pkg: return err if rate limit err 2023-07-25 15:09:57 +08:00
Edwin
ef8d1c7046 pkg/exchange: support QueryTickers API on bybit 2023-07-25 15:02:38 +08:00
c9s
fcca3f6432
types: add fee discounted field to the global trade struct 2023-07-25 14:57:10 +08:00