Commit Graph

8524 Commits

Author SHA1 Message Date
bailantaotao
8ceadd80f3
Merge pull request #1504 from c9s/edwin/okx/implement-ping-interval
FEATURE: [okx] set ping interval
2024-01-18 09:17:08 +08:00
chiahung.lin
465206afba use cancel api not GracefulCancel in CleanUp 2024-01-17 17:30:37 +08:00
chiahung.lin
44dc5c5a65 remove balance checker 2024-01-17 16:52:04 +08:00
bailantaotao
62c19b4d99
Merge pull request #1502 from c9s/edwin/okx/order-trade-event
REFACTOR: [okx] refactor order trade event by json.Unmarshal
2024-01-17 16:20:17 +08:00
Edwin
80d8c000bc pkg/exchange: set ping interval 2024-01-17 15:58:54 +08:00
chiahung.lin
9836dc603c truncate notional when open position 2024-01-17 15:22:03 +08:00
chiahung.lin
a363377c26 [dca2] new struct profit stats and its recover 2024-01-17 15:22:03 +08:00
bailantaotao
7f9062084b
Merge pull request #1503 from c9s/edwin/okx/push-balance-snapshot
FEATURE: [okx] emit balance snapshot after authenticated
2024-01-17 14:48:37 +08:00
Edwin
c5d2047605 pkg/exchange: emit balance snapshot after authed 2024-01-17 14:15:44 +08:00
Edwin
91913f021c pkg/exchange: refactor order trade event by json.Unmarshal 2024-01-16 15:36:51 +08:00
bailantaotao
735123b3a2
Merge pull request #1501 from c9s/edwin/okx/query-trade
FEATURE: [okx] fix queryTrades and queryOrderTrade api
2024-01-16 09:19:52 +08:00
Edwin
11506fb605 pkg/exchange: fix queryTrades and queryOrderTrade api 2024-01-16 09:10:33 +08:00
bailantaotao
cee61c1cc7
Merge pull request #1500 from c9s/edwin/okx/query-closed-order
FEATURE: [okx] refactor query closed order
2024-01-15 11:59:02 +08:00
Edwin
fa145a3622 pkg/exchange: refactor query closed order 2024-01-15 11:41:17 +08:00
bailantaotao
03449d0c9a
Merge pull request #1498 from c9s/edwin/okx/query-open-orders
FEATURE: [okx] support query open orders
2024-01-14 16:00:12 +08:00
Edwin
228bfba525 pkg/fixedpoint: support "" on fixedpoint.Value.unmarshalJson 2024-01-14 15:52:57 +08:00
Edwin
b352ae855f pkg/exchange: add query open orders 2024-01-14 15:52:54 +08:00
c9s
c01be14c70
max: remove unused var 2024-01-11 15:20:38 +08:00
c9s
68be0badca
max: improve depth parsing speed 2024-01-11 15:20:19 +08:00
c9s
905148a34f
maxapi: use fastjson parser pool 2024-01-11 15:20:06 +08:00
c9s
2bd93b4d25
Merge pull request #1497 from c9s/edwin/okx/cancel-order
FEATURE: [okx] generate cancel order by requestgen
2024-01-11 11:38:31 +08:00
Edwin
373242d306 pkg/exchange: generate cancel order by requestgen 2024-01-11 11:29:04 +08:00
bailantaotao
8eb555619f
Merge pull request #1494 from c9s/edwin/okx/place-order
FEATURE: [okx] generate place order request by requestgen
2024-01-11 10:33:31 +08:00
bailantaotao
9da91304ac
Merge pull request #1496 from c9s/edwin/pkx/fix-sub-events
FEATURE: [okx] support Unsubscription and Resubscription
2024-01-10 20:49:32 +08:00
Edwin
260eef3b0c pkg/exchange: generate place order request by requestgen 2024-01-10 16:17:13 +08:00
kbearXD
4a0c9ca032
Merge pull request #1474 from c9s/kbearXD/dca2/callbacks-and-close
FEATURE: [dca2] add callbacks and shutdown function
2024-01-10 15:10:08 +08:00
chiahung.lin
6e661c805a fix 2024-01-10 14:37:07 +08:00
Edwin
a7aa34c396 pkg/exchange: add comment 2024-01-10 14:07:25 +08:00
Edwin
1dedd32f42 pkg/exchange: support unsubscribe and resubscribe 2024-01-10 13:56:17 +08:00
ShihChi Huang
ce6073b232
Merge pull request #1491 from huang47/doc/README-zh-TW
DOCS: Translate the README into zh_TW
2024-01-09 21:44:04 -08:00
c9s
73056619a5
Merge pull request #1495 from huang47/doc/build-from-source 2024-01-10 13:41:43 +08:00
ShihChi Huang
90ae2330c8 doc: fix frontend path 2024-01-09 21:30:56 -08:00
ShihChi Huang
1786e6f33c DOCS: Translate the README into zh_TW 2024-01-09 21:19:51 -08:00
bailantaotao
08fa1e9e13
Merge pull request #1493 from c9s/edwin/okx/refactor-account
FEATURE: [okx] generate account info request by requestgen
2024-01-09 16:10:51 +08:00
chiahung.lin
d3bc37f45e use CommonCallback and pull PersistenceTTL out 2024-01-09 16:01:10 +08:00
Edwin
9297293a46 pkg/exchange: refactor query account balance 2024-01-09 15:59:05 +08:00
Edwin
a463c02183 pkg/exchange: generate account by requestgen 2024-01-09 15:58:42 +08:00
bailantaotao
c2e3fed6d3
Merge pull request #1492 from c9s/edwin/okx/refactor-tickers
FEATURE: [okx] generate ticker request by requestgen
2024-01-09 15:38:28 +08:00
bailantaotao
0bf1e4ed59
Merge pull request #1489 from c9s/edwin/okx/refactor-account-info
REFACTOR: [okx] refactor account info
2024-01-09 14:45:17 +08:00
Edwin
188b781116 pkg/exchange: add rate limiter to ticker/tickers 2024-01-09 13:57:19 +08:00
Edwin
6d7a01ffae pkg/exchange: generate ticker request by requestgen 2024-01-09 13:57:03 +08:00
bailantaotao
2beec1d6ce
Merge pull request #1490 from c9s/edwin/okx/query-mkts
REFACTOR: [okx] query markets
2024-01-09 13:23:20 +08:00
Edwin
caef31d760 pkg/exchange: early return if error 2024-01-09 11:58:43 +08:00
Edwin
6e160e7a36 pkg/exchange: add rate limiter to QueryMarkets 2024-01-09 11:56:10 +08:00
Edwin
ba5882f7b6 pkg/exchange: generate instrument request by requestgen 2024-01-09 11:55:49 +08:00
Edwin
147b31d81d pkg/exchange: refactor account stream 2024-01-09 10:59:35 +08:00
bailantaotao
a680df2938
Merge pull request #1486 from c9s/edwin/okx/add-market-trade-stream
FEATURE: [okx] support market trade streaming
2024-01-09 10:58:24 +08:00
c9s
c36975e5c8
Merge pull request #1488 from c9s/c9s/autoborrow-repay-slack-mention
FEATURE: [autoborrow] add margin repay alert
2024-01-09 10:08:24 +08:00
c9s
2ff74a5f86
autoborrow: add repaid alert 2024-01-09 09:59:53 +08:00
c9s
f33ed6a527
Merge pull request #1485 from c9s/narumi/xgap/improve-log
CHORE: [xgap] print currency when insufficient balance
2024-01-09 00:53:16 +08:00