Commit Graph

491 Commits

Author SHA1 Message Date
c9s
e23f4b5114
bitget: minimize api client code 2023-05-17 14:26:25 +08:00
c9s
177610266d
cmd: add exchangetest cmd and document NewWithEnvVarPrefix 2023-05-16 18:15:27 +08:00
c9s
a9b0270390
bbgo: add context to LoadState 2023-04-25 18:30:23 +08:00
c9s
6ea399dc8e
all: rename types.MarginHistory to types.MarginHistoryService 2023-03-26 00:53:43 +08:00
c9s
12b9775eb3
rename funding to xfunding 2023-03-22 21:17:33 +08:00
c9s
2fbe90b1e7
bbgo: fix: pass isolated context to SaveState() call 2023-03-15 22:50:50 +08:00
c9s
2378951c85
bbgo: should get isolation from the ctx when saving state 2023-03-15 22:47:40 +08:00
narumi
74656e0e49 fix fixedmaker errors 2023-03-10 18:39:30 +08:00
なるみ
a238da3dc4 create log dir to avoid error 2022-12-28 17:15:30 +08:00
Yo-An Lin
2b20ff4da9
Merge pull request #1027 from andycheng123/strategy/linregmaker
Strategy: LinReg Maker
2022-12-20 14:55:48 +08:00
c9s
d83feec9ec
cmd: add log message for rollbar token 2022-12-12 17:37:40 +08:00
c9s
c8098b414b
cmd: add rollbar support 2022-12-12 17:18:40 +08:00
c9s
c6ce223a13 all: refactor backtest functions so that we can run backtest in test 2022-12-06 13:16:12 +08:00
c9s
cb612a22b1
add grid2 strategy 2022-12-02 00:09:57 +08:00
c9s
170c3b8c41
all: remove ftx 2022-11-24 17:05:20 +08:00
Andy Cheng
48c6326ac1 strategy/linregmaker: draft 2022-11-17 17:59:23 +08: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
austin362667
763bb45842 interval: avoid syncing 1s klines as default from backtest config syncSecKLines 2022-10-14 23:14:30 +08:00
austin362667
18acd668a7 interval: finalize 1s support
interval: finalize 1s support

interval: finalize 1s support
2022-10-14 23:14:30 +08:00
austin362667
905c1f25ee interval: add 1s support
interval: add 1s support

interval: add 1s support

interval: fix 1s for backtesting
2022-10-14 23:14:30 +08:00
c9s
7204e2550b
pull out shutdown timeout context 2022-10-11 14:23:02 +08:00
Fredrik
8e83fc4ad7 fix optimizer limit 2022-10-05 08:51:30 +02:00
austin362667
f1ae7b5f30 strategy: add harmonic shark pattern recognition
strategy: add harmonic shark pattern recognition
2022-10-04 15:20:17 +08:00
c9s
59287b5116
all: support context isolation 2022-10-03 16:01:08 +08:00
Yo-An Lin
1b531b66a2
Merge pull request #959 from austin362667/austin362667/factorzoo
stratgy: add irr
2022-09-28 17:05:03 +08:00
Fredrik
29f0e0d07c refactoring 2022-09-22 09:16:37 +02:00
Fredrik
2fb4c7e258 add limit to optimizer results 2022-09-20 22:49:21 +02:00
austin362667
beb13449cb strategy: refactor oneliner to irr 2022-09-20 10:32:57 +08:00
austin362667
4f99110d2b stratgy: add oneliner 2022-09-20 10:32:57 +08:00
Yo-An Lin
dc195e824b
Merge pull request #920 from austin362667/austin362667/factorzoo
strategy: add trend trader
2022-09-14 15:00:08 +08:00
c9s
424a1dec3f
bbgo: add lightweight mode 2022-09-12 14:24:18 +08:00
Yo-An Lin
d45bc9e509
Merge pull request #927 from c9s/refactor/submit-order
refactor: simplify submit order
2022-09-11 02:58:47 +08:00
c9s
29105eb57f
all: simplify underlying exchange submitOrder method
- Replace SubmitOrders with SubmitOrder
- Accept only one submit order and return one created order
- Add bbgo.BatchPlaceOrders helper method and bbgo.BatchRetryPlaceOrders method
2022-09-09 18:41:06 +08:00
Zenix
afad9cca47
Merge pull request #910 from zenixls2/feature/ewo_renew
SerialMarketDataStore, elliottwave renewal
2022-09-07 18:54:01 +09:00
austin362667
46b3fabfe3 strategy: add trend trader
strategy: add trend treader

strategy: add trend treader
2022-09-07 16:11:31 +08:00
austin362667
73a8f3586f builtib: update strategy list
builtib: update strategy list
2022-09-07 16:05:51 +08:00
austin362667
42d7117464 strategy: add ktrade 2022-09-07 16:05:51 +08:00
c9s
889318ddcb
cmd/order: add market order support 2022-09-07 02:17:56 +08:00
c9s
90b633158a
cmd/order: add margin-side-effect option 2022-09-07 02:01:38 +08:00
c9s
8f363677bc
move bootstrap functions 2022-09-06 16:50:45 +08:00
c9s
ed975de2cd
cmd: write config json file into the backtest report dir 2022-09-06 13:20:37 +08:00
c9s
8ed39f7565
cmd: add session name to the symbol report json file 2022-09-06 13:18:35 +08:00
zenix
938dc3c497 feature: add serialmarketdatastore, add elliottwave strategy to replace ewoDgtrd, add active cancel on general order executor, add pca 2022-09-05 19:32:35 +09:00
c9s
5c8d2a019a
backtest: rename BackTest to Backtest 2022-09-02 14:16:16 +08:00
c9s
d2f9a352a2
backtest,accounting: add position info to the average cost pnl report 2022-09-02 14:16:16 +08:00
c9s
3d32faff46
backtest: add fee mode config 2022-09-02 14:16:15 +08:00
zenix
acd057cf3e fix: set exchangeDataSource to pointer in backtest to prevent pass by copy in for loop 2022-09-02 12:32:38 +09:00
Zenix
57d283726a
Merge pull request #900 from zenixls2/fix/backtest
fix: backtest
2022-09-01 11:57:05 +09:00
zenix
c2d5a5961f fix: legacy fixedpoint inf handling, refactor backtest kline consuming 2022-08-30 21:02:21 +09:00
zenix
ecc959835a fix: cache params and kline until next kline 1m appears 2022-08-29 19:46:58 +09:00