Skip to content

AmitKarthikeyan/SignalBench

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SignalBench

ML-powered stock signal backtesting platform.

Project Structure

SignalBench/
├── backend/                # Backend service
│   ├── app/               # FastAPI application
│   │   ├── main.py       # Main application entry point
│   │   ├── ml/           # ML models and data fetching
│   │   │   └── data.py
│   │   ├── models.py     # Database models
│   │   └── config.py     # Configuration
│   ├── requirements.txt   # Python dependencies
│   └── Dockerfile        # Backend container
├── frontend/              # Frontend application
├── scripts/               # Utility scripts
├── docker-compose.yml     # Full stack orchestration
└── README.md

Setup

Local Development

  1. Install dependencies:
cd backend
pip install -r requirements.txt
  1. Run the backend:
cd backend
YF_USE_CURL_CFFI=1 uvicorn app.main:app --reload --port 8000

Docker

  1. Build and run all services:
docker-compose up --build
  1. Access the application:

Database

Connect to PostgreSQL:

docker-compose exec postgres psql -U app -d signalbench

View tables:

\dt

API Documentation

Once running, visit:

Environment Variables

  • YF_USE_CURL_CFFI=1 - Required for yfinance to work properly
  • DATABASE_URL - PostgreSQL connection string
  • REDIS_URL - Redis connection string

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published