Commit Graph

15 Commits

Author SHA1 Message Date
c9s
9ebb8ada13
optimizer: wrap error with the output if err is not nil 2022-09-16 01:53:23 +08:00
Raphanus Lo
67f8b1c32c optimizeex: hyperparameter optimization tool
Currently support the following search algorithms:
- Tree-structured Parzen Estimators (tpe, default)
- Covariance Matrix Adaptation Evolution Strategy (cmaes)
- Quasi-monte carlo sampling based on Sobol sequence (sobol)
- random search (random)

And the following objective function:
- profit
- volume
- equity
2022-07-29 17:09:54 +08:00
Raphanus Lo
4985c760be optimizer: prepare database before executing backtests 2022-07-13 15:28:11 +08:00
c9s
ba74e83552
optimizer: show *exec.ExitError 2022-07-07 02:26:39 +08:00
Andy Cheng
a029509b63 optimizer: add progressbar 2022-06-29 16:17:43 +08:00
c9s
9b82de596b
refine optimizer executor config structure 2022-06-21 12:31:42 +08:00
Andy Cheng
edfdb5b888 optimizer: add max num of thread in config 2022-06-21 11:51:20 +08:00
c9s
6afe2de9f7
optimizer: add parallel local process worker support for optimizer 2022-06-20 17:18:05 +08:00
c9s
9be38e2421
optimizer: support multi metric value functions
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-20 14:52:40 +08:00
c9s
6669db4264
optimizer: refactor Execute method
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-20 11:54:55 +08:00
c9s
dd087b287d
optimizer: refactor LocalProcessExecutor and pull out config test
Signed-off-by: c9s <yoanlin93@gmail.com>
2022-06-20 11:20:26 +08:00
c9s
3a072181bc
optimizer: close config file handle 2022-06-20 11:07:48 +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
7056853ecd
implement grid optimizer and local process executor 2022-05-19 18:23:12 +08:00