Commit Graph

105 Commits

Author SHA1 Message Date
edwin
5596589bff pkg/exchange: delete v1 file 2024-08-13 11:14:31 +08:00
edwin
ee04e12210 pkg/exchange: upgrade market trade ws to v2 2024-08-13 11:14:29 +08:00
edwin
b02be2cf70 pkg/exchange: upgrade kline ws to v2 2024-08-13 00:24:51 +08:00
edwin
b562e46c55 pkg/exchange: adjust the time since of unit test 2024-06-11 17:59:45 +08:00
edwin
d75e7eb63f pkg/exchange: rm redundant code 2024-03-14 12:15:40 +08:00
edwin
b1414b583e pkg/exchange: remove the query after place order 2024-03-14 12:15:37 +08:00
edwin
7ed095ede3 pkg/exchange: fix post only order 2024-03-12 18:22:33 +08:00
edwin
e8108800fe pkg/exchange: add test to query trades, cancel orders, closed orders 2024-03-10 16:00:48 +08:00
edwin
71b8665b32 pkg/exchange: add more tests for query open orders 2024-03-06 17:01:49 +08:00
edwin
80661043d9 pkg/exchange: add more tests to place order 2024-03-06 17:00:46 +08:00
edwin
91445807f6 pkg/exchange: add more comments 2024-03-06 14:51:54 +08:00
edwin
51e38cf002 pkg/exchange: support market order on bitget unfilled order conversion 2024-03-06 11:36:47 +08:00
edwin
ceb3091525 pkg/exchange: add tests for query account, place order 2024-03-06 09:57:58 +08:00
edwin
07e288c7df pkg/exchange: add tests for query k line 2024-03-05 17:44:32 +08:00
edwin
76b077d8de pkg/exchange: add tests for query tickers 2024-03-05 17:04:11 +08:00
bailantaotao
8814323fc6
Merge pull request #1556 from c9s/edwin/bitget/test-query-markets
TEST: [bitget] add tests for query markets
2024-03-05 16:14:00 +08:00
edwin
0d690c3d91 pkg/exchange: add tests for query markets 2024-03-05 15:59:04 +08:00
edwin
a392d8d579 pkg: add more logs 2024-03-04 22:40:25 +08:00
edwin
1e35432e21 pkg/exchange: refactor log 2024-02-26 11:40:13 +08:00
c9s
24013a82ab
Merge pull request #1546 from c9s/feat/add-exchange-field-to-market
FEATURE:  add exchange field to types.Market
2024-02-23 18:49:31 +08:00
c9s
4aca676b4d
all: add exchange field to types.Market 2024-02-23 18:36:52 +08:00
bailantaotao
d0ed34c4e1
Merge pull request #1544 from c9s/edwin/bitget/batch-subscribe
FIX: [bitget] batch subscribe channel
2024-02-23 16:07:49 +08:00
edwin
3a18edd5ab pkg/exchange: batch subscribe channel 2024-02-23 15:48:57 +08:00
edwin
5c7509523b pkg/exchange: use new size instead of size 2024-02-23 14:08:35 +08:00
Edwin
caef31d760 pkg/exchange: early return if error 2024-01-09 11:58:43 +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
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
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
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
Edwin
c2724c4f62 pkg/exchange: fix price is zero when order not executed 2023-12-12 17:30:51 +08:00
c9s
c5282a8f9b
bitget: add more debug logs 2023-12-12 16:37:43 +08:00
c9s
b9c4002704
bitget: handle order type limit maker 2023-12-08 15:18:34 +08:00
c9s
214f9fe75e
bitget: improve bitget websocket depth subscription 2023-12-07 17:38:57 +08:00
Edwin
51718b6eb2 pkg/exchnage: add log rate limiter to stream event 2023-11-21 18:01:18 +08:00
Edwin
4f224c1c2a *: fix comments 2023-11-17 12:24:04 +08:00
Edwin
5eb1ddb49a pkg/exchange: fix out-of-index 2023-11-16 13:33:42 +08:00
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