Free & open-source trading terminal with quantitative analysis overlays (Volatility Cones, GEX, Max Pain) and live MT5/Rithmic/Tradovate feeds.
๐ Quantum Terminal
A Next-Generation Open Source Trading & Quantitative Analysis Platform
๐ About The Project
Quantum Terminal is an advanced, fully free, and open-source trading terminal designed to bridge the gap between institutional-grade quantitative analysis and retail day trading.
Unlike traditional platforms that rely on lagging indicators (like RSI or MACD), Quantum Terminal processes real-time tick data from professional brokerages and overlays complex mathematical probability models directly onto your charts. It acts as a localized display hub, separating heavy mathematical computations from real-time charting to ensure zero-latency trade monitoring.
๐ธ Screenshots
Trading Interface โ XAUUSD with Volatility Bands & Order Management
Volatility Cones โ Probability-Based Price Envelopes
โจ Core Features
1. ๐ Multi-Provider Live Feeds
Quantum Terminal is built to handle ultra-fast data streams from the most reliable data providers in the industry:- MetaTrader 5 (MT5): Direct integration via Python API for Forex, Crypto, and CFD markets.
- Rithmic: High-frequency, sub-millisecond tick processing for CME Futures (NQ, ES).
- Tradovate: Seamless integration for retail futures traders.
focustickloop ensuring the chart you are actively watching refreshes at maximum FPS without bottlenecking the system).
2. ๐ Advanced Quantitative Models
Move beyond simple support and resistance. The platform integrates institutional volatility models to forecast price action probabilities:- Volatility Cones: Visualizing expected price ranges using Geometric Brownian Motion (GBM), Merton Jump Diffusion (MJD), and Bates models.
- Scalp Bands & Micro Volatility: Real-time bands designed specifically for high-frequency scalpers.
- Probability Fields: Heatmaps mapping the statistical likelihood of price reverting or trending.
3. ๐ Options Flow & Market Maker Positioning
Understanding where Market Makers are hedging is critical. Quantum Terminal visualizes:- Gamma Exposure (GEX): Identifies sticky price levels and volatility triggers.
- Max Pain: Highlights the strike price with the most open options contracts.
- Option Walls: Visualizes heavy Call/Put resistance and support barriers.
4. ๐ Macro Regime & Sector Rotation
Using data fromyfinance, the terminal analyzes global market regimes:
- Tracks ETF Sector Rotation to see where smart money is flowing.
- Identifies the current market regime (Risk-On, Risk-Off, Inflationary, etc.) to align your trades with the broader macroeconomic trend.
๐๏ธ Architecture & Repository Structure
The project follows a decoupled architecture, ensuring the UI remains buttery smooth while the backend handles heavy lifting.
QuantumTerminal/
โโโ backend/ # The Core Engine (Python/FastAPI)
โ โโโ providers/ # MT5, Rithmic, and Tradovate API wrappers
โ โโโ data_server.py # Main FastAPI server and WebSocket broadcaster
โ โโโ launcher.py # Entry point and config manager
โ
โโโ electron_shell/ # Desktop Application Wrapper
โ โโโ main.js # Electron main process
โ โโโ preload.js # Security and IPC bridging
โ
โโโ frontend_build/ # Compiled React UI
โโโ index.html # Main entry point
โโโ static/ # Minified JS/CSS for the charting interface
Note on Open Source: The Python backend and Electron shell are fully open source. The React frontend is provided as a compiled production build (frontend_build/), meaning it is fully functional and ready to run, though the raw.jsxsource files are not included in this repository.
๐ Getting Started
Prerequisites
- Python 3.10 or higher.
- MetaTrader 5 (If you intend to use the MT5 data feed).
Node.js(Optional, if you wish to re-package the Electron shell).
Installation
- Clone the repository:
git clone https://github.com/wJubran/QuantumTerminal.git
cd QuantumTerminal/backend
- Install Python dependencies:
pip install fastapi uvicorn websockets watchfiles yfinance MetaTrader5
- Run the Backend Server:
python launcher.py
- The terminal will automatically serve the UI on
http://127.0.0.1:8502and launch your default browser.
electron_shell directory using Electron Forge or Electron Builder).
๐ ๏ธ Contributing
This is a community-driven project! If you are a Python developer, Quant, or React engineer, your pull requests are welcome.- Areas needing help: Enhancing thread safety for MT5 in
data_server.py, adding new broker providers (like Interactive Brokers), and rebuilding an open-source React UI.