🎯 TradeSight

June 23, 2026 Β· View on GitHub

Open In Colab PyPI version

🎯 TradeSight β€” Python Algorithmic Trading & Backtesting Strategy Lab

Python 3.11+ Flask License: MIT Tests: 282/282 Paper Trading Public Proof GitHub Stars Strategies

Build, test, and evolve trading strategies with AI β€” entirely on your own machine. No cloud subscription. No data leaks. No monthly fees.

TradeSight is a self-hosted Python app that runs AI-powered strategy tournaments overnight, backtests technical indicators, and executes paper trades via Alpaca β€” all from a local web dashboard.

Public proof snapshot: https://rentry.co/tradesight-public-credibility-proof-20260620

TradeSight is for research, backtesting, and paper trading. It is not financial advice, and it does not guarantee income, returns, accuracy, or live-trading performance.

TradeSight Demo β€” Paper Trading Report


πŸ€” Who Is This For?

  • Algorithmic trading hobbyists who want to test strategies without risking real money
  • Python developers exploring quantitative finance and AI-driven decision systems
  • Privacy-conscious traders who don't want their strategies on someone else's server
  • Makers building autonomous financial agents

✨ Features

FeatureDescription
🧬 AI Strategy TournamentsAutomated overnight evolution of trading strategies β€” the best wins, rest are retired
πŸ›‘οΈ Safer Optimizer Promotion GatesFamily-aware RSI/MACD/Momentum tuning with OOS, walk-forward, regime, Monte Carlo, and overfit checks before any parameter promotion
πŸ“Š 15+ Technical IndicatorsMACD, RSI, Bollinger Bands, EMA crossovers, ATR, volume analysis, and more
πŸ’Έ Paper TradingConnect an Alpaca paper account β€” trade with simulated funds and track paper-only P&L
πŸ” Multi-Market ScannerScan stocks + Polymarket prediction markets for signals simultaneously
🌐 Web DashboardReal-time Flask interface β€” positions, signals, tournament results, logs
⏰ Cron AutomationOvernight strategy improvement runs automatically β€” wake up to new results
πŸ”’ 100% LocalRuns on your machine. Your strategies stay yours.

πŸš€ Quick Start

Requirements

Install

macOS (Homebrew):

brew tap rmbell09-lang/tradesight
brew install tradesight

From source:

git clone https://github.com/rmbell09-lang/tradesight.git
cd tradesight
python3 -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt

Run

python3 START_TRADESIGHT.py

Dashboard opens at http://localhost:5000

Demo Mode (No API Keys Required)

TradeSight runs fully in demo mode with simulated market data β€” no Alpaca account needed to explore.

Alpaca Paper Trading (Optional)

  1. Create a free Alpaca paper account
  2. Export your paper-trading API keys before launching:
export ALPACA_API_KEY="YOUR_KEY"
export ALPACA_SECRET_KEY="YOUR_SECRET"
python3 START_TRADESIGHT.py

πŸ“Έ Dashboard

β”Œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”
β”‚  TradeSight Dashboard          [Localhost:5000]  β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”¬β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚ Markets  β”‚Tournamentsβ”‚  Trading  β”‚   Settings    β”‚
β”œβ”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”΄β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€
β”‚  Active Signals: 3    Open Positions: 2          β”‚
β”‚  Best Strategy: MACD Crossover (score: 0.72)     β”‚
β”‚  Paper P&L: -\$113.96  (initial RSI strategy)     β”‚
β”‚  Next Tournament: Tonight @ 2:00 AM              β”‚
β””β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”€β”˜

πŸ§ͺ Test Results

282/282 tests passing βœ…
python -m pytest tests/ -v

πŸ—οΈ Architecture

tradesight/
β”œβ”€β”€ src/
β”‚   β”œβ”€β”€ scanner.py          # Multi-market signal scanner
β”‚   β”œβ”€β”€ strategy_lab/       # AI tournament engine
β”‚   β”œβ”€β”€ trading/            # Alpaca paper trade executor
β”‚   β”œβ”€β”€ indicators/         # 15+ technical indicators
β”‚   └── automation/         # Overnight cron jobs
β”œβ”€β”€ web/                    # Flask dashboard
β”œβ”€β”€ config/                 # API keys + settings
β”œβ”€β”€ data/                   # Price history cache
└── tests/                  # 169 unit tests

πŸ“ˆ Public Proof & Paper-Trading Notes

TradeSight includes an Alpaca paper-trading workflow for testing strategy automation with simulated funds. It is designed for local research, backtesting, and paper-trading experiments before any real-money decision.

Current public proof snapshot: https://rentry.co/tradesight-public-credibility-proof-20260620

Important limits:

  • Paper-trading results are simulated and may not match live-market execution.
  • Backtests and historical paper-trading snapshots are not predictions.
  • TradeSight is not financial advice.
  • No income, return, win-rate, or live-trading performance is promised.

πŸ—ΊοΈ Roadmap

  • Multi-indicator technical analysis (15+ indicators)
  • AI strategy tournament engine
  • Alpaca paper trading integration
  • Real-time web dashboard
  • Overnight automation (cron)
  • Family-aware optimizer validation with OOS, walk-forward, regime, and overfit gates
  • Phase 1: Active stop-loss + take-profit execution
  • Phase 1: Trailing stop with high-water mark
  • Phase 2: Confluence strategy (multi-indicator entry gates)
  • Phase 2: Market regime detection (bull/bear/sideways filter)
  • Phase 3: Monte Carlo simulation for strategy validation


πŸ’° Support Development

TradeSight is MIT-licensed and free to use. If it saved you time or you want the packaged strategy lab with setup guide and pre-tuned parameters:

Get TradeSight Strategy Lab on Gumroad β†’ β€” $49 one-time

Includes: packaged download, setup walkthrough, pre-configured Alpaca integration, and strategy parameter reference.

TradeSight is similar to β€” but different from β€” these popular Python trading tools:

ProjectWhat It DoesHow TradeSight Differs
backtraderPython backtesting frameworkTradeSight adds AI strategy evolution + live paper trading web dashboard
freqtradeCrypto trading botTradeSight focuses on stocks (Alpaca API) with overnight strategy tournaments
vectorbtVectorized backtesting in notebooksTradeSight is a self-hosted web app β€” no notebook required
zipline-reloadedAlgorithmic trading libraryTradeSight is a full app, not a library β€” no Python trading experience needed
JesseCrypto strategy frameworkTradeSight is for stocks + prediction markets, not crypto
nautilus_traderHigh-performance trading platformTradeSight is simpler, self-hosted, built for hobbyists not HFT
BillingWatchSelf-hosted billing anomaly detectionSame maker β€” catch Stripe issues before they cost you

Also useful for: python trading bot Β· algorithmic trading python Β· paper trading software Β· free backtesting Β· stock trading python Β· quantitative finance Β· algo trading strategy tester Β· self-hosted trading platform Β· automated trading system Β· backtesting framework


πŸ“„ License

MIT β€” free to use, modify, and build on.


⭐ If This Helped You

Star the repo β€” it helps other Python traders find it.

Got broken AI-generated code? β†’ Vibe Code Rescue