Commit Graph

7798 Commits

Author SHA1 Message Date
Edwin
e9d0ce5bbf pkg/exchage: support k line rest api 2023-08-10 11:07:10 +08:00
c9s
ecc0928ef5
Merge pull request #1281 from c9s/c9s/strategy-deposit2transfer
FIX: [deposit2transfer] add lastAssetDepositTimes for immediate success deposits
2023-08-09 16:41:29 +08:00
c9s
6103a9350f
deposit2transfer: add lastAssetDepositTimes for immediate success deposits 2023-08-09 15:54:28 +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
Alan.sung
1c5d2dc759 add QueryOrder in okex exchange.go 2023-08-09 15:05:26 +08:00
c9s
43cd25c9f9
Merge pull request #1278 from c9s/c9s/strategy-deposit2transfer
FEATURE: [max] update deposit states and add more fields to deposit
2023-08-09 14:09:25 +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
bailantaotao
42bec972c1
Merge pull request #1276 from bailantaotao/edwin/add-order-info
pkg/exchange: add order event
2023-08-08 14:58:30 +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
ece8cacd9e
deposit2transfer: use watchingDeposits instead of just deposits 2023-08-08 12:38:59 +08:00
c9s
4a28843a0a
deposit2transfer: fix mutex lock 2023-08-08 12:38:23 +08:00
c9s
073c4562fd
deposit2transfer: refactor deposit check and add more logs 2023-08-08 12:23:17 +08:00
c9s
29727c12be
add deposit2transfer config 2023-08-08 12:14:14 +08:00
c9s
423cb27288
deposit2transfer: add more log messages 2023-08-08 12:08:14 +08:00
c9s
241ce657c3
binance: remove isMargin check 2023-08-08 12:01:30 +08:00
c9s
c7845477b4
deposit2transfer: remove binance spot struct field 2023-08-08 11:58:36 +08:00
c9s
33b3d0ff57
types: use consistent receiver for MarginSettings 2023-08-08 11:48:06 +08:00
Edwin
f664ef2262 pkg/exchange: add order event 2023-08-08 11:42:02 +08:00
bailantaotao
5349e5afbe
Merge pull request #1274 from bailantaotao/edwin/add-account-info
FEATURE: [bybit] add balance snapshot event
2023-08-08 11:41:02 +08:00
c9s
c55a6a46af
deposit2transfer: check confirmation for deposits 2023-08-08 11:20:17 +08:00
c9s
4c4b9db47a
types,binance: add confirmation and unlockConfirm fields to Deposit 2023-08-08 11:20:17 +08:00
c9s
5f40dfa462
deposit2transfer: scan deposit history 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
c9s
0c6b68c4f6
add deposit2transfer strategy 2023-08-08 11:20:17 +08:00
c9s
85201d0b57
Merge pull request #1271 from c9s/c9s/strategy-convert
REFACTOR: apply market.GreaterThanMinimalOrderQuantity on both convert and xalign
2023-08-08 11:14:08 +08:00
Edwin
8b68354d89 pkg/exchange: add balance snapshot event 2023-08-08 10:04:25 +08:00
bailantaotao
adcd4d7458
Merge pull request #1273 from bailantaotao/edwin/add-userdatastream-account
FEATURE: [bybit] add auth func in WebSocket
2023-08-08 10:03:15 +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
bailantaotao
a8697abf93
Merge pull request #1268 from bailantaotao/edwin/stream-query-book
FEATURE: [bybit] implement order book streaming
2023-08-07 11:29:10 +08:00
c9s
c3cce05bdd
xalign: apply market.GreaterThanMinimalOrderQuantity on xalign 2023-08-05 16:49:25 +08:00
c9s
8b6a8aeb7b
convert: move moq check/adjustment to types.Market 2023-08-05 16:39:03 +08:00
c9s
ce8063654d
tradingutil: add test on CollectTradeFee 2023-08-05 16:38:46 +08:00
c9s
616e9397d4
Merge pull request #1270 from c9s/c9s/strategy-convert
FEATURE: [strategy] Add convert strategy
2023-08-05 02:46:56 +08:00
c9s
4d293121d7
convert: fix pending quantity collector with trade query 2023-08-05 02:37:53 +08:00
c9s
bc8fe22e70
convert: fix collectPendingQuantity and use graceful order cancel 2023-08-05 02:15:16 +08:00
c9s
71186b6794
update readme 2023-08-05 02:02:30 +08:00
c9s
4982a858a0
config: update convert strategy sample config 2023-08-05 02:00:35 +08:00
c9s
430b22f5e9
cmd: register convert strategy 2023-08-05 02:00:22 +08:00
c9s
951672fc82
improve cancelOrders method 2023-08-05 02:00:07 +08:00