Commit Graph

9069 Commits

Author SHA1 Message Date
Alan.sung
dbf29f8cd2 add constructor to check url error 2023-09-06 21:21:13 +08:00
Alan.sung
7550ea2be1 refactor okex to future use 2023-09-06 19:14:21 +08:00
bailantaotao
1338499e3f
Merge pull request #1303 from bailantaotao/edwin/add-default-time
FEATURE: set default 30d for closed order batch query
2023-09-06 12:41:47 +08:00
Edwin
da13bb680e pkg/exchange: support unsubscribe for bybit 2023-09-06 12:18:47 +08:00
Edwin
83cdd4e1a4 pkg/exchange: update add reconnect and resubscribe func for stream 2023-09-06 12:18:17 +08:00
Edwin
f5a66baad3 pkg/exchage: set default 30d for closed order batch query 2023-09-05 22:04:16 +08:00
chiahung
db376f8483 FEATURE: use quote quantity if there is QuoteQuantity in trade 2023-09-05 18:28:10 +08:00
bailantaotao
7461b60b6b
Merge pull request #1299 from bailantaotao/edwin/add-server-time
pkg/exchange: add time to SliceOrderBook
2023-09-05 16:36:20 +08:00
kbearXD
79d98e857d
Merge pull request #1295 from c9s/feature/grid2/amount-round-down
FEATURE: round down executed amount to avoid insufficient balance
2023-09-05 14:35:53 +08:00
なるみ
9c104f5776
Merge pull request #1297 from c9s/narumi/reset-profit-stats
FIX: reset profit stats when over given duration in circuit break risk control
2023-09-05 14:00:52 +08:00
narumi
57198cc6b0 fix: reset profit stats when over given duration in circuit break risk control 2023-09-01 18:57:40 +08:00
c9s
8adb0df656
Merge pull request #1298 from c9s/c9s/grid2-fix-recover-active-orders
FIX: [grid2] fix active order recover, add start process delay
2023-09-01 18:48:58 +08:00
c9s
415a28c32b
Merge pull request #1300 from bailantaotao/edwin/fix-okex-bid-ask
pkg/exchange: fix okex bookticker bug
2023-09-01 18:07:59 +08:00
Edwin
412d0e0558 *: fix lint 2023-09-01 17:54:43 +08:00
Edwin
50bfd8ee0e pkg/exchange: add time to SliceOrderBook 2023-09-01 17:54:40 +08:00
Edwin
594ab9cbaf pkg/exchange: fix okex bookticker bug 2023-09-01 17:12:32 +08:00
c9s
e74da87e51
grid2: delay start process by 5s 2023-08-31 17:08:00 +08:00
narumi
52412d9ead refactor: add IsOver to check the since time is over given duration 2023-08-31 14:31:25 +08:00
c9s
f24bd3532c
grid2: add 5s delay and <10seconds jitter 2023-08-31 14:08:33 +08:00
c9s
7de6c3d8e4
grid2: add more update logs 2023-08-31 13:59:44 +08:00
c9s
cb0285544e
add lock to recoverActiveOrders 2023-08-31 13:48:56 +08:00
chiahung
9dc7244d8a FEATURE: round down executed amount to avoid insufficient balance 2023-08-31 12:40:01 +08:00
c9s
2c4b6e8cd1
Merge pull request #1238 from MengShue/add_unit_test_for_okex
TEST: add unit test for okex exchange
2023-08-24 12:44:45 +08:00
Alan.sung
f8ae408fad add continue in err != nil 2023-08-23 16:16:38 +08:00
Alan.sung
26cde5d57c use multierr to handle err return from toGlobalOrder 2023-08-23 15:44:51 +08:00
Alan.sung
a0946fbd42 use lower case in error string and add comment for IOC, FOK 2023-08-22 17:23:16 +08:00
Alan.sung
a4aa9c2eda remove mmp and mmp_post_only 2023-08-22 15:14:18 +08:00
bailantaotao
edfcbb01c0
Merge pull request #1293 from bailantaotao/edwin/fix-quantity-in-buy-market-order
FIX: [bybit] quantity in buy market order
2023-08-22 11:42:08 +08:00
c9s
20bdf191c3
Merge pull request #1290 from c9s/c9s/grid-disconnect-recover
FEATURE: [grid2] update local active orders after re-connected
2023-08-21 18:16:05 +08:00
Edwin
9ee7377f36 pkg/exchange: fix quantity for buy market order 2023-08-21 15:59:13 +08:00
Alan.sung
3dce63710a Fix to fit all reviews last time 2023-08-21 15:31:30 +08:00
Edwin
3ad7075ace pkg/exchange: fix quantity coin unit 2023-08-18 01:08:09 +08:00
c9s
ca698f8a2c
Merge pull request #1291 from c9s/c9s/strategy-deposit2transfer
FIX: [max] Fix QuerySpotAccount method
2023-08-17 17:54:13 +08:00
c9s
ed948b2642
max: fix QuerySpotAccount method return value 2023-08-17 17:42:54 +08:00
c9s
9105ebce78
deposit2transfer: fix err msg 2023-08-17 17:42:05 +08:00
c9s
c91861ca9a
bbgo: add order update time check 2023-08-17 17:31:24 +08:00
c9s
1cadaf9265
bbgo: add mutex lock to ActiveOrderBook 2023-08-17 17:16:27 +08:00
c9s
2669c3a5db
bbgo: check order exists 2023-08-17 16:28:42 +08:00
c9s
dda3f25c61
grid2,bbgo: refactor active order book and update order status when re-connected 2023-08-17 16:26:06 +08:00
bailantaotao
6f4f1ad558
Merge pull request #1287 from bailantaotao/edwin/add-bybit-kline-backtest
FEATURE: [bybit] add kline backtest
2023-08-16 22:08:31 +08:00
bailantaotao
3eeba521f6
Merge pull request #1289 from bailantaotao/edwin/fix-misc-2
FIX: [bybit] fix misc
2023-08-16 22:07:57 +08:00
bailantaotao
b6c9f14dcc
Merge pull request #1285 from bailantaotao/edwin/query-order
FEATURE: [bybit] implement ExchangeOrderQueryService interface
2023-08-16 22:07:36 +08:00
Edwin
6cfbb84bb5 pkg/exchange: fix order id check for the submitted orders 2023-08-16 14:47:35 +08:00
c9s
52f9cbd48d
Merge pull request #1288 from c9s/c9s/strategy-deposit2transfer
FIX: [deposit2transfer] call QuerySpotAccount for getting the spot balance
2023-08-16 12:36:35 +08:00
c9s
5cc09dfb9a
deposit2transfer: improve log format 2023-08-16 12:26:01 +08:00
c9s
252f4fbccc
deposit2transfer: call QuerySpotAccount for getting the spot balance 2023-08-16 12:02:18 +08:00
c9s
874b647191
cmd: document tradeStats binding 2023-08-15 17:54:24 +08:00
Edwin
adf5805de5 compile and update migration package 2023-08-15 17:39:32 +08:00
Edwin
fb5cc41aea migrations: add bybit klines 2023-08-15 17:39:32 +08:00
c9s
5f54c303fb
bitget: fix fixedpoint.Value init value 2023-08-15 16:40:15 +08:00