Commit Graph

61 Commits

Author SHA1 Message Date
Edwin
93f8b79b69 pkg/exchange: use GTC if time-in-force empty 2023-11-16 13:33:17 +08:00
Edwin
6d39c9a5d1 pkg/exchange: use the now - 90 days instead of return err if since is 90 days earlier 2023-11-15 22:22:55 +08:00
Edwin
687ffe985c pkg/exchange: use time.Time instead of int64 to represent time 2023-11-15 22:20:26 +08:00
Edwin
cf527a6f05 pkg/exchange: make the CTime and UTime to qualified name 2023-11-15 17:16:07 +08:00
Edwin
4f94f7acc0 pkg/exchange: implement order trade user stream 2023-11-15 17:16:05 +08:00
bailantaotao
580c6d2030
Merge pull request #1417 from c9s/edwin/skip-ping-pong-event
REFACTOR: [stream] skip pong event on emitting raw message
2023-11-14 20:49:13 +08:00
bailantaotao
43c50b46a6
Merge pull request #1415 from c9s/edwin/bitget/use-v2-tickers
FEATURE: [bitget] use v2 tickers
2023-11-14 20:48:52 +08:00
Edwin
562f85af75 pkg/exchange: rename v2Client -> v2client 2023-11-14 20:42:11 +08:00
Edwin
5808e0184b pkg/types: skip pong event on emitting raw message 2023-11-14 20:41:07 +08:00
bailantaotao
8ca8e4c946
Merge pull request #1416 from c9s/edwin/bitget/add-restful-api-validator
FEATURE: [bitget] add response validator
2023-11-14 20:38:15 +08:00
Edwin
53bce6d5c1 pkg/exchange: use v2 query ticker 2023-11-14 15:40:45 +08:00
Edwin
737f2fc86d pkg/exchange: add response validator 2023-11-14 15:26:07 +08:00
Edwin
5e5b8e1388 pkg/exchange: use v2 symbols 2023-11-14 14:35:16 +08:00
Edwin
eb04eaeea4 pkg/exchange: types.kline end time should -1 time.Millisecond 2023-11-14 14:21:31 +08:00
Edwin
755ea5e427 pkg/exchange: implement query kline api 2023-11-14 14:21:29 +08:00
bailantaotao
784030821e
Merge pull request #1406 from c9s/edwin/bitget/add-balance-event
FEATURE: [bitget]add balance event
2023-11-14 11:12:41 +08:00
c9s
38507f4dd1
bitget: add channel api code 2023-11-11 07:59:44 +08:00
Edwin
f49b14ac45 pkg/exchange: add balance event 2023-11-10 22:35:39 +08:00
Edwin
6c96d12d99 pkg/exchange: add login method 2023-11-10 21:56:18 +08:00
Edwin
639947c8b7 pkg/exchange: support cancel order 2023-11-10 16:41:42 +08:00
Edwin
a26b158230 pkg/exchange: support query trades 2023-11-10 16:31:15 +08:00
Edwin
cb5e305fed pkg/exchange: support submit order 2023-11-10 15:47:44 +08:00
Edwin
3978fca27d pkg/exchange: support query closed orders 2023-11-09 09:26:59 +08:00
bailantaotao
e70c04cb65
Merge pull request #1392 from c9s/edwin/bitget/QueryOpenOrders
FEATURE: [bitget] add query open orders
2023-11-09 09:11:32 +08:00
Edwin
2d650cd1d9 pkg/exchange: add defensive program to ensure the order length is expected 2023-11-08 22:08:21 +08:00
Edwin
f595cc9cc0 pkg/exchange: add query open orders 2023-11-06 23:40:22 +08:00
bailantaotao
d758efc9ff
Merge pull request #1380 from bailantaotao/edwin/bitget/add-kline
FEATURE: [bitget] support kline subscription on stream
2023-11-01 19:32:14 +08:00
Edwin
00d4805321 pkg/exchange: add query tickers api 2023-11-01 16:14:21 +08:00
Edwin
2cea089404 pkg/exchange: add rate limiter for query ticker, account 2023-11-01 13:20:46 +08:00
Edwin
102b662f7c pkg/exchange: support kline subscription on stream 2023-11-01 11:56:58 +08:00
Edwin
4bc177f21b pkg/exchange: refactor get symbol api 2023-10-31 14:48:40 +08:00
Edwin
39c3d23da3 pkg/exchange: support ping/pong 2023-10-27 16:45:41 +08:00
Edwin
a18b1be44e pkg/exchange: support market trade stream on bitget 2023-10-20 16:42:09 +08:00
bailantaotao
f8c47f72bf
Merge pull request #1344 from bailantaotao/edwin/bitget/public-stream-book
FEATURE: [bitget] support book stream on bitget
2023-10-20 14:22:42 +08:00
Edwin
51d86ca059 pkg/exchange, types: support book stream on bitget 2023-10-19 15:40:32 +08:00
c9s
5f54c303fb
bitget: fix fixedpoint.Value init value 2023-08-15 16:40:15 +08:00
c9s
4a64701e16
bitget: implement QueryAccount 2023-08-15 16:38:48 +08:00
c9s
40762cad35
bitget: implement QueryTicker 2023-08-15 16:38:48 +08:00
c9s
2fda4477bd
bitget: implement QueryMarkets 2023-08-15 16:38:47 +08:00
c9s
844bd8be87
bitget: add account transfers request 2023-07-17 16:38:42 +08:00
c9s
2fe915f73a
types: add MarshalJSON method on strint64 2023-05-18 18:08:40 +08:00
c9s
b32d890860
bitgetapi: add GetFillsRequest 2023-05-18 15:59:16 +08:00
c9s
fce281b6a8
bitgetapi: add GetOrderHistoryRequest 2023-05-18 15:47:58 +08:00
c9s
312c8baeb3
bitget: add open orders request 2023-05-18 15:38:57 +08:00
c9s
ae1c1377ce
bitget: define OrderStatus 2023-05-18 15:37:01 +08:00
c9s
90f704bab0
bitgetapi: add get order detail request 2023-05-18 15:22:50 +08:00
c9s
51e05499b2
bitgetapi: add CancelOrderBySymbolRequest 2023-05-18 11:59:49 +08:00
c9s
0c887a6bfb
bitgetapi: add place order request api 2023-05-18 11:23:30 +08:00
c9s
a5a64fa6d4
bitgetapi: add getDepthRequest 2023-05-18 11:13:06 +08:00
c9s
cff98bc141
bitgetapi: refactor tests 2023-05-18 10:54:00 +08:00