Commit Graph

71 Commits

Author SHA1 Message Date
c9s
b8b5ccdd2d kucoin: refactor account service with requestgen 2021-12-31 01:25:04 +08:00
c9s
ba73d5a09a fix kucoin orderTime parsing and order id conversion 2021-12-30 22:02:50 +08:00
c9s
76d31e7614 kucoin: add client order ID to converter 2021-12-30 21:39:50 +08:00
c9s
844b3c2e8e fix kucoin context issue 2021-12-30 15:58:58 +08:00
c9s
f540742b42 add tradeType field 2021-12-30 02:37:17 +08:00
c9s
3cf499b605 kucoin: rewrite GetAllTickersRequest api 2021-12-30 02:33:07 +08:00
c9s
0fc91500e4 kucoin: rewrite GetTickerRequest with requestgen 2021-12-30 02:22:33 +08:00
c9s
5136001c9b kucoin: rewrite ListSymbolsRequest 2021-12-30 02:17:03 +08:00
c9s
41435458d1 refactor orderbook requests with requestgen 2021-12-30 01:15:19 +08:00
c9s
2c0af99a51 rewrite kucoin bullet api with requestgen 2021-12-29 22:06:21 +08:00
c9s
1fa03cdfd6 xmaker: add back profit function 2021-12-27 02:59:55 +08:00
c9s
e44390b655 kucoin: add more comment 2021-12-26 03:19:03 +08:00
c9s
9b8995acea fix supportedIntervals map 2021-12-26 03:17:26 +08:00
c9s
8bf5c5f778 fix kline sync query 2021-12-26 03:14:19 +08:00
c9s
a5c7ffa134 kucoin: add the missing 5min kline convert 2021-12-26 03:07:49 +08:00
c9s
4c263dd205 fix batch kline sync 2021-12-26 03:04:21 +08:00
c9s
b79ab5d68d kucoin: fix kline query param 2021-12-26 02:39:44 +08:00
c9s
1da0c8e755 kucoin: implement QueryKLines and fix interval conversion 2021-12-26 02:23:06 +08:00
c9s
e3181202db kucoin: implement QueryTrades 2021-12-26 01:44:05 +08:00
c9s
8c03147ff4 kucoin: implement QueryClosedOrders 2021-12-26 01:34:03 +08:00
c9s
0cef2c52ef all: improve cancel command and add uuid field to order struct 2021-12-26 01:27:22 +08:00
c9s
471d86c801 kucoin: implement order submit 2021-12-26 00:27:52 +08:00
c9s
50fac9d491 kucoin: pull out queryDepth method to exchange 2021-12-25 23:53:34 +08:00
c9s
5f9753b281 kucoin: convert symbol to global symbol 2021-12-25 19:35:08 +08:00
c9s
f0d4236169 all: fix and improve kucoin orderbook stream 2021-12-25 19:34:27 +08:00
c9s
ed6f400161 implement UnixMilli in the util package 2021-12-23 22:20:47 +08:00
c9s
d433c7f5b1 kucoin: replace UnixMilli 2021-12-23 21:09:40 +08:00
c9s
e76dd1cbc4 kucoin: fix kline parsing and subscription 2021-12-23 17:49:18 +08:00
c9s
562c287a4e all: move publicOnly to StandardStream 2021-12-23 17:49:18 +08:00
c9s
8e834ce8fe kucoin: convert websocket trade and order 2021-12-23 17:49:18 +08:00
c9s
74b09551b5 kucoin: record kucoin json as files 2021-12-23 17:49:18 +08:00
c9s
838bc69f65 kucoin: reformat testdata json 2021-12-23 17:49:18 +08:00
c9s
6330a1845d kucoin: connecting stream callbacks 2021-12-23 17:49:18 +08:00
c9s
449434da4c kucoin: generate callback methods 2021-12-23 17:49:18 +08:00
c9s
911574d8d6 kucoin: parse websocket messages 2021-12-23 02:50:56 +08:00
c9s
cec4b3dd1e add websocket message parser 2021-12-23 02:50:56 +08:00
c9s
3fb2e12c24 kucoin: add websocket types 2021-12-23 02:50:56 +08:00
c9s
1a3f9ed4b2 kucoin: use returned ping interval instead of default 2021-12-23 02:50:56 +08:00
c9s
730ce31e67 kucoin: implement NewStream 2021-12-23 02:50:56 +08:00
c9s
0a9575aaca kucoin: pull out ping worker 2021-12-23 02:50:56 +08:00
c9s
92076878cd kucoin: refactor ping worker 2021-12-23 02:50:56 +08:00
c9s
b0d4688528 kucoin: implement getEndpoint method 2021-12-23 02:50:56 +08:00
c9s
a4c9aea6c6 kucoin: refactor bullet url code 2021-12-23 02:50:56 +08:00
c9s
6cbccc9a3f kucoin: add websocket command 2021-12-23 02:50:56 +08:00
c9s
4303342841 kucoin: export ApiClient interface methods 2021-12-23 02:50:56 +08:00
c9s
c390bbc31d add generated files 2021-12-23 02:50:56 +08:00
c9s
2230b484a8 kucoin: add bullet service 2021-12-23 02:50:56 +08:00
c9s
7f92588883 kucoinapi: refactor api client 2021-12-23 02:50:56 +08:00
c9s
c8dd02335b kucoin: refactor and clean up 2021-12-23 02:50:56 +08:00
c9s
388cfe0854 kucoin: fix go 1.17 compatibility issue 2021-12-22 01:45:07 +08:00