Commit Graph

4183 Commits

Author SHA1 Message Date
c9s
3da86ab2e1
grid2: pull out check code to checkRequiredInvestmentByQuantity 2022-12-02 00:09:59 +08:00
c9s
cde463e294
grid2: remove notionalModifier 2022-12-02 00:09:59 +08:00
c9s
fa692d835f
grid2: add totalFee field and volume field 2022-12-02 00:09:59 +08:00
c9s
7fec736e7a
grid2: add GridProfitStats 2022-12-02 00:09:59 +08:00
c9s
4c8db08ccc
grid2: fix require quote and require base calculation 2022-12-02 00:09:59 +08:00
c9s
2c373959a8
grid2: add investment check 2022-12-02 00:09:59 +08:00
c9s
68b1fce634
grid2: get the last trade price and apply generalOrderExecutor 2022-12-02 00:09:59 +08:00
c9s
a42c1799e2
grid2: define PinCalculator type 2022-12-02 00:09:58 +08:00
c9s
a8cbe0e488
grid2: pull out calculate pins call 2022-12-02 00:09:58 +08:00
c9s
32b6299b93
grid2: pull out CalculatePins 2022-12-02 00:09:58 +08:00
c9s
1fa5186002
grid2: allocate grid object 2022-12-02 00:09:58 +08:00
c9s
84c3d386ca
grid2: implement find next higher/lower pin 2022-12-02 00:09:58 +08:00
c9s
629cea0f44
grid2: fix ExtendUpperPrice and its tests 2022-12-02 00:09:58 +08:00
c9s
4fb2230e5d
grid2: improve number func 2022-12-02 00:09:58 +08:00
c9s
f46fc7ee80
grid2: fix tests 2022-12-02 00:09:58 +08:00
c9s
4ddbeff7e4
grid2: fix Test_calculateArithmeticPins 2022-12-02 00:09:58 +08:00
c9s
f98c00b7aa
grid2: fix extendLowerPrice method and tests 2022-12-02 00:09:58 +08:00
c9s
75c088eb9c
refactor calculateArithmeticPins 2022-12-02 00:09:58 +08:00
c9s
725c624281
grid2: rewrite ExtendUpperPrice 2022-12-02 00:09:58 +08:00
c9s
533587ffd2
grid2: update lowerPrice 2022-12-02 00:09:58 +08:00
c9s
d6f751c027
grid2: improve ExtendLowerPrice 2022-12-02 00:09:58 +08:00
c9s
e675a084e2
grid2: refactor spread, height methods 2022-12-02 00:09:58 +08:00
c9s
2761cff2bf
grid2: add pin tests 2022-12-02 00:09:57 +08:00
c9s
21a1d550e3
grid2: add grid struct 2022-12-02 00:09:57 +08:00
c9s
cb612a22b1
add grid2 strategy 2022-12-02 00:09:57 +08:00
c9s
4b0db6b3af
bbgo: fix quantity adjustment 2022-11-27 00:25:29 +08:00
c9s
50d5449b9a
fix types.NewZeroAssetError panic error 2022-11-27 00:24:24 +08:00
c9s
170c3b8c41
all: remove ftx 2022-11-24 17:05:20 +08:00
zenix
a6e0edbb3c fix: naming of prepare function of openPosition and add comments 2022-11-21 12:16:11 +09:00
zenix
109f4d0e3e fix: Position not synchronized in drift. add DisableNotify for GeneralOrderExecutor 2022-11-21 12:16:11 +09:00
zenix
27800e95bd feature: add cancel_replace for binance, add FastSubmitOrders, fix drift leakage on pendingOrderCounter 2022-11-21 12:16:11 +09:00
zenix
7aaea257df feature: optimizer add profitFactor optimization. Optimization value use float64 instead to save memory and boost performance 2022-11-10 18:17:35 +09:00
Austin Liu
7d03c69406 strategy:harmonic: fix 2022-11-03 15:14:56 +08:00
austin362667
c8aa4ae400 strategy: improve harmonic by adding HMM filter to denoise shark signal
strategy: improve harmonic by adding HMM filter to denoise shark signal
2022-11-03 15:14:56 +08:00
Austin Liu
6c8addc4ee strategy:irr: refactor fast cancel from no wait 2022-11-02 16:51:06 +08:00
Austin Liu
5467c8ef01 strategy:irr rollback to original nirr and consume kline 2022-11-02 16:48:50 +08:00
Yo-An Lin
335b90a97c
Merge pull request #989 from austin362667/austin362667/irr
strategy:irr: a mean reversion based on box of klines in same direction
2022-11-02 12:59:23 +08:00
c9s
04855b023a
bbgo: listen to both order signal and the wait time channel 2022-11-02 12:55:13 +08:00
c9s
3704f3f897
bbgo: emit sigchan when new order is added or an order is removed 2022-11-02 12:42:09 +08:00
c9s
9bf070172a
bbgo: remove extra order arguments from GracefulCancelActiveOrderBook to avoid confusion 2022-11-02 12:34:04 +08:00
c9s
8707fcaa97
bbgo: drop FastCancelActiveOrderBook 2022-11-02 12:31:35 +08:00
c9s
1120821977
add activeOrderBook.Symbol check 2022-11-02 12:27:36 +08:00
c9s
7b9edd0456
all: rename cancelNoWait to fastCancel 2022-11-02 12:25:34 +08:00
なるみ
ba7985690f
Merge pull request #1000 from c9s/narumi/rebalance/backtest
fix: rebalance: fix backtest
2022-11-01 21:02:54 +08:00
Yo-An Lin
999d7b3799
Merge pull request #997 from zenixls2/fix/serialMarketDataStore 2022-10-31 18:00:39 +08:00
zenix
3695644f97 fix: capitalization of drift variable 2022-10-31 18:50:27 +09:00
zenix
5b7712503f fix: pendingLock on orderPendingCounter delete 2022-10-31 11:05:55 +09:00
grorge
a5555cf35a feat: cancel order for exit roi take profit and loss 2022-10-28 17:56:07 +08:00
なるみ
532f3c11e7 fix backtest 2022-10-28 15:33:08 +08:00
zenix
b2e867e51c fix: unlimited length of indicators, add draw elapsed to drift 2022-10-27 17:35:50 +09:00