run pip install -r requirements.txt
to install all dependencies
The name of signal file, cfg file and class should be the same. ex.
- python file: Cross.py
- json file: Cross.json
- class: Cross
- clone the file to local workspace.
- add signal file to signal folder.
- add config file to cfg folder.
- cd to base directory (CryptoPredictor).
- run python -m backtest.test_factor $(signal_name)
ex. python -m backtest.test_factor weilun01
python -m backtest.test_factor all
python -m backtest.factor_model