Open-source libraries, bots, backtesters, data tools and AI agents for trading stocks, futures, forex and crypto. Every entry shows its license.
This list is a software index, not financial advice. Trading can lose all your money.
Rules of this list: every repo exists, is public, is not archived, states a license and has had a commit in the last year. One plain sentence each. Star counts and claims are the authors' own, we did not test every tool. Checked 2026-10-18. See CONTRIBUTING.md.
- Trading bots and frameworks
- Backtesting and research
- Exchange and broker libraries
- Market data and downloaders
- Technical analysis and indicators
- Portfolio, risk and performance
- Machine learning and AI for trading
- Research platforms and terminals
- Crypto, DeFi and on-chain
- How to choose
- Contributing
Run strategies live or on paper, with exchange connections built in.
- coding-kitties/investing-algorithm-framework
- Framework for quantitative trading. (Apache-2.0)
- Drakkar-Software/OctoBot
- Free open source crypto trading bot to automate AI, Grid, DCA and TradingView strategies on Binance, Hyperliquid and 15+ exchanges. (GPL-3.0)
- fabston/TradingView-Webhook-Bot
- Forward TradingView alerts to Telegram, Discord, Slack and email. (MIT)
- freqtrade/freqtrade
- Free, open source crypto trading bot. (GPL-3.0)
- freqtrade/freqtrade-strategies
- Sample strategies for Freqtrade. For learning, not a promise of profit. (GPL-3.0)
- Haehnchen/crypto-trading-bot
- Cryptocurrency trading bot in javascript for Bitfinex, Bitmex, Binance, Bybit. (MIT)
- hummingbot/hummingbot
- Open-source framework for market making and automated trading bots on crypto exchanges. (Apache-2.0)
- iterativv/NostalgiaForInfinity
- Large community strategy for the Freqtrade bot. (GPL-3.0)
- jesse-ai/jesse
- An advanced crypto trading bot written in Python. (MIT)
- Lumiwealth/lumibot
- Python library for backtesting and live trading of stocks, options, crypto and futures with several brokers. (GPL-3.0)
- nautechsystems/nautilus_trader
- Production-grade Rust-native trading engine with deterministic event-driven architecture. (LGPL-3.0)
- QuantConnect/Lean
- Event-driven trading engine in C# and Python for research, backtesting and live trading. (Apache-2.0)
- Superalgos/Superalgos
- Free, open-source crypto trading bot, automated bitcoin / cryptocurrency trading software, algorithmic trading bots. (Apache-2.0)
- vnpy/vnpy
- Python framework for building quant trading systems, popular in Asian markets. (MIT)
Test an idea on past data before you risk money.
- cuemacro/finmarketpy
- Python library for backtesting trading strategies & analyzing financial markets (formerly pythalesians). (Apache-2.0)
- fasiondog/hikyuu
- An open-source, high-performance quantitative trading framework in C++/Python focused on strategy analysis. (Apache-2.0)
- fbertram/TuringTrader
- The Open-Source Backtesting Engine/ Trading Simulator by Bertram Enterprises. (AGPL-3.0)
- kernc/backtesting.py
- Small Python library for backtesting trading strategies with a simple API. (AGPL-3.0)
- nkaz001/hftbacktest
- Free, open source, a high frequency trading and market making backtesting and trading bot, which accounts for limit orders. (MIT)
- pmorissette/bt
- Flexible Python backtesting framework for portfolio strategies. (MIT)
- polakowo/vectorbt
- Fast Python library for testing many strategies at once with vectorized backtests. (check repo)
- stefan-jansen/zipline-reloaded
- Maintained fork of the Zipline backtesting engine. (Apache-2.0)
Unified APIs for exchanges and brokers.
- alpacahq/alpaca-py
- Official Python SDK for Alpaca stock and crypto trading and market data. (Apache-2.0)
- ccxt/ccxt
- Unified API for more than 100 crypto exchanges, in JavaScript, Python, PHP, C# and Go. (MIT)
- ib-api-reloaded/ib_async
- Python framework for Interactive Brokers, successor to ib_insync. (BSD-2-Clause)
- JKorf/Binance.Net
- C#/.NET client library for the Binance.com cryptocurrency exchange REST and WebSocket APIs, supporting Spot and Futures trading. (MIT)
- JKorf/CryptoExchange.Net
- Base library for building clients for crypto exchange APIs in .NET. (MIT)
- pmxt-dev/pmxt
- CCXT for prediction markets. PMXT is a unified API for trading on Polymarket, Kalshi, and more. (MIT)
- sammchardy/python-binance
- Python wrapper for the Binance exchange REST and WebSocket APIs. (MIT)
- tardis-dev/tardis-node
- Convenient access to tick-level real-time and historical cryptocurrency market data via Node.js. (MPL-2.0)
Prices, fundamentals, order books and on-chain data.
- defeat-beta/defeatbeta-api
- An open-source alternative to Yahoo Finance's market data APIs with higher reliability. (Apache-2.0)
- JerBouma/FinanceDatabase
- Database of financial symbols and categories for equities, ETFs, funds and more. (MIT)
- JerBouma/FinanceToolkit
- Transparent and Efficient Financial Analysis. (MIT)
- openbq-org/OpenBB
- Open data platform for analysts, quants and AI agents, with many data sources behind one interface. (check repo)
- pydata/pandas-datareader
- Pull remote data sources such as FRED into pandas. (check repo)
- questdb/questdb
- Fast open-source time-series database, often used for tick and market data. (Apache-2.0)
- ranaroussi/yfinance
- Download Yahoo Finance market data in Python. For personal use, check Yahoo's terms. (Apache-2.0)
Indicator libraries and charting.
- bukosabino/ta
- Technical Analysis Library using Pandas and Numpy. (MIT)
- cinar/indicator
- High-performance technical analysis indicators and backtesting framework in Go. (AGPL-3.0)
- TA-Lib/ta-lib
- Technical analysis library: indicators and candlestick patterns, batch and streaming, native in C, Rust, Java, C#. (BSD-3-Clause)
- TA-Lib/ta-lib-python
- Python wrapper for TA-Lib. (BSD-2-Clause)
- ta4j/ta4j
- A Java library for technical analysis. (check repo)
- tradingview/lightweight-charts
- Small, fast financial charts for the web from TradingView. (Apache-2.0)
Optimize allocation and measure results.
- cvxgrp/cvxportfolio
- Portfolio optimization and back-testing. (GPL-3.0)
- dcajasn/Riskfolio-Lib
- Portfolio Optimization in Python. (BSD-3-Clause)
- PyPortfolio/PyPortfolioOpt
- Financial portfolio optimization in python, including classical efficient frontier, Black-Litterman, Hierarchical Risk Parity. (MIT)
- ranaroussi/quantstats
- Portfolio analytics for quants: performance and risk statistics with tear sheets. (Apache-2.0)
- skfolio/skfolio
- Python library for portfolio optimization built on top of scikit-learn. (BSD-3-Clause)
- stefan-jansen/pyfolio-reloaded
- Maintained fork of Pyfolio for performance and risk analysis of trading strategies. (Apache-2.0)
Research code, models and LLM agents for markets. Results are not a promise of profit.
- AI4Finance-Foundation/FinGPT
- Open-source financial large language models and tools. (MIT)
- AI4Finance-Foundation/FinRL
- Deep reinforcement learning library for automated trading research. (MIT)
- asavinov/intelligent-trading-bot
- Intelligent Trading Bot: Automatically generating signals and trading based on machine learning and feature engineering. (MIT)
- je-suis-tm/quant-trading
- Python quantitative trading strategies including VIX Calculator, Pattern Recognition, Commodity Trading Advisor, Monte Carlo. (Apache-2.0)
- microsoft/qlib
- AI-oriented quant research platform from Microsoft, from data to backtests. (MIT)
- stefan-jansen/machine-learning-for-trading
- Code for the book Machine Learning for Algorithmic Trading. (MIT)
- TauricResearch/TradingAgents
- Multi-agent LLM framework that simulates a trading firm. Research use. (Apache-2.0)
- zvtvz/zvt
- Modular quant framework. (MIT)
Full desktop, web or terminal platforms for analysis.
- AlexWan/OsEngine
- Open Source algo trading platform. (check repo)
- Fincept-Corporation/FinceptTerminal
- FinceptTerminal is a modern finance application offering advanced market analytics, investment research, and economic data tools. (check repo)
- StockSharp/StockSharp
- Algorithmic trading and quantitative trading open source platform to develop trading robots. (check repo)
Bots and tools that read or trade on-chain markets.
- BowTiedDevil/degenbot
- Building blocks for Uniswap (V2, V3, V4), Curve V1, Solidly V2, Balancer V2 & Aave V3 arbitrage. (MIT)
- Paper trade first. Run any bot on a demo account for weeks before you use real money.
- Past results do not predict future results. Backtests are easy to overfit. Check for look-ahead bias and fees.
- Read the code before you give it API keys. Use keys with trading rights only, never withdrawal rights.
- Check the license. Some tools are free for personal use and paid for firms.
See CONTRIBUTING.md. One entry per pull request, plain words, real sources only.
Maintained by @devanasolver. Listings follow the rules in CONTRIBUTING.
If this list is useful, buy me a coffee.
