{"config":{"lang":["en"],"separator":"[\\s\\u200b\\u3000\\-\u3001\u3002\uff0c\uff0e\uff1f\uff01\uff1b]+","pipeline":["stemmer"],"fields":{"title":{"boost":1000.0},"text":{"boost":1.0},"tags":{"boost":1000000.0}}},"docs":[{"location":"","title":"Awesome Systematic Trading","text":"
or Quantitative Trading + a bit data science infra
"},{"location":"#star-history","title":"Star History","text":"
\u5e0c\u671b\u9605\u8bfb\u4e2d\u6587\u7248\uff1f\u70b9\u6211
Interested in systematic trading? Check QuantBox
A curated list of awesome libraries, packages and resources for Systematic Trading (Quantitative Trading)
Open access: all rights granted for use and re-use of any kind, by anyone, at no cost, under your choice of either the free MIT License or Creative Commons CC-BY International Public License.
How do we pick the projects?
Overall, I tend to pick decent or promising libraries that closely related to systematic trading instead of including as many libraries as possible.
Please raise a PR if you found some good fit projects for this repo or remove some outdated projects. Thanks!
Search page by languages you are interested in to find related libraries. For example: Ctrl+F, Rust
And I count crypto as whole new category: >> Click ME to Systematic Crypto.
Python TypeScript | - Self-hosted visual algo-trading platform featuring a drag-and-drop strategy builder, an AI co-pilot for automated strategy design, and integrated billing.Python | - AI-powered trading intelligence platform with automated strategy tournaments, multi-market scanning (stocks + prediction markets), 15+ technical indicators, paper trading, and web dashboard. Self-evolving strategies via overnight optimization cron.Python | - An AI Hedge Fund TeamPython | - AI \u81ea\u52a8\u91cf\u5316\u4ea4\u6613\u673a\u5668\u4eba AI-powered Quantitative Investment Research Platform.Python | - AI-powered trading research platform that validates any trading idea with event studies, statistical tests, and real market data across 15,000+ instruments. CLI, Python SDK, and MCP server.TypeScript | - Open-source AI agent stock trading battle platform. AI agents get $100K virtual cash, trade real US stock prices, and compete on a public leaderboard with social feed.Python | - AI-native quantitative finance engine with genetic algorithm strategy evolution. 484 built-in factors, walk-forward validation, multi-market support (A-shares, US, crypto). Strategies evolve themselves via GA \u2014 no manual parameter tuning needed.TypeScript | - AI-native systematic trading framework. Natural language strategy generation, multi-market execution (US/HK/CN/Crypto), self-evolving strategy pipeline with community leaderboard. Built on OpenClaw (68K+ stars).TypeScript | - Free AI-powered stock research reports delivered daily. Wall Street-grade analysis for US, China & HK stocks using Claude Opus and multi-model AI engine. 20+ technical indicators, automated email delivery.Python | - Evidence-driven market recap CLI for A/HK/US stocks and funds, producing Markdown reports and JSON Evidence Packs for AI agent workflows.Python | - Autonomous trading agent for Kalshi, Polymarket, and Solana DFlow with Wang Transform pricing engine calibrated on 291,309 resolved contracts (\u03bb\u0302 = 0.183), eight constraint-based arbitrage strategies, hierarchical MLE, model Greeks, and Kelly-sized execution. Backed by SSRN working paper.MCP | - Launch your own autonomous perp trading AI via Claude Code in 60 seconds. Hybrid exchange MCP with $10B+ aggregated liquidity across 500+ pairs \u2014 Claude executes your strategies 24/7. Endpoint: https://mcp.eterna.exchange/mcpPython TypeScript | - AI agent framework for quant research: agents pick the factors working now to time entries (time-series rank IC), write full Python strategies audited in sandboxes, and evolve them under multi-objective fitness. Every order passes machine approval \u2014 the LLM has no direct order path. Multi-market: crypto, US/CN/HK equities, global indices, FRED macro.Python | - Contamination-resistant A-share backtesting environment for LLM trading agents: point-in-time masking, entity/date anonymization, progressive 5-minute execution, fingerprinted replay, and full-fidelity trajectory (SFT) export.Event Driven Frameworks
Note: the one marked as Live Trading has reasonable live trading support for at least 1 broker. Otherwise, backtest function only.
Vector Based Frameworks
Python | AI crypto trading bot for Bybit with 70.9% walk-forward validated accuracy. LightGBM + XGBoost ensemble with 72 ML features.ML, RL
Python, PyTorch | - Research stack for multi-factor ML experiments with 213 mask-aware factors, bias correction, portfolio optimization, and vectorized backtesting.Python | - 150+ quantitative finance Python programs to help you gather, manipulate, and analyze stock market dataPython | - PyTrendFollow - systematic futures trading using trend followingPython | - \u7f20\u4e2d\u8bf4\u7985\u6280\u672f\u5206\u6790\u5de5\u5177\uff1b\u7f20\u8bba\uff1b\u80a1\u7968\uff1b\u671f\u8d27\uff1bQuant\uff1b\u91cf\u5316\u4ea4\u6613Python | - A complete set of volatility estimators based on Euan Sinclair's Volatility TradingPython | - Python quantitative trading strategies including VIX Calculator, Pattern Recognition, Commodity Trading Advisor, Monte Carlo, Options Straddle, Shooting Star, London Breakout, Heikin-Ashi, Pair Trading, RSI, Bollinger Bands, Parabolic SAR, Dual Thrust, Awesome, MACDPython |Python | -Python | - \u91cf\u5316\u7814\u7a76-\u5238\u5546\u91d1\u5de5\u7814\u62a5\u590d\u73b0Cython, C, Python | - TorchQuantum is a backtesting framework that integrates the structure of PyTorch and WorldQuant's Operator for efficient quantitative financial analysis.C++ | - An open source equity statistical arbitrage backtest simulator, use the same API as WorldQuant's WebSimPython | - \u4e00\u4e9b\u56e0\u5b50\u6316\u6398\u7684\u4ee3\u7801 A \u80a1Python | - Automatic formulaic alpha generation with reinforcement learning.Go | - Golang\u5b9e\u73b0\u8d22\u62a5\u5206\u6790\u3001\u4e2a\u80a1\u57fa\u672c\u9762\u68c0\u6d4b\u3001\u57fa\u672c\u9762\u9009\u80a1\u30014433\u6cd5\u5219\u57fa\u91d1\u7b5b\u9009\u4e0e\u68c0\u6d4b\u3001\u57fa\u91d1\u6301\u4ed3\u76f8\u4f3c\u5ea6\u3001\u80a1\u7968\u9009\u57fa\u3001\u57fa\u91d1\u7ecf\u7406\u7b5b\u9009Python | - A\u80a1\u81ea\u52a8\u9009\u80a1\u7a0b\u5e8f\uff0c\u5b9e\u73b0\u4e86\u6d77\u9f9f\u4ea4\u6613\u6cd5\u5219\u3001\u7f20\u4e2d\u8bf4\u7985\u725b\u5e02\u4e70\u70b9\uff0c\u4ee5\u53ca\u5176\u4ed6\u82e5\u5e72\u79cd\u6280\u672f\u5f62\u6001Python | - A modular Python library for comprehensive stock valuation using multiple methodologies (Graham, DCF, EPV, DDM, etc.) with real-time data fetching and news sentiment analysisNote: these bots are old and not maintained. I put them here just to show some logic of crypto arbitrage.
C++ | - Blackbird Bitcoin Arbitrage: a long/short market-neutral strategyPython | - Bitcoin arbitrage - opportunity detectorTypeScript | - R2 Bitcoin Arbitrager is an automatic arbitrage trading system powered by Node.js + TypeScript.Python | - Composable transformations of Python+NumPy programs: differentiate, vectorize, JIT to GPU/TPU, and morePython | - Performance analysis of predictive (alpha) stock factorsPython | - A financial function library for PythonPython | - Scores detected chart patterns against the pattern-free baseline for the same market and timeframe, reporting lift with cluster-robust confidence intervals instead of a hit rate against 50%Python | - Portfolio analytics for quants, written in PythonC | - Perform technical analysis of financial market dataPython |Go |Rust |Rust | - Technical analysis library for Rust languagePython | - Common financial technical indicators implemented in PandasPython | - Pandas Technical Analysis (Pandas TA) is an easy to use library that leverages the Pandas package with more than 130 Indicators and Utility functions and more than 60 TA Lib Candlestick Patterns.Rust & Python | - A blazingly fast technical analysis library in Rust and Python.TypeScript | - Technical analysis library for chart patterns, price action, and volume-based pattern detection.Rust & Python & JavaScript & C++ & C# & Go & Java & R | - Streaming-first technical-analysis library with 514 O(1)-per-tick indicators across 24 families; bit-exact batch and streaming from one Rust core.Python, Cython | - Python wrapper of the famous pricing library QuantLibJulia | - Quantlib implementation in pure Julia.Python | - A Python Finance Library that focuses on the pricing and risk-management of Financial Derivatives, including fixed-income, equity, FX and credit derivatives.Python | - Fundamentally a swig/python wrapper around Peter Jaeckel's lets_be_rational. lets_be_rational focuses exclusively on Black76, while Vollib extends this to add support for Black-Scholes and Black-Scholes-Merton.Python | - Portfolio and risk analytics in PythonPython | - Futures volatility forecasting for ES/NQ. Daily CVN rating (1-10), regime detection (CRC composite), directional signals, economic event impact analytics. Includes MCP server for AI agent integration.Python | - Risk intelligence API for trading agents. Pre-trade gate with position sizing (G-formula/Kelly), drawdown analysis, Monte Carlo simulation, regime detection. REST API and MCP server.TypeScript | - Converts broker and exchange trade records into annotated candlestick review charts with buy/sell markers, batch PNG/ZIP export, and an Agent API. ExamplesC++, Python | - ArcticDB is a high performance, serverless DataFrame database built for the Python Data Science ecosystem.C++, Python | - ArcticDB is a high performance, serverless DataFrame database built for the Python Data Science ecosystem.Rust | - Modern columnar data format for ML and LLMs implemented in Rust. Convert from parquet in 2 lines of code for 100x faster random access, vector index, and data versioning. Compatible with Pandas, DuckDB, Polars, PyarrowPython | - High performance datastore for time series and tick dataPython | - Fast data store for Pandas time-series dataGo | - DataFrame Server for Financial Timeseries DataRust | - Tectonicdb is a fast, highly compressed standalone database and streaming protocol for order book ticks.C | - Redis is an in-memory database that persists on disk.q | - Companion files to kdb+ and qPython | - Investment Research for Everyone, Anywhere.Python| - AKShare is an elegant and simple financial data interface library for Python, built for human beings! \u5f00\u6e90\u8d22\u7ecf\u6570\u636e\u63a5\u53e3\u5e93Python| - findatapy creates an easy to use Python API to download market data from many sources including Quandl, Bloomberg, Yahoo, Google etc. using a unified high level interface. Python| - Real-time forex macroeconomic data API serving central bank announcements, policy rates, inflation, employment, and GDP for 18 currencies. Includes MCP server and OAuth support.Python| - yfinance offers a threaded and Pythonic way to download market data from Yahoo!\u24c7 finance.Python| - Up to date remote data access for pandas, works for multiple versions of pandas.Python| - Wallstreet: Real time Stock and Option toolsPython| - TuShare is a utility for crawling historical data of China stocksPython | - Fully-fledged Fundamental Analysis package capable of collecting 20 years of Company Profiles, Financial Statements, Ratios and Stock Data of 20.000+ companies.Python| - Historical chart pattern similarity search engine. 24M+ pre-computed embeddings (pgvector) across 15K+ symbols and 10 years of minute-bar data. Returns forward returns (1/3/5/10 day) for pattern-based strategy development. Also available as MCP server.REST API, MCP | - Free REST + MCP API providing ML-derived options pricing (per-symbol fair value, prob_ITM, Greeks), real-time market data, and AI-ranked trading strategies. Also includes 31-dim news bias scoring across 3.2M+ articles for sentiment overlays. 50 free queries/IP, no signup. SourceMCP, x402 | - Pay-per-call MCP server with 191 financial market data capabilities: US stocks, ETFs, equity fundamentals, analyst ratings, earnings surprises, insider trades, hedge fund holdings, options chains, treasury yields, macro indicators, DeFi, crypto, and prediction markets. Pays in USDC on Base via x402; no API keys required. ServerREST API, MCP | - Relevance-scored, ticker-linked financial news (GDELT + SEC EDGAR): every article gets a 1-10 relevance score, a category, and per-ticker impact at ingest, and SEC Form 4 insider filings become scored structured events. Free tier: 20 req/min and 100/day, no card. MCPPython, MCP | - AI-powered multi-market stock analysis with transparent multi-factor scoring for 73 stocks across US, HK, and A-share markets. EU AI Act Art.50 compliant. MCP server + REST API.REST API | - Cross-platform market sentiment API for equities using Reddit, X/Twitter, and Polymarket signals; returns trending tickers, buzz scores, and sentiment snapshots for quant workflows.Python| - SEC EDGAR data for quant strategies \u2014 fundamentals, institutional holdings (13F), insider transactions, and corporate events (8-K). Includes MCP server for AI workflows.CLI, MCP, REST API | - SEC 13F institutional holdings, Form 4 insider trading, and a \"smart money convergence\" signal (tickers where institutions and insiders are both buying). Free anonymous tier, no signup required.REST API, MCP | - Real-time stock, ETF, and crypto data with AI bull/bear cases and price forecasts; ML options fair value (probability ITM, full Greeks); top-ranked options strategies (short vol, long vol); and news sentiment from 5,000+ sources. MCP server with REST endpoints. Free tier: 50 queries, no auth. WebsitePython| - Cryptocurrency Exchange Websocket Data Feed Handler with AsyncioTypeScript, NestJS, TimescaleDB | - Builds real-time Footprint Candles from WebSocket trade data across crypto exchanges.REST API | - Free unified REST API providing real-time prices for 500+ crypto tokens via Hyperliquid. No API key required for price data. OpenAPI spec at /openapi.json.Python | - Official client for Tessera: order-flow-enriched OHLCV, funding-rate, and positioning datasets built from raw Hyperliquid trades, read straight into Polars or DuckDB over a REST API. WebsiteREST API | - Free crypto market data API with prices, volume, market cap, OHLCV, and exchange data for 7,000+ coins. No API key required, no rate limits.REST API | - Free DEX/DeFi data API covering pools, tokens, OHLCV, and trade history across all chains and DEXes. No API key, no rate limits.TypeScript, REST API, MCP | - Pre-analyzed Bitcoin and macro market briefings. 17 contexts covering BTC, Fed balance sheet, M2, Treasury yields, hash rate, difficulty, mining production costs, and cross-asset correlations (SPY, QQQ, VXX, UUP as BTC relationship signals). Returns trend direction, confidence scores, percentile rankings, and regime classification. WebsiteREST API, MCP | - Crypto market intelligence API and MCP server covering funding rates, options, arbitrage, narratives, exchange listings, and news. Public endpoints work without a required API key. WebsiteREST API | - AI-powered crypto forecasting and predictions API with machine learning models for price movement analysis.REST API, MCP, x402 | - Crypto & market data API platform with 54 services, 97 endpoints, and 37 MCP tools. On-chain payments via x402 (USDC on Base). Covers prices, OHLCV, on-chain metrics, DeFi data, and technical indicators. ServerREST API, MCP | - DeFi liquidity-pool scoring for LP/yield strategies. Covers ~68,800 Solana pools (Meteora DLMM, Orca Whirlpool, Raydium AMM/CLMM/CPMM) and 575 EVM pools across Ethereum, Arbitrum, Base, Optimism, Polygon and BSC. Returns a 0-100 pool score plus an ENTER/HOLD/EXIT/REDUCE/AVOID verdict with per-protocol calibrated confidence, and publishes a miss-inclusive 30-day track record so the signal can be evaluated before it is used. No API key required. Endpoints: /pools/top, /evm/pools, /signals/feed, /track-record. WebsiteRust, TypeScript, Python | - Prediction market data, execution, and live streams across all major exchanges. WebsitePython, JavaScript | - Open prediction market arena where AI agents compete in real-time BTC/ETH/SOL prediction games. Python and Node.js SDKs, 9 live markets, REST + WebSocket APIs. (Demo)Python | - Feature-rich Python client for Kalshi prediction markets with WebSocket streaming, automatic retries, rate limiting, pandas integration, Jupyter rendering, and local orderbook management.Web | - Build, backtest, and deploy automated trading strategies for prediction markets including Kalshi and Polymarket.TypeScript | - Solana-based prediction market for human opinions with an agent CLI (@tbd-vote/cli) and AGENTS.md spec for AI agents to authenticate, list opinion campaigns, and place bets via JSON-friendly commands. WebsitePython | - Python sync/async framework for Interactive Brokers APIJavaScript | - A free Javascript library allowing simplified interaction with trading and data commands on a growing list of cryptocurrency exchanges like FTX, OKX, ByBit, & more.Python, JavaScript | - A JavaScript / Python / PHP cryptocurrency trading API with support for more than 100 bitcoin/altcoin exchangesRust | - Coinnect is a Rust library aiming to provide a complete access to main crypto currencies exchanges via REST API.Python | - Python async framework for Rithmic Protocol Buffer APIPython, JavaScript | - A JavaScript / Python prediction markets trading API with support for major exchanges. (The ccxt for prediction markets)Rust, REST API | - Permissionless cross-chain execution fabric. 86 chains, 8-15 bps fee, no API key required. Direct pool routing, conservation-enforced settlement, sub-millisecond dispatch.Awesome Crypto Trading Bots
Congressional Stock Brain - Free AI-powered platform that ingests every U.S. STOCK Act disclosure and scores each trade by significance: committee relevance, timing vs. legislative activity, trade size vs. historical baseline, and disclosure delay. Covers 800+ lawmakers and 50,000+ disclosed trades. No login required.
PolyMind - Real-time Polymarket trading alerts with multi-AI analysis (Groq, Claude, Gemini). Monitors 200+ markets every 15 seconds across 12 signal types: whale bets, volume spikes, price reversals, coordinated wallets, and more. Free tier available.
EventTrader \u2014 CLOB exchange with 10 AI trading agents running live. Automated market making, epoch keeping, smart order routing. Pre-launch TGE token predictions on Base L2. REST + WebSocket API. API | Platform