Open-source trading software
190 open-source libraries, tools and applications tagged trading, ranked by how closely trading is their primary purpose, then by adoption and maintenance health. Each entry links to a page with sources, use cases and when to choose or avoid it.
190 products, primary matches first, then adoption-weighted; health v2 shown.
| Product | Health v2 | Stars | Maturity |
|---|---|---|---|
| ranaroussi/qtpylib QTPyLib is an event-driven algorithmic trading library in Python supporting backtesting, paper, and live trading via Interactive Brokers. I… | 10 | 2266 | maintenance |
| flashbots/simple-arbitrage An example TypeScript arbitrage bot that discovers, evaluates, and submits arbitrage bundles to the Flashbots relay on Ethereum. It serves … | 32 | 2112 | maintenance |
| Yvictor/TradingGym TradingGym is an OpenAI Gym-style Python toolkit providing trading environments for training reinforcement learning agents and backtesting … | 32 | 1920 | maintenance |
| ZhengyaoJiang/PGPortfolio PGPortfolio is a Python library implementing a deep reinforcement learning framework for financial portfolio management, based on the paper… | 23 | 1852 | maintenance |
| danpaquin/coinbasepro-python An unofficial Python client (pip package cbpro) wrapping the Coinbase Pro (formerly GDAX) REST and WebSocket APIs for public and authentica… | 32 | 1843 | maintenance |
| austin-starks/NextTrade NextTrade is an open-source, no-code platform for creating, backtesting, optimizing, and deploying algorithmic stock trading strategies. It… | 38 | 1774 | maintenance |
| enzoampil/fastquant fastquant is a Python library that makes backtesting and optimizing trading strategies accessible with as few as 3 lines of code. It also p… | 32 | 1756 | maintenance |
| CyberPunkMetalHead/Binance-News-Sentiment-Bot A Python trading bot that analyzes news headlines from the top 100 crypto news feeds and places Binance buy/sell orders based on sentiment … | 32 | 1652 | maintenance |
| duckdegen/apebot A TypeScript trading bot that detects new Binance token listings via a proxy-rotated crawler and aggressively buys the token onchain using … | 32 | 1506 | maintenance |
| TraderAlice/OpenAlice OpenAlice is a local-first trading workspace that turns coding agents (Claude Code, Codex, OpenCode, etc.) into trading agents by giving th… | 81 | 7200 | experimental |
| CyberPunkMetalHead/binance-trading-bot-new-coins A Python trading bot that detects new coin listings on the Binance exchange in real time and automatically places buy and sell orders to ri… | 32 | 1501 | maintenance |
| jkbrzt/cointrol Cointrol is a Bitcoin trading bot with a real-time dashboard for the Bitstamp exchange, built with Python (Django + Tornado) and a Backbone… | 32 | 1453 | maintenance |
| Ceruleanacg/Personae Personae is a Python library implementing deep reinforcement learning (DDPG, Double DQN, Dueling DQN, Policy Gradient) and supervised learn… | 32 | 1409 | maintenance |
| Crypto-toolbox/HFT-Orderbook A limit order book implementation for high-frequency trading, based on WK Selph's design, written in C with a Python3 interface. It support… | 32 | 1389 | maintenance |
| Binance Quantization Grid Trading System A Python quantitative trading bot implementing a one-directional (long) spot grid trading strategy for Binance, targeting crypto pairs like… | 32 | 1335 | maintenance |
| manu354/cryptocurrency-arbitrage A Node.js cryptocurrency arbitrage opportunity calculator that scans over 800 currencies across 50 markets, comparing prices to find the hi… | 23 | 1284 | maintenance |
| CyberPunkMetalHead/gateio-crypto-trading-bot-binance-announcements-new-coins A Python crypto trading bot that scrapes the Binance Announcements page for new coin listings and automatically places buy orders on Gate.i… | 32 | 1236 | maintenance |
| shobrook/BitVision BitVision is a terminal-based real-time charting and trading dashboard for the Bitstamp Bitcoin exchange, built with Node.js and Python. It… | 32 | 1230 | maintenance |
| chrisleekr/binance-trading-bot A self-hosted automated Binance trading bot with pluggable strategies (trailing-trade, momentum, rebalance), historical backtesting, and a … | 100 | 5585 | experimental |
| jankrepl/deepdow deepdow is a Python library built on PyTorch that connects deep learning with portfolio optimization, allowing networks that output asset w… | 32 | 1190 | maintenance |
| bmino/binance-triangle-arbitrage A Node.js application that monitors the Binance cryptocurrency exchange in real time to detect triangle arbitrage opportunities across rela… | 23 | 1170 | maintenance |
| BitBotFactory/MikaLendingBot A Python bot that automatically lends cryptocurrencies on the Poloniex and Bitfinex exchanges, placing offers across the lend book to maxim… | 23 | 1153 | maintenance |
| stellar-deprecated/kelp Kelp is a free and open-source trading bot written in Go for the Stellar DEX and 100+ centralized exchanges like Binance, Kraken, and Coinb… | 10 | 1125 | maintenance |
| PyPatel/Options-Trading-Strategies-in-Python A collection of Python scripts implementing options trading strategies based on technical indicators such as VIX, Put/Call Ratio, TRIN, and… | 32 | 1081 | maintenance |
| Kismuz/btgym BTGym is a Python library that wraps the Backtrader algorithmic trading engine in an OpenAI Gym environment API, enabling event-driven back… | 32 | 1037 | maintenance |
| Polymarket/polymarket-cli A Rust command-line tool for Polymarket, the prediction market platform. It lets users browse markets, place and cancel orders, manage posi… | 61 | 2881 | experimental |
| MIgHTy-alIeN/ai-trader-bot A Solidity smart contract plus Python automation script that claims to find and execute arbitrage opportunities between Uniswap pools and r… | 58 | 2790 | experimental |
| yasinkuyu/binance-trader An experimental Python trading bot that automatically buys and sells cryptocurrency on the Binance exchange. It supports profit-target and … | 56 | 2755 | experimental |
| Rikj000/MoniGoMani MoniGoMani is a Freqtrade framework and trading strategy for cryptocurrency trading that uses weighted signals optimized via HyperOpt. It i… | 10 | 1026 | experimental |
| askmike/gekko Gekko is a Bitcoin trading and backtesting bot written in JavaScript for Node.js that connects to popular cryptocurrency exchanges. It supp… | 10 | 10175 | abandoned |
| DeviaVir/zenbot Zenbot is a command-line cryptocurrency trading bot built with Node.js and MongoDB that automates technical-analysis-based trading across m… | 10 | 8258 | abandoned |
| gbeced/pyalgotrade PyAlgoTrade is an event-driven Python library for algorithmic trading with a focus on backtesting strategies against historical data, plus … | 10 | 4675 | abandoned |
| scrtlabs/catalyst Catalyst is a Python algorithmic trading library for crypto-assets, built as an extension of Quantopian's Zipline. It supports backtesting … | 10 | 2559 | abandoned |
| paco0x/amm-arbitrageur A Solidity smart contract and demo bot that performs arbitrage between Uniswap V2-style AMMs (e.g., Uniswap, SushiSwap, PancakeSwap) using … | 10 | 1994 | abandoned |
| owocki/pytrader pytrader is a cryptocurrency trading robot that uses machine learning classifiers (sklearn, pybrain) to predict price movements and execute… | 32 | 1961 | abandoned |
| QuantFans/quantdigger QuantDigger is a Python-based quantitative trading backtesting framework for stocks and futures, with strategy syntax inspired by commercia… | 32 | 1818 | abandoned |
| benitoro/stockholm A Python framework that crawls Shanghai and Shenzhen A-share stock market data from Yahoo YQL and Sina Finance, and tests stock-picking str… | 32 | 1529 | abandoned |
| deependersingla/deep_trader A Python research project applying deep reinforcement learning (DQN and policy gradient methods) to stock market trading, exploring whether… | 32 | 1506 | abandoned |
| AutoTrader AutoTrader is a Python-based platform for developing, backtesting, optimising and deploying automated trading systems across forex, crypto … | 10 | 1275 | abandoned |
| wardbradt/peregrine A Python library that detects cryptocurrency arbitrage opportunities across 120+ exchanges in ~50 countries using graph algorithms like Bel… | 10 | 1249 | abandoned |
| Polymarket/py-clob-client A Python client library for the Polymarket Central Limit Order Book (CLOB), enabling programmatic trading on prediction markets via the Pol… | 10 | 1231 | abandoned |
| bitcoinvsalts/node-binance-trader Node Binance Trader (NBT) is a TypeScript framework for building cryptocurrency trading strategies and managing portfolios on the Binance e… | 23 | 1222 | abandoned |
| jito-labs/mev-bot A TypeScript bot that performs backrun arbitrage on Solana by monitoring the Jito mempool for large trades and executing circular arbitrage… | 36 | 1196 | abandoned |
| richox/okcoin-leeks-reaper A high-frequency trading bot for the OKCoin Bitcoin exchange, written in Groovy, combining a trend-following strategy with a position-balan… | 32 | 1039 | abandoned |
| VeighNa VeighNa (vnpy) is an open‑source Python framework for building quantitative trading systems. It provides a modular architecture, data‑feed … | 82 | 45695 | active |
| Hummingbot Hummingbot is an open‑source Python framework for building and deploying automated crypto trading bots. It provides a CLI, API server, and … | 94 | 20490 | active |
| FinRL FinRL is the first open-source deep reinforcement learning framework for financial markets, providing end-to-end pipelines to build, train,… | 77 | 16558 | active |
| QUANTAXIS QUANTAXIS is a Python quantitative finance framework providing local data fetching, backtesting, simulated and live trading, visualization,… | 66 | 11252 | active |
| simonlin1212/a-stock-data A self-contained Skill file (structured Markdown with embedded Python) that aggregates China A-share market data from 19 sources into 54 re… | 80 | 10617 | active |
| AI4Finance-Foundation/FinRobot FinRobot is an open-source AI agent platform for financial applications built on large language models, unifying LLMs, reinforcement learni… | 78 | 8140 | active |
| achannarasappa/ticker Ticker is a terminal-based application for watching live stock, cryptocurrency, and derivatives prices in real time. It also tracks the val… | 81 | 6241 | active |
| AidLux (AidLearning) AidLux (originally AidLearning) is an AIoT development platform that runs a native Ubuntu Linux environment with GUI, deep learning tooling… | 63 | 5812 | active |
| Mathieu2301/TradingView-API An unofficial Node.js library for fetching real-time market prices, indicator values, and technical analysis from TradingView. It supports … | 71 | 5662 | active |
| Polymarket/agents A Python developer framework and utility set for building AI agents that trade autonomously on Polymarket prediction markets. It integrates… | 10 | 3803 | active |
| simonlin1212/TradingAgents-astock A Python multi-agent investment research framework for China's A-share market, deeply forked from TauricResearch/TradingAgents. It runs 7 s… | 80 | 3635 | active |
| himself65/finance-skills A collection of agent skills for financial analysis and trading, following the Agent Skills open standard and installable into Claude Code,… | 82 | 3415 | active |
| imbue-bit/AlphaGPT AlphaGPT is an open-source automated factor factory based on deep reinforcement learning for quantitative finance. It mines and generates a… | 52 | 3187 | active |
| 0xemmkty/QuantMuse A Python-based quantitative trading system combining factor analysis, ML models, and LLM-powered market analysis with real-time market data… | 33 | 2964 | active |
| Binance Public API Connector Libraries A collection of auto-generated Python SDKs for the Binance public APIs, covering spot, futures, options, and other trading services. It pro… | 76 | 2948 | active |
| marketcalls/openalgo OpenAlgo is a free, open-source, self-hosted algorithmic trading platform built with Python Flask and React that provides a unified API lay… | 89 | 2890 | active |
| Y-Research-SBU/QuantHarness QuantHarness is a multi-agent LLM framework for high-frequency trading analysis, built on LangChain and LangGraph. Specialized agents compu… | 59 | 2874 | active |
| sahibzada-allahyar/YC-Killer A collection of open-source, enterprise-grade AI agents intended as free alternatives to commercial Y Combinator startups. It includes a de… | 60 | 2828 | active |
| simonlin1212/Vibe-Research Vibe-Research is an open-source, local-first personal AI investment research dashboard for China A-shares (plus US and HK stocks), built wi… | 81 | 2725 | active |
| refraction-ray/xalpha xalpha is a Python library for full-lifecycle management of fund and stock investments, including fetching fund/stock net values and market… | 77 | 2708 | active |
| 24mlight/A_Share_investment_Agent A Python-based multi-agent AI investment analysis system for China's A-share market that uses LLMs (Gemini/OpenAI-compatible) with bull/bea… | 56 | 2482 | active |
| 6551Team/opennews-mcp An MCP (Model Context Protocol) server that aggregates real-time news and market data from 85+ sources across news, exchange listings, on-c… | 58 | 2425 | active |
| oficcejo/aiagents-stock A Python multi-AI-agent stock analysis and monitoring system for mainland China A-shares, simulating a team of securities analysts to produ… | 52 | 1945 | active |
| ccxt/go-binance A Go SDK providing complete client bindings for the Binance cryptocurrency exchange API. It implements all Binance REST APIs (spot, margin,… | 83 | 1906 | active |
| ginlix-ai/LangAlpha LangAlpha is an open-source agentic AI harness for financial market research and investment decision support, inspired by code-agent harnes… | 83 | 1880 | active |
| hyperliquid-dex/hyperliquid-python-sdk An official Python SDK for the Hyperliquid decentralized perpetuals exchange API. It provides clients for querying market and account data … | 81 | 1852 | active |
| avhz/RustQuant RustQuant is a Rust library for quantitative finance, offering modules for option pricing, stochastic processes, autodiff, statistics, and … | 73 | 1819 | active |
| Korea Investment Open Trading API Official sample code repository from Korea Investment & Securities for their Open Trading API (KIS Developers), providing Python examples f… | 77 | 1653 | active |
| Alpaca-py (Alpaca Python SDK) The official Python SDK for Alpaca's commission-free trading APIs, providing REST and WebSocket/SSE interfaces for trading, account managem… | 96 | 1544 | active |
| Massive API Client Libraries The official Python client library for the Massive.com (formerly Polygon.io) REST and WebSocket APIs, providing access to stock, options, f… | 100 | 1523 | active |
| SebastienZh/StockTradebyZ A semi-automated stock screening application for China's A-share market that fetches daily K-line data via Tushare, applies quantitative pr… | 48 | 1395 | active |
| FutunnOpen/py-futu-api The official Python SDK for the Futu OpenAPI, providing market data and trading interfaces for Hong Kong, US, and China A-share markets via… | 62 | 1321 | active |
| zerodha/pykiteconnect The official Python client library for Zerodha's Kite Connect trading APIs. It wraps REST endpoints for order placement and portfolio manag… | 91 | 1314 | active |
| ICT-FinD-Lab/alphagen AlphaGen is a Python research library that automatically generates formulaic alpha (predictive) stock factors using reinforcement learning,… | 67 | 1268 | active |
| cyl19970726/poly-sdk A unified TypeScript SDK for Polymarket covering trading, market data, smart money analysis, on-chain operations, arbitrage detection, and … | 50 | 1264 | active |
| quantopian/alphalens Alphalens is a Python library for performance analysis of predictive (alpha) stock factors. It generates 'tear sheets' with statistics and … | 23 | 4457 | maintenance |
| kuestcom/prediction-market Kuest is an open-source, white-label prediction market platform (a Polymarket/Kalshi-style clone) built on Polygon with USDC settlement. Op… | 64 | 1110 | active |
| whchien/ai-trader A config-driven backtesting framework for algorithmic trading built on Backtrader, with 20+ built-in strategies and multi-market support (U… | 62 | 1109 | active |
| jasonstrimpel/volatility-trading A Python library providing a complete set of volatility estimators (Garman Klass, Parkinson, Rogers Satchell, Yang Zhang, etc.) based on Eu… | 32 | 1958 | maintenance |
| jammy928/CoinExchange_CryptoExchange_Java A Java-based open source cryptocurrency exchange platform built on Spring Cloud microservices, including a matching trading engine, admin b… | 32 | 1731 | maintenance |
| AlgoTraders/stock-analysis-engine A distributed stock analysis and backtesting framework that ingests automated pricing data from IEX Cloud, Tradier, and FinViz and runs tho… | 32 | 1247 | maintenance |
| wquguru/nof0 NOF0 is an open-source AI trading arena that lets multiple LLM/agent-driven strategies compete in live cryptocurrency markets, each startin… | 39 | 2749 | experimental |
| FinHackCN/finhack FinHack is an extensible Python quantitative finance framework covering the full quant research workflow: data collection, factor computati… | 73 | 1241 | experimental |
| kkyon/botflow Botflow is a Python dataflow programming framework for building data pipelines using pipes and routes, with parallelism via coroutines and … | 58 | 1193 | experimental |
| notadamking/RLTrader RLTrader is a Python library providing a cryptocurrency trading environment built on OpenAI's gym, using deep reinforcement learning to tra… | 23 | 1867 | abandoned |
| foolcage/fooltrader fooltrader is a Python quantitative analysis and trading framework that crawls, cleans, and structures market data (stocks, futures, forex,… | 23 | 1198 | abandoned |
← prev page 2 / 2