Commit Graph

8179 Commits

Author SHA1 Message Date
c9s
da3150e288
Merge pull request #1424 from c9s/c9s/start-up-balance-query
IMPROVE: improve startup balance query process
2023-11-20 17:30:30 +08:00
c9s
c360c6045c
bbgo: call retry.QueryAccountUntilSuccessful in the startup time 2023-11-20 16:20:39 +08:00
c9s
7c59e3ddc4
bbgo: add setAccount for account mutex protection 2023-11-20 16:15:33 +08:00
c9s
3ea333fd52
bbgo: add DisableStartupBalanceQuery option 2023-11-20 16:14:09 +08:00
chiahung.lin
ce76ad3c03 use OrderByType 2023-11-20 15:32:04 +08:00
なるみ
08a09c2fee
Merge pull request #1408 from c9s/narumi/wise 2023-11-17 19:48:08 +08:00
c9s
8f7c22b0f9
Merge pull request #1423 from c9s/c9s/improve-trade-buffer-mem-size 2023-11-17 19:45:55 +08:00
c9s
eac0195815
bbgo: truncate trade buffer if it gets too large 2023-11-17 17:15:08 +08:00
c9s
c248b2a323
bbgo: remove local trade snapshot from db 2023-11-17 17:15:08 +08:00
c9s
e5033c093a
grid2: check order's original status for updating 2023-11-17 17:14:52 +08:00
c9s
5795a71111
binance,max: store original order status into the order struct 2023-11-17 17:14:52 +08:00
c9s
b307275e60
types: add order.originalStatus 2023-11-17 17:14:52 +08:00
c9s
fe9dc9a79d
bbgo: change pending update log level to info 2023-11-17 16:57:48 +08:00
c9s
3cfc810f8d
max: group the request building statement 2023-11-17 16:57:47 +08:00
c9s
d5fe13272e
service: log sync start time 2023-11-17 16:57:47 +08:00
c9s
f223703247
max: force type check on max.Exchange 2023-11-17 16:57:47 +08:00
bailantaotao
afc864dfc4
Merge pull request #1419 from c9s/edwin/bitget/fix-xmaker-error
FIX: [bitget] use the now - 90 days instead of return err if since is 90 days earlier
2023-11-17 16:54:28 +08:00
chiahung.lin
592cdede66 FEATURE: use new max v3 api to query closed orders by timestamp 2023-11-17 16:21:20 +08:00
Edwin
f46ca57bb2 pkg/types: refactor exchange name 2023-11-17 16:15:56 +08:00
Edwin
4f224c1c2a *: fix comments 2023-11-17 12:24:04 +08:00
Edwin
34a844c039 readme: update bitget, bybit to supported list 2023-11-16 14:01:45 +08:00
Edwin
a074f8c57a pkg/types: support bitget, bybit on exhcange unmrashal 2023-11-16 14:00:59 +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
bailantaotao
579e8b0ae5
Merge pull request #1412 from c9s/edwin/bitget/add-order-event
FEATURE: [bitget] implement order, trade user stream
2023-11-15 21:32:16 +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
narumi
b0476e40ed go mod tidy 2023-11-15 15:50:39 +08:00
narumi
fdc4c12ac1 add wise rate api 2023-11-15 15:50:39 +08:00
Edwin
720fe2e12e pkg/bbgo, pkg/types: add new interface PrivateChannelSymbolSetter 2023-11-15 10:47:16 +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
bailantaotao
beb20a8e57
Merge pull request #1413 from c9s/edwin/bitget/use-v2-symbols
FEATURE: [bitget] use v2 symbols
2023-11-14 20:19:27 +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
bailantaotao
868d48b3b1
Merge pull request #1410 from c9s/edwin/bitget/query-kline
FEATURE: [bitget] Add query kline
2023-11-14 14:32:54 +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
bailantaotao
594ad89c67
Merge pull request #1409 from c9s/edwin/bybit/pint-log
CHORE: [bybit] print fee rate log
2023-11-13 12:28:55 +08:00
Edwin
ef280077cd pkg/exchange: print fee rate log 2023-11-13 11:53:41 +08:00
c9s
6fed3ef5f4
Merge pull request #1407 from c9s/feature/environment-config
FEATURE:  add environment config for disabling some klines defaults
2023-11-11 13:18:38 +08:00
c9s
38507f4dd1
bitget: add channel api code 2023-11-11 07:59:44 +08:00
c9s
b28b5e4097
bbgo: add environment config for disabling some klines defaults 2023-11-11 07:42:29 +08:00