- Pricing
- free, open source
- Best for
- Open-source bots · crypto spot, crypto futures
- Money access
- dry-run (paper) and live, self-hosted
Open-source AI trading bots (2026)
Updated · every number, price and plan checked against its source · how we check
As of Dec 1, 2026, the 7 open-source trading bots here have between 2,264 and 57,427 GitHub stars, led by Freqtrade, and all 7 had a commit in the last 30 days. One of them, Vibe-Trading, has published security advisories; stars measure attention, not results or safety.
Strategy Lab, Dec 1, 2026: 24 of the 155 bots that have traded are up after 24 days live. The typical bot is down 13.1%, while the coins they trade fell 20.0% over the same days. Paper money. See the board
Get the weekly AI trading bot stats. Which bots and agents made money, which lost it, and new incidents, from public data. One email a week.
Check your own setup: bot, exchange, wallet
Who it's for: Technical traders who want to self-host, keep API keys on their own machine and customise strategies.
| Bot | Language | License | Best for | AI / agent hooks | Runs with a local model | Repo |
|---|---|---|---|---|---|---|
| Python | GPL-3.0 | Crypto strategy bots, spot and futures | FreqAI (ML, reinforcement learning); REST API, Telegram | Yes, its own models: FreqAI trains LightGBM, XGBoost and other machine-learning models where the bot runs. No LLM. docs | GitHub | |
| Python (DEX gateway: TypeScript) | Apache-2.0 | Market making, arbitrage, 50+ CEX/DEX connectors | Condor AI harness; agentic strategies | Unknown: its docs don't say. LLM decisions go through Condor, a separate repo. docs | GitHub | |
| Python | GPL-3.0 | UI-driven DCA, grid, TradingView and AI bots | ChatGPT/AI strategy modes | Yes: any model on your own Ollama server, or an OpenAI model. docs | GitHub | |
| Python (indicators in Rust) | MIT | Python research and backtesting with live trading | Built-in MCP server for Claude, Cursor and other agents | Yes, its own models: scikit-learn models trained from your backtests. No LLM. docs | GitHub | |
| JavaScript (Node.js) | Apache-2.0 | Visual bot design plus a social signals network | Visual scripting; signals network | Partly: a TensorFlow integration its README calls partial and incomplete. docs | GitHub | |
| Python | GPL-3.0 | Same Python strategy for backtest, paper and live: stocks, options, futures, forex, crypto and prediction markets. 2,254 GitHub stars on Nov 25, 2026. | Built-in AI agents (allow_trading=False on research agents; one agent can submit orders). Free skills for Claude Code, Codex and Cursor. | Unknown: the README lists OpenAI, Anthropic, Google Gemini "and more". docs | GitHub · Skills | |
| Python | MIT | LLM trading agent for stocks, crypto, futures and forex: backtest, paper and bounded live orders | CLI, Web UI and an MCP server; live orders run inside a mandate you commit, with a kill switch | Yes: Ollama, with no API key, or any OpenAI-compatible endpoint. docs | GitHub |
To run one you need a server and an exchange or broker account. VPS for trading bots · Crypto exchanges for trading bots
LumiBot is Lumiwealth's Python framework (docs, repo, GPL-3.0 on the default branch). The broker list names Alpaca, Interactive Brokers, Tradier, Charles Schwab, Tradovate, TopstepX via ProjectX, Bitunix, Kalshi, Polymarket, MetaMask (beta) and a CCXT crypto broker (read Nov 25, 2026). Backtest, paper, or live says the strategy class can stay the same, but the code that starts it must pick a backtest or a broker run. We did not find a per-order confirmation step, a withdrawal block, or API key scoping in those docs, so those safety inputs stay missing.
GitHub stats: the 15 most-starred repos we track
| Bot and repo | Stars | Last commit | Latest release | Advisories | Scorecard |
|---|---|---|---|---|---|
| TradingAgents · TauricResearch/TradingAgents | 124,239 | Nov 25, 2026 | v1.0.1 | 0 | – |
| OpenBB · openbq-org/OpenBB | 75,956 | Nov 29, 2026 | ODP | 0 | – |
| Freqtradeon this page · freqtrade/freqtrade | 57,427 | Nov 30, 2026 | 2026.11 | 0 | 7.4/10 |
| LlamaIndex · run-llama/llama_index | 53,087 | Dec 1, 2026 | v0.14.26 | 0 | – |
| LangGraph5 high/critical advisories · langchain-ai/langgraph | 45,632 | Nov 30, 2026 | cli==0.4.44 | 13 | – |
| CCXT MCP Server · ccxt/ccxt | 45,050 | Nov 30, 2026 | v4.5.95 | 0 | 4.9/10 |
| Vibe-Trading3 high/critical advisorieson this page · HKUDS/Vibe-Trading | 39,397 | Dec 1, 2026 | v0.1.19 | 3 | – |
| NautilusTrader · nautechsystems/nautilus_trader | 31,956 | Dec 1, 2026 | v1.231.0 | 0 | 8.7/10 |
| Mastra1 high/critical advisories · mastra-ai/mastra | 29,929 | Dec 1, 2026 | @mastra/core@1.86.0 | 2 | – |
| yfinance · ranaroussi/yfinance | 26,054 | Nov 30, 2026 | 1.8.0 | 0 | 5.6/10 |
| QuantConnect / LEAN · QuantConnect/Lean | 22,807 | Nov 30, 2026 | v2.4.0.1 | 0 | 4.2/10 |
| Hummingboton this page · hummingbot/hummingbot | 21,450 | Nov 30, 2026 | v2.18.0 | 0 | – |
| Backtesting.py · kernc/backtesting.py | 9,327 | Aug 5, 2026 | 0 | – | |
| Jesseon this page · jesse-ai/jesse | 8,854 | Nov 30, 2026 | 0 | 3.8/10 | |
| OctoBoton this page · Drakkar-Software/OctoBot | 7,003 | Nov 30, 2026 | 3.0.0-beta3 | 0 | 7.4/10 |
Running an open-source bot with an AI agent
- Start in dry-run or paper mode (Freqtrade
dry_run: true, OctoBot virtual money, Hummingbot paper connectors, LumiBotlumibot run --paperor AlpacaPAPER: True). - Create exchange API keys with trading only, no withdrawals, and IP-whitelist your server.
- Let the agent propose strategy changes and backtest them; keep a human approval step before anything goes live.
- Put hard limits (max position, daily loss stop) in the bot config, not in the prompt.
Want a backtester instead of a bot? See backtesting platforms like NautilusTrader and QuantConnect LEAN.
- Pricing
- free, self-hosted
- Best for
- Open-source bots · crypto spot, crypto perpetuals, DEX
- Money access
- live (self-hosted)
- Pricing
- self-hosted open source is free
- Best for
- Open-source bots · crypto
- Money access
- live and paper (virtual money)
- Pricing
- free tier runs on testnet exchanges only (no paper trading)
- Best for
- Open-source bots · crypto, stocks, commodities
- Money access
- backtesting and live (self-hosted)
- Pricing
- free, self-hosted
- Best for
- Open-source bots · crypto
- Money access
- backtest, paper and live (self-hosted)
- Pricing
- free, open source (GPL-3.0). You pay broker commissions, any market-data plan, and AI…
- Best for
- Open-source bots · stocks, ETFs, options
- Money access
- backtest, paper and live (self-hosted)
- Pricing
- free, open source (MIT)
- Best for
- Open-source bots · stocks (US, HK, China A-shares, UK, Canada, India, Korea, Brazil and more), crypto, futures
- Money access
- backtest, paper and live (self-hosted). v0.1.17 (Oct 21, 2026) adds daily paper trading…
Which open-source strategy to run? We run 191 open-source strategies, grid bots and DCA bots with $1,000 of paper money each on live prices, and publish what each one is worth every day, next to just holding the coins: Strategy Lab.
FAQ
Which open-source trading bot is best?
Freqtrade is the most popular (57,241 GitHub stars on Nov 25, 2026) for crypto strategy bots; Hummingbot for market making and DEX/CEX connectors; Jesse for clean Python research with a built-in MCP server; OctoBot if you want a UI and an optional hosted cloud. LumiBot is the one to look at when the same Python strategy should backtest, then paper or live trade stocks, options, futures, forex, crypto or prediction markets (2,254 GitHub stars on Nov 25, 2026).
Are open-source trading bots safe?
The code is auditable, and your keys stay on your machine, but you are responsible for hosting, updates and risk limits. Run dry-run/paper mode first and use trade-only API keys.
Can I connect an AI agent to an open-source bot?
Yes. Jesse ships a built-in MCP server, Hummingbot has the Condor AI harness, and Freqtrade exposes a REST API an agent can call. LumiBot runs AI agents inside the strategy: research agents can be blocked from orders with allow_trading=False, and one agent with allow_trading=True submits orders. It also publishes free skills for Claude Code, Codex and Cursor.
Related
Tools bots run on
All bot platforms →Bot platforms and hosting from the directory that score 50% or more on our Safety score. These are affiliate links: we may earn a commission at no cost to you, and it never changes a score, a rank or what we list.
Bitsgap Safety 50%
No-code grid, DCA and COMBO bots on 17 exchanges, connected by API key.
TradersPost Safety 72%
Turns TradingView, TrendSpider or webhook alerts into orders at your broker or exchange.
Cryptohopper Safety 50%
Cloud crypto bots with a strategy and signal marketplace.
WunderTrading Safety 50%
Signal, DCA and grid bots on 18+ exchanges, connected by API keys with withdrawals off.