A quantum trading platform for backtesting trading strategies on stocks and options.
- Simple web interface for backtesting and deploying strategies
- Explore a wide list of implemented strategies
- Currently supporting Alpaca API
- Python 3.11+
- Node.js 16+
- Docker (optional)
- Clone the repository
git clone https://github.com/yourusername/VolatilityLab.git
cd VolatilityLab
- Set up the backend
cd backend
python -m venv venv
source venv/bin/activate # On Windows: .\venv\Scripts\activate (RUn this ---> Set-ExecutionPolicy Restricted -Scope CurrentUser) If previous command didnt work
pip install -r requirements.txt
- Set up the frontend
cd frontend
npm install
- Run with Docker
docker-compose up --build
cd backend
uvicorn main:app --reload
cd frontend
npm start
Create a .env
file in the backend directory with:
POLYGON_API_KEY=your_api_key_here
ALPACA_API_KEY=your_api_key_here
MIT