Edwin
|
f0ad014837
|
pkg/exchange: support kline subscriptions
|
2024-01-30 12:17:50 +08:00 |
|
Edwin
|
429036985c
|
pkg/exchange: add new kline stream
|
2024-01-30 10:23:10 +08:00 |
|
Edwin
|
d2b45f5d58
|
pkg/exchange: refactor kline api
|
2024-01-29 20:59:53 +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 |
|
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 |
|
Edwin
|
2e34f7840a
|
pkg/exchange: support market trade streaming
|
2024-01-08 21:27:26 +08:00 |
|
Edwin
|
0b906606fe
|
pkg/exchange: refactor book and kline
|
2024-01-08 10:30:11 +08:00 |
|
Edwin
|
9ad94aa7e0
|
pkg/exchange: add stream test for book
|
2024-01-02 12:02:33 +08:00 |
|
Alan.sung
|
2309bbdee8
|
print local interval in error message
|
2023-10-04 16:24:32 +08:00 |
|
Alan.sung
|
3b793b79b6
|
turn ToGlobalInterval to ToLocalInterval, use Map to turn to local interval
|
2023-10-04 14:23:13 +08:00 |
|
Alan.sung
|
0b5ce231ff
|
fix lint and rename i with in
|
2023-10-04 12:39:30 +08:00 |
|
Alan.sung
|
a83335817e
|
use interval [1m/3m/5m/15m/30m/1H/2H/4H] and [/6Hutc/12Hutc/1Dutc/2Dutc/3Dutc/1Wutc/1Mutc] and add unit test
|
2023-10-04 12:39:30 +08:00 |
|
Alan.sung
|
d200232c13
|
add supported interval for okex
|
2023-10-04 12:38:59 +08:00 |
|
Alan.sung
|
b1c6e01e45
|
use types.StrInt64 for billID and add more comment for QueryTrades() and comment out personal unit test
|
2023-10-03 15:14:49 +08:00 |
|
Alan.sung
|
cc55d67eeb
|
use default limit if not pass AND add more unit test
|
2023-10-03 12:29:30 +08:00 |
|
Alan.sung
|
648b82ead3
|
use NewGetTransactionHistoryRequest for QueryTrades and use billID for pagination
|
2023-10-02 18:47:05 +08:00 |
|
Alan.sung
|
6fd86fefda
|
add unit test for QueryTrade()
|
2023-10-02 10:49:33 +08:00 |
|
Alan.sung
|
3b63858d23
|
handle pagenation for QueryTrade
|
2023-09-27 11:06:41 +08:00 |
|
Alan.sung
|
ad7206271f
|
QueryTrades only allow query by time interval, required
|
2023-09-26 01:06:58 +08:00 |
|
Alan.sung
|
99a69f4f2f
|
add QueryClosedOrders() and QueryTrades() for okex, also fix conflict for QueryOrderTrades() and update typo error in QueryOrderTrades()
|
2023-09-26 01:05:09 +08:00 |
|
c9s
|
a22c41f47d
|
Merge pull request #1307 from MengShue/add_QueryOrderTrades_for_okex
FEATURE: add QueryOrderTrades() for okex
|
2023-09-18 16:14:41 +08:00 |
|
Alan.sung
|
a47c846fa5
|
add QueryOrderTrades() for okex
|
2023-09-14 14:54:02 +08:00 |
|
Edwin
|
e56d8d1607
|
pkg/exchange: emit auth in each exchange
|
2023-09-14 12:01:20 +09:00 |
|
c9s
|
09ed7b141c
|
Merge pull request #1305 from MengShue/refactor_okex_for_future
FEATURE: refactor okex to future use
|
2023-09-07 22:57:29 +08:00 |
|
Alan.sung
|
9a66f82d8c
|
remove err since handling init for client
|
2023-09-07 11:25:12 +08:00 |
|
Alan.sung
|
dbf29f8cd2
|
add constructor to check url error
|
2023-09-06 21:21:13 +08:00 |
|
Alan.sung
|
7550ea2be1
|
refactor okex to future use
|
2023-09-06 19:14:21 +08:00 |
|