This project is aimed at implementing the day & night trading strategy on stocks data. The strategy involves buying a stock at the end of the trading day and selling it at the start of the next trading day. It is a simple trading strategy that has the potential for high returns if implemented correctly. This project includes code to backtest the strategy on Amazon and Apple stock data.
- Clone the repository to your local machine
- Create a new pip virtual environment using
python -m venv venv
- Activate the virtual environment using source
venv/bin/activate
on Linux orvenv\Scripts\activate
on Windows - Install the required packages using
pip install -r requirements.txt
- Open a Jupyter Notebook in the virtual environment using jupyter notebook
- Navigate to the cloned repository and open
Strategies.ipynb
- Run the cells in the notebook to backtest the day & night trading strategy on Amazon and Apple stock data
This project is licensed under the MIT License - see the LICENSE file for details.