Skip to content

ramiradaideh/VolatilityLab

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

VolatilityLab Logo

A quantum trading platform for backtesting trading strategies on stocks and options.

Features

  • Simple web interface for backtesting and deploying strategies
  • Explore a wide list of implemented strategies
  • Currently supporting Alpaca API

Getting Started

Prerequisites

  • Python 3.11+
  • Node.js 16+
  • Docker (optional)

Installation

  1. Clone the repository
git clone https://github.com/yourusername/VolatilityLab.git
cd VolatilityLab
  1. 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
  1. Set up the frontend
cd frontend
npm install
  1. Run with Docker
docker-compose up --build

Development

Backend

cd backend
uvicorn main:app --reload

Frontend

cd frontend
npm start

Environment Variables

Create a .env file in the backend directory with:

POLYGON_API_KEY=your_api_key_here
ALPACA_API_KEY=your_api_key_here

License

MIT

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published