Commit Graph

1344 Commits

Author SHA1 Message Date
c9s
e6f911380d
max: set max websocket book default level 2024-01-24 13:52:49 +08:00
Edwin
7841813fe0 pkg/exchange: fix okx query open order time param 2024-01-23 14:26:40 +08:00
Edwin
ac649b3bd4 pkg/exchange: add cash trade mode to place order req 2024-01-18 14:13:38 +08:00
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
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
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
Edwin
11506fb605 pkg/exchange: fix queryTrades and queryOrderTrade api 2024-01-16 09:10:33 +08:00
Edwin
fa145a3622 pkg/exchange: refactor query closed order 2024-01-15 11:41:17 +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
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
Edwin
260eef3b0c pkg/exchange: generate place order request by requestgen 2024-01-10 16:17:13 +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
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
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
Edwin
2e34f7840a pkg/exchange: support market trade streaming 2024-01-08 21:27:26 +08:00
c9s
11309ac8c8
Merge pull request #1487 from c9s/c9s/bitget-ignore-offline-symbols
FIX: [bitget] ignore offline symbols
2024-01-08 18:19:01 +08:00
c9s
e358da10dd
bitget: log symbol status 2024-01-08 18:13:26 +08:00
c9s
cfe3b6466c
update bitget v2 get_symbols_request_requestgen 2024-01-08 17:47:52 +08:00
c9s
33deaea6e5
bitget: bitget ignore offline symbols 2024-01-08 17:46:09 +08:00
Edwin
0b906606fe pkg/exchange: refactor book and kline 2024-01-08 10:30:11 +08:00
c9s
6e03626b36
Merge pull request #1476 from c9s/edwin/okx/add-streaming-test
CHORE: [okex] add stream test for book
2024-01-03 16:37:12 +08:00
bailantaotao
769d3ce2d8
Merge pull request #1456 from c9s/edwin/bitget/get-account-assets
FEATURE: [bitget] get account assets
2024-01-03 13:01:35 +08:00
Edwin
b5ff066aa2 pkg/exchange: print symbol 2024-01-03 11:30:50 +08:00
Edwin
30164acdcf pkg/exchange: use v2 get account asset api 2024-01-03 11:25:46 +08:00
Edwin
9ad94aa7e0 pkg/exchange: add stream test for book 2024-01-02 12:02:33 +08:00
chiahung.lin
bfd9c8ac64 FEATURE: run state machine
FEATURE: support recover

FEATURE: add order into orderStore and recover position

recover position/budget

FEATURE: support recover budget
2023-12-20 16:02:37 +08:00
c9s
841229518a
bitget: add more debug logs for orderEvent and tradeEvent 2023-12-18 16:31:04 +08:00
c9s
038d180711
bitget: check bitget websocket trade id and order status 2023-12-18 14:44:33 +08:00
Edwin
c5decf9bf8 pkg/exchange: support v2 get asset api 2023-12-18 12:17:49 +08:00
c9s
2c7e42922b
Merge pull request #1429 from c9s/edwin/bybit/get-fee-rate-on-private-stream-only 2023-12-13 18:50:19 +08:00
Edwin
29550f0013 pkg/exchange: we don't need the fee rate in the public stream 2023-12-13 13:53:58 +08:00
c9s
6cbb17fb76
all: refactor log formatter functions 2023-12-13 09:47:18 +08:00
c9s
f3ce4c2cc6
bitget: refactor debug function tool 2023-12-13 09:28:34 +08:00
c9s
b022a6119f
bitget: add bitget log prefix 2023-12-13 09:28:34 +08:00