To reproduce the results in the paper,
- Clone the repository.
- If you don't have
uvinstalled, install it. This can be done by runningmake uvin the root of the repository. - Run
make setupto setup the project virtual environment. - To process the data in the manner required for the backtests, run
uv run python scripts/proc_strat_data.py. - To run the backtests, run
uv run python scripts/run_sim.py. - To generate the plots and tables, run
uv run python scripts/generate_plots_tables.py.
The raw data is version controlled in the data directory. The processed data is saved to the data/processed directory.
The backtest results are saved to the out directory. The plots and tables are saved to the plots and tables
directories respectively.