-
Clone the repository:
git clone https://github.com/jerrychen04/millennium-data-quality.git cd millennium-data-quality
-
Create a virtual environment:
python -m venv venv
-
Activate the virtual environment:
- On Windows:
venv\Scripts\activate
- On macOS/Linux:
source venv/bin/activate
- On Windows:
-
Install the dependencies:
pip install -r requirements.txt
To run the main script, execute the following command:
python backtester/main.py
To run the unit tests, use the following command:
python -m unittest discover -s unit_tests
Go to order_generator.py
and create a new instance of OrderGenerator
. See example code in main.py to run strategy. Write corresponding unit tests