Commit Graph

7691 Commits

Author SHA1 Message Date
chiahung
c257bc8ccf sleep 100ms to avoid DDOS 2023-10-17 13:51:51 +08:00
chiahung
5ff3828ec1 move to onAuth 2023-10-16 16:02:43 +08:00
c9s
d50e50991e
Merge pull request #1342 from c9s/improve/pivot-right-window-usage
CHORE: make rightWindow possible to be set as zero
2023-10-16 12:51:21 +08:00
c9s
dfa3f7d4c4
indicator: make right window optional 2023-10-16 12:40:44 +08:00
c9s
4c69dccf09
make rightWindow possible to be set as zero 2023-10-16 12:36:52 +08:00
narumi
badadafa2d remove adjustQuantity from config 2023-10-13 18:11:21 +08:00
chiahung
c5449374cd add test and remove recovered atmoic bool 2023-10-13 16:50:59 +08:00
chiahung
de1a884153 not add non existing open orders into active orderbook if updated in 5 min 2023-10-13 16:50:21 +08:00
chiahung
136c2cd36f add open orders metrics 2023-10-13 16:50:21 +08:00
chiahung
c6d4ebf57b also sync orders already in active orderbook if the open orders are expired 2023-10-13 16:50:21 +08:00
c9s
a39925b912 grid2: invert if 2023-10-13 16:50:21 +08:00
c9s
5f9d020ac8 grid2: improve some logging 2023-10-13 16:50:21 +08:00
c9s
1347c8ef87 grid2: refactor recoverActiveOrdersPeriodically 2023-10-13 16:50:21 +08:00
chiahung
27294ac9b6 FIX: fix some error and use chan to trigger active orders recover when on auth 2023-10-13 16:50:21 +08:00
chiahung
4c9b1e78fe remove checker 2023-10-13 16:50:21 +08:00
chiahung
ca80bdb282 FEATURE: recover active orders with open orders periodically 2023-10-13 16:50:20 +08:00
bailantaotao
fb110a1d5b
Merge pull request #1339 from bailantaotao/edwin/support-200-depth
FEATURE: [BYBIT] support order book depth 200 on bybit
2023-10-12 21:16:56 -05:00
なるみ
42748d7654
Merge pull request #1340 from c9s/narumi/xfixedmaker/config
CHORE: update xfixedmaker config for backtest
2023-10-12 19:47:19 +08:00
c9s
20df2ef3c8
Merge pull request #1335 from c9s/c9s/feature/private-channels
FEATURE: add custom private channel support to max
2023-10-12 17:20:06 +08:00
narumi
69b38fc304 update xfixedmaker config 2023-10-12 14:49:48 +08:00
Edwin
ef582f6e52 pkg/exchange: support order book depth 200 on bybit 2023-10-12 11:11:26 +08:00
c9s
d617bf8ae5
Merge pull request #1338 from c9s/fix/add-grid2-max-retires
FIX: [grid2] set max retries to 5
2023-10-11 17:44:24 +08:00
c9s
a0a7b0ffdc
grid2: set max retries 2023-10-11 17:33:07 +08:00
なるみ
0a3baea316
Merge pull request #1337 from c9s/narumi/rename-random
REFACTOR: rename randomtrader to random
2023-10-11 16:01:36 +08:00
narumi
a8d678a544 rename randomtrader to random 2023-10-11 15:52:10 +08:00
c9s
2f65793522
Merge pull request #1327 from c9s/narumi/fix-position-risk
FIX: Fix duplicate orders caused by position risk control
2023-10-11 15:43:26 +08:00
c9s
10be0ec62a
Merge pull request #1331 from c9s/narumi/fixedmaker/x
FEATURE: add xfixedmaker strategy
2023-10-11 15:43:05 +08:00
なるみ
a7042c537e
Merge pull request #1336 from c9s/narumi/randtrader
FEATURE: add randomtrader strategy
2023-10-11 15:42:51 +08:00
narumi
4a6f6f7a5a add backtest config 2023-10-11 12:14:34 +08:00
narumi
d8ff42d531 Fix duplicate orders caused by position risk control 2023-10-11 12:13:01 +08:00
narumi
81ea074b4f check balances 2023-10-07 16:34:22 +08:00
narumi
a0efa2769d add randtrader strategy 2023-10-07 12:36:32 +08:00
narumi
a40488b0a3 add xfixedmaker strategy 2023-10-06 12:58:47 +08:00
c9s
a13c65ef1d
Merge pull request #1332 from MengShue/add_supported_interval
FEATURE: add supported interval for okex
2023-10-05 21:47:51 +08:00
c9s
e01d89d619
Merge pull request #1232 from zenixls2/feature/forceOrder
feature: add forceOrder api for binance to show liquid info
2023-10-05 21:46:49 +08:00
zenix
590e1648eb fix: use MillisecondTimestamp instead 2023-10-05 16:16:27 +09:00
c9s
378425a3aa
bbgo: add balance logger support 2023-10-04 18:02:19 +08:00
c9s
78ea940569
max: support private channel setter 2023-10-04 18:02:18 +08:00
Alan.sung
2309bbdee8 print local interval in error message 2023-10-04 16:24:32 +08:00
c9s
42d2ffd502
Merge pull request #1334 from c9s/c9s/max-http-transport
CHORE: [maxapi] change default http transport settings
2023-10-04 15:28:18 +08:00
c9s
4700e754a8
maxapi: change default http transport settings 2023-10-04 15:17:22 +08:00
Alan.sung
3b793b79b6 turn ToGlobalInterval to ToLocalInterval, use Map to turn to local interval 2023-10-04 14:23:13 +08:00
Alan.sung
0b5ce231ff fix lint and rename i with in 2023-10-04 12:39:30 +08:00
Alan.sung
a83335817e use interval [1m/3m/5m/15m/30m/1H/2H/4H] and [/6Hutc/12Hutc/1Dutc/2Dutc/3Dutc/1Wutc/1Mutc] and add unit test 2023-10-04 12:39:30 +08:00
Alan.sung
d200232c13 add supported interval for okex 2023-10-04 12:38:59 +08:00
なるみ
f50d81950a
Merge pull request #1330 from c9s/narumi/fixedmaker/remove-atr
REFACTOR: Make fixedmaker simpler
2023-10-04 12:38:49 +08:00
c9s
32b8ca9a41
Merge pull request #1312 from MengShue/add_two_new_receiver_for_okex
FEATURE: add QueryClosedOrders() and QueryTrades() for okex
2023-10-04 12:14:32 +08:00
Alan.sung
b1c6e01e45 use types.StrInt64 for billID and add more comment for QueryTrades() and comment out personal unit test 2023-10-03 15:14:49 +08:00
Alan.sung
cc55d67eeb use default limit if not pass AND add more unit test 2023-10-03 12:29:30 +08:00
Alan.sung
648b82ead3 use NewGetTransactionHistoryRequest for QueryTrades and use billID for pagination 2023-10-02 18:47:05 +08:00