Commit Graph

5745 Commits

Author SHA1 Message Date
c9s
8f5f5dfeed
bbgo: add executed quantity check when order status is OrderStatusPartiallyFilled 2023-11-24 19:00:51 +08:00
kbearXD
75b8be5e17
Merge pull request #1405 from c9s/chiahung/grid2/use-rest-quote
FIX: [grid2] use rest quote to place the last order when opening grid
2023-11-23 12:46:53 +08:00
kbearXD
9722c3eb49
Merge pull request #1421 from c9s/feature/maxapi/get-closed-orders
FEATURE: use new max v3 api to query closed orders by timestamp
2023-11-23 12:46:30 +08:00
Edwin
dbac45aa76 pkg/util: rm retry 2023-11-21 18:01:21 +08:00
Edwin
87d763598f pkg/exchange: use backoff retry 2023-11-21 18:01:21 +08:00
Edwin
51718b6eb2 pkg/exchnage: add log rate limiter to stream event 2023-11-21 18:01:18 +08:00
chiahung
7cb8da08cd use asc as order by to query closed orders 2023-11-21 17:14:33 +08:00
chiahung
102eb61188 remove unused log 2023-11-21 17:06:20 +08:00
c9s
ae3f3e1f70
bump version to v1.54.0 2023-11-20 17:32:20 +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
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
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
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
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
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
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
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