Prerequiste Python 3.8 Anaconda (for setting up of VE)
Setting up the virtual environment
- Create conda environment
conda create -n bt4013 python=3.8
- Activate environment
conda activate bt4013
- Install dependencies
pip install -r requirements.txt
- Execute the main python file
python main.py
python xgb_model.py
Due to the large size of saved ARIMA model, The saved models will not be in this repository. As such, there is a need to train and fit models before running the ARIMA models for forecasting and evaluation
Fit ARIMA models
python ARIMA.py
- Models and in-sample predictions will be saved under
ARIMA
folder which will be accessed when performing evaluation of strategies onmain.py
Evaluate ARIMA models on trading system
- Set
strategy
toarima
inmain.py
- Run
main.py