Commit Graph

24 Commits

Author SHA1 Message Date
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
c9s
d2f9a352a2
backtest,accounting: add position info to the average cost pnl report 2022-09-02 14:16:16 +08:00
zenix
1eb03c3dba fix: taker price, matching engine kline emit order and process order, nan in sortino and sharpe 2022-08-29 14:11:02 +09:00
Raphanus Lo
de59c1bd13 backtest: reformat sharpe/sortino report 2022-08-25 15:45:08 +08:00
Raphanus Lo
ad1b9a53a1 backtest: calculate realized Sharpe & Sortino ratios 2022-08-25 15:45:08 +08:00
Raphanus Lo
13455e4ee1 backtest: resolve data race on index.json 2022-07-17 15:46:55 +08:00
Raphanus Lo
36bdacf3a3 backtest: correct final asset calculation 2022-07-13 17:20:48 +08:00
c9s
a51f26e3a7
backtest: add gross profit and gross loss fields 2022-07-12 19:50:28 +08:00
c9s
b3da6caddb
optimizer: fix op builder 2022-05-19 20:31:25 +08:00
c9s
960f967c34
aggregate total profit and total unrealized profit 2022-05-19 18:45:45 +08:00
c9s
13bf5d69a3
use types.Interval instead of string 2022-05-19 10:04:03 +08:00
c9s
b51d6b4ba1
refactor report structure and rewrite manifest paths 2022-05-17 22:59:34 +08:00
c9s
06e2902e5e
add file lock for report index 2022-05-17 22:41:39 +08:00
c9s
620e465bcf
refactor symbol report 2022-05-17 22:31:50 +08:00
c9s
b5f9f86944
define DefaultBacktestAccount 2022-05-17 18:45:06 +08:00
c9s
6acd426f07
refactor backtest report index function 2022-05-17 18:25:05 +08:00
c9s
1cc4c69c66
move and refactor functions 2022-05-17 18:23:09 +08:00
c9s
6c0165afe4
add report index file 2022-05-17 18:10:37 +08:00
c9s
5f68064ac6
pull out writeJsonFile function 2022-05-10 18:27:23 +08:00
c9s
6fbb082d5f
support manifest json encoding in backtest report 2022-05-10 14:05:44 +08:00
c9s
5b443f0aeb
add start time and end time to the report struct 2022-05-10 01:06:16 +08:00
c9s
bff73a3a80
format backtest report session name 2022-05-09 19:27:02 +08:00
c9s
234932bc0c
add kline dumper 2022-05-09 18:03:03 +08:00
c9s
6f16f32e16
optimize single exchange back-test 2022-05-09 17:03:01 +08:00