# Open-source AI trading bots (2026): Freqtrade, LumiBot and more

> Open-source AI trading bots compared: Freqtrade, Hummingbot, OctoBot, Jesse, Superalgos, LumiBot and Vibe-Trading.

Canonical: https://tradingagentstack.com/open-source-ai-trading-bots/

1. [Home](https://tradingagentstack.com/)

2. [AI trading bots](https://tradingagentstack.com/ai-trading-bots/)

3. Open source

# Open-source AI trading bots (2026)

7 self-hosted bots you can read, modify and connect to your own AI agent. License and activity checked on GitHub 2026-11-30.

Updated Nov 25, 2026 · every number, price and plan checked against its source · [how we check](https://tradingagentstack.com/methodology/)

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](https://tradingagentstack.com/algo-strategies/)

**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](https://tradingagentstack.com/setup/)
Trade with a bot

**Who it's for:** Technical traders who want to self-host, keep API keys on their own machine and customise strategies.

Every fact sourced · last checked 2026-11-30 · [how we verify](https://tradingagentstack.com/methodology/)

**⚠ Risk note.** No trading bot, AI or not, can guarantee returns. Backtests and "AI robot" track records are hypothetical and often overfit; grid and DCA bots can lose heavily in trending or crashing markets; leverage can liquidate an account. Use paper or demo mode first, give exchange API keys trade-only permission (never withdrawals), cap position sizes, and treat any product promising fixed daily or guaranteed profits as a likely scam. Nothing here is financial advice.
Tip**Letting an AI agent run your bot or place orders?**Put hard limits in front of it: per-order and daily caps, a symbol allow list, approval from your phone and a kill switch. [TAS Guard](https://tradingagentstack.com/guard/?from=bots) is our free, open-source proxy for broker and exchange MCP servers, including CCXT for 100+ crypto exchanges. It doesn't affect any score on this page.

| Bot | Language | License | Best for | AI / agent hooks | Runs with a local model | Repo |
| --- | --- | --- | --- | --- | --- | --- |
| **60**[Freqtrade](https://tradingagentstack.com/tool/freqtrade/)Safety 60% | 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](https://github.com/freqtrade/freqtrade/blob/develop/docs/freqai.md) | [GitHub](https://github.com/freqtrade/freqtrade) |
| **60**[Hummingbot](https://tradingagentstack.com/tool/hummingbot/)Safety 60% | 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](https://github.com/hummingbot/hummingbot/blob/master/README.md) | [GitHub](https://github.com/hummingbot/hummingbot) |
| **60**[OctoBot](https://tradingagentstack.com/tool/octobot/)Safety 60% | 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](https://github.com/Drakkar-Software/OctoBot/blob/master/README.md) | [GitHub](https://github.com/Drakkar-Software/OctoBot) |
| **53**[Jesse](https://tradingagentstack.com/tool/jesse/)Safety 53% (partial) | 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](https://github.com/jesse-ai/jesse/blob/master/README.md) | [GitHub](https://github.com/jesse-ai/jesse) |
| **60**[Superalgos](https://tradingagentstack.com/tool/superalgos/)Safety 60% | 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](https://github.com/Superalgos/Superalgos/blob/master/README.md) | [GitHub](https://github.com/Superalgos/Superalgos) |
| **53**[LumiBot](https://tradingagentstack.com/tool/lumibot/)Safety 53% (partial) | 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](https://github.com/Lumiwealth/lumibot/blob/dev/README.md) | [GitHub](https://github.com/Lumiwealth/lumibot) · [Skills](https://github.com/Lumiwealth/lumibot-trading-skills) |
| **62**[Vibe-Trading](https://tradingagentstack.com/tool/vibe-trading/)Safety 62% (partial) | 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](https://github.com/HKUDS/Vibe-Trading/blob/main/guides/installation.md) | [GitHub](https://github.com/HKUDS/Vibe-Trading) |

Language and local-model support from each repo's own README and docs, read Nov 22, 2026; "Unknown" where they don't say. A local model runs where the bot runs: a local LLM (for example through Ollama) or the bot's own machine-learning models, with no cloud AI service.

**To run one you need a server and an exchange or broker account.** [VPS for trading bots](https://tradingagentstack.com/vps-for-trading-bots/) · [Crypto exchanges for trading bots](https://tradingagentstack.com/crypto-exchanges-for-trading-bots/)

Exchanges these bots' own docs list as supported, with our partner link: [Aster](https://tradingagentstack.com/go/aster/?from=/open-source-ai-trading-bots/&cta=run-it) Safety 58% (LumiBot) · [Bitget](https://tradingagentstack.com/go/bitget/?from=/open-source-ai-trading-bots/&cta=run-it) Safety 85% (Freqtrade, Hummingbot, LumiBot, OctoBot) · [Bybit](https://tradingagentstack.com/go/bybit/?from=/open-source-ai-trading-bots/&cta=run-it) Safety 85% (Freqtrade, Hummingbot, Jesse, LumiBot) · [Lighter](https://tradingagentstack.com/go/lighter/?from=/open-source-ai-trading-bots/&cta=run-it) Safety 63% (Hummingbot, Jesse, LumiBot) · [OKX](https://tradingagentstack.com/go/okx/?from=/open-source-ai-trading-bots/&cta=run-it) Safety 85% (Freqtrade, Hummingbot, LumiBot, OctoBot, Vibe-Trading) Affiliate links where available · [disclosure](https://tradingagentstack.com/disclosure/)

LumiBot is Lumiwealth's Python framework ([docs](https://lumibot.lumiwealth.com), [repo](https://github.com/Lumiwealth/lumibot), GPL-3.0 on the default branch). The [broker list](https://lumibot.lumiwealth.com/brokers.html) 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](https://lumibot.lumiwealth.com/strategy_run_modes.html) 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

Trading bots, agent frameworks, data and backtesting libraries, ranked by stars. Stars, last commit, latest release, security advisories the maintainers published and the OpenSSF Scorecard, from GitHub's API, as of Dec 1, 2026. Stars measure attention, not safety or results. All 46 repos we track: [open-source repo health](https://tradingagentstack.com/trading-bot-stats/#repos).

| Bot and repo | Stars | Last commit | Latest release | Advisories | Scorecard |
| --- | --- | --- | --- | --- | --- |
| [TradingAgents](https://tradingagentstack.com/tool/tradingagents/) agent framework · [TauricResearch/TradingAgents](https://github.com/TauricResearch/TradingAgents) | 124,239 | Nov 25, 2026 | v1.0.1 Nov 25, 2026 | 0 | – |
| [OpenBB](https://tradingagentstack.com/tool/openbb/) market data · [openbq-org/OpenBB](https://github.com/openbq-org/OpenBB) | 75,956 | Nov 29, 2026 | ODP Sep 30, 2026 | 0 | – |
| [Freqtrade](https://tradingagentstack.com/tool/freqtrade/)on this page trading bot · [freqtrade/freqtrade](https://github.com/freqtrade/freqtrade) | 57,427 | Nov 30, 2026 | 2026.11 Nov 30, 2026 | 0 | 7.4/10 |
| [LlamaIndex](https://tradingagentstack.com/tool/llamaindex/) agent framework · [run-llama/llama_index](https://github.com/run-llama/llama_index) | 53,087 | Dec 1, 2026 | v0.14.26 Nov 13, 2026 | 0 | – |
| [LangGraph](https://tradingagentstack.com/tool/langgraph/)5 high/critical advisories agent framework · [langchain-ai/langgraph](https://github.com/langchain-ai/langgraph) | 45,632 | Nov 30, 2026 | cli==0.4.44 Nov 25, 2026 | 13 | – |
| [CCXT MCP Server](https://tradingagentstack.com/tool/ccxt-mcp-server/) exchange connector · [ccxt/ccxt](https://github.com/ccxt/ccxt) | 45,050 | Nov 30, 2026 | v4.5.95 Nov 30, 2026 | 0 | 4.9/10 |
| [Vibe-Trading](https://tradingagentstack.com/tool/vibe-trading/)3 high/critical advisorieson this page trading bot · [HKUDS/Vibe-Trading](https://github.com/HKUDS/Vibe-Trading) | 39,397 | Dec 1, 2026 | v0.1.19 Nov 5, 2026 | 3 | – |
| [NautilusTrader](https://tradingagentstack.com/tool/nautilustrader/) backtesting · [nautechsystems/nautilus_trader](https://github.com/nautechsystems/nautilus_trader) | 31,956 | Dec 1, 2026 | v1.231.0 Aug 2, 2026 | 0 | 8.7/10 |
| [Mastra](https://tradingagentstack.com/tool/mastra/)1 high/critical advisories agent framework · [mastra-ai/mastra](https://github.com/mastra-ai/mastra) | 29,929 | Dec 1, 2026 | @mastra/core@1.86.0 Nov 25, 2026 | 2 | – |
| [yfinance](https://tradingagentstack.com/tool/yfinance/) market data · [ranaroussi/yfinance](https://github.com/ranaroussi/yfinance) | 26,054 | Nov 30, 2026 | 1.8.0 Nov 3, 2026 | 0 | 5.6/10 |
| [QuantConnect / LEAN](https://tradingagentstack.com/tool/quantconnect-lean/) backtesting · [QuantConnect/Lean](https://github.com/QuantConnect/Lean) | 22,807 | Nov 30, 2026 | v2.4.0.1 Aug 8, 2017 | 0 | 4.2/10 |
| [Hummingbot](https://tradingagentstack.com/tool/hummingbot/)on this page trading bot · [hummingbot/hummingbot](https://github.com/hummingbot/hummingbot) | 21,450 | Nov 30, 2026 | v2.18.0 Nov 18, 2026 | 0 | – |
| [Backtesting.py](https://tradingagentstack.com/tool/backtesting-py/) backtesting · [kernc/backtesting.py](https://github.com/kernc/backtesting.py) | 9,327 | Aug 5, 2026 | none | 0 | – |
| [Jesse](https://tradingagentstack.com/tool/jesse/)on this page trading bot · [jesse-ai/jesse](https://github.com/jesse-ai/jesse) | 8,854 | Nov 30, 2026 | none | 0 | 3.8/10 |
| [OctoBot](https://tradingagentstack.com/tool/octobot/)on this page trading bot · [Drakkar-Software/OctoBot](https://github.com/Drakkar-Software/OctoBot) | 7,003 | Nov 30, 2026 | 3.0.0-beta3 Oct 8, 2026 | 0 | 7.4/10 |

Also on this page, outside the top 15: Superalgos (5,830 stars), LumiBot (2,264 stars).

## Running an open-source bot with an AI agent

1. Start in dry-run or paper mode (Freqtrade `dry_run: true`, OctoBot virtual money, Hummingbot paper connectors, LumiBot `lumibot run --paper` or Alpaca `PAPER: True`).

2. Create exchange API keys with trading only, no withdrawals, and IP-whitelist your server.

3. Let the agent propose strategy changes and backtest them; keep a human approval step before anything goes live.

4. 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](https://tradingagentstack.com/category/backtest-platform/) like NautilusTrader and QuantConnect LEAN.

 F

### [Freqtrade](https://tradingagentstack.com/tool/freqtrade/)
Open-source botsofficial
**60**
 Pricingfree, open source
Best forOpen-source bots · crypto spot, crypto futures
Money accessdry-run (paper) and live, self-hosted
Safety 60%✓ Verified 2026-11-25[Details →](https://tradingagentstack.com/tool/freqtrade/)

H

### [Hummingbot](https://tradingagentstack.com/tool/hummingbot/)
Open-source botsofficial
**60**
 Pricingfree, self-hosted
Best forOpen-source bots · crypto spot, crypto perpetuals, DEX
Money accesslive (self-hosted)
Safety 60%✓ Verified 2026-11-25[Details →](https://tradingagentstack.com/tool/hummingbot/)

O

### [OctoBot](https://tradingagentstack.com/tool/octobot/)
Open-source botsofficial
**60**
 Pricingself-hosted open source is free
Best forOpen-source bots · crypto
Money accesslive and paper (virtual money)
Safety 60%✓ Verified 2026-11-25[Details →](https://tradingagentstack.com/tool/octobot/)

J

### [Jesse](https://tradingagentstack.com/tool/jesse/)
Open-source botsofficial
**53**
 Pricingfree tier runs on testnet exchanges only (no paper trading)
Best forOpen-source bots · crypto, stocks, commodities
Money accessbacktesting and live (self-hosted)
Safety 53% (partial)✓ Verified 2026-11-25[Details →](https://tradingagentstack.com/tool/jesse/)

S

### [Superalgos](https://tradingagentstack.com/tool/superalgos/)
Open-source botsofficial
**60**
 Pricingfree, self-hosted
Best forOpen-source bots · crypto
Money accessbacktest, paper and live (self-hosted)
Safety 60%✓ Verified 2026-11-25[Details →](https://tradingagentstack.com/tool/superalgos/)

L

### [LumiBot](https://tradingagentstack.com/tool/lumibot/)
Open-source botsofficial
**53**
 Pricingfree, open source (GPL-3.0). You pay broker commissions, any market-data plan, and AI…
Best forOpen-source bots · stocks, ETFs, options
Money accessbacktest, paper and live (self-hosted)
Safety 53% (partial)✓ Verified 2026-11-25[Details →](https://tradingagentstack.com/tool/lumibot/)

V

### [Vibe-Trading](https://tradingagentstack.com/tool/vibe-trading/)
Open-source botsofficial
**62**
 Pricingfree, open source (MIT)
Best forOpen-source bots · stocks (US, HK, China A-shares, UK, Canada, India, Korea, Brazil and more), crypto, futures
Money accessbacktest, paper and live (self-hosted). v0.1.17 (Oct 21, 2026) adds daily paper trading…
Safety 62% (partial)✓ Verified 2026-11-25[Details →](https://tradingagentstack.com/tool/vibe-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](https://tradingagentstack.com/algo-strategies/).

## 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

- [All AI trading bots](https://tradingagentstack.com/ai-trading-bots/)

- [Best AI trading bots (2026)](https://tradingagentstack.com/best-ai-trading-bots/)

- [Agent frameworks](https://tradingagentstack.com/category/agent-framework/)

## Tools bots run on
[All bot platforms →](https://tradingagentstack.com/ai-trading-bots/)

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](https://tradingagentstack.com/tool/bitsgap/) Safety 50%

No-code grid, DCA and COMBO bots on 17 exchanges, connected by API key.

Basic $23/mo annual ($29 monthly), Advanced $55 ($69), Pro $119 ($149)

[Visit Bitsgap →](https://tradingagentstack.com/go/bitsgap/?from=/open-source-ai-trading-bots/&cta=tools-block) Affiliate link · [disclosure](https://tradingagentstack.com/disclosure/)

[TradersPost](https://tradingagentstack.com/tool/traderspost/) Safety 72%

Turns TradingView, TrendSpider or webhook alerts into orders at your broker or exchange.

Free with 7-day trial (manual live, auto paper)

[Visit TradersPost →](https://tradingagentstack.com/go/traderspost/?from=/open-source-ai-trading-bots/&cta=tools-block) Affiliate link · [disclosure](https://tradingagentstack.com/disclosure/)

[Cryptohopper](https://tradingagentstack.com/tool/cryptohopper/) Safety 50%

Cloud crypto bots with a strategy and signal marketplace.

Explorer $29/mo ($24.16 annual), Adventurer $69/mo, Hero $129/mo

[Visit Cryptohopper →](https://tradingagentstack.com/go/cryptohopper/?from=/open-source-ai-trading-bots/&cta=tools-block) Affiliate link · [disclosure](https://tradingagentstack.com/disclosure/)

[WunderTrading](https://tradingagentstack.com/tool/wundertrading/) Safety 50%

Signal, DCA and grid bots on 18+ exchanges, connected by API keys with withdrawals off.

lifetime Free plan

[Visit WunderTrading →](https://tradingagentstack.com/go/wundertrading/?from=/open-source-ai-trading-bots/&cta=tools-block) Affiliate link · [disclosure](https://tradingagentstack.com/disclosure/)

[Want your bot running 24/7 on a VPS with your strategy, kill switch and alerts? →](https://tradingagentstack.com/go/build?from=/open-source-ai-trading-bots/&cta=bot-exchange)

## More in Trade with a bot
[AI trading bots](https://tradingagentstack.com/ai-trading-bots/)[AI signals](https://tradingagentstack.com/ai-trading-signals/)[Copy trading](https://tradingagentstack.com/copy-trading-platforms/)[DeFi & Telegram bots](https://tradingagentstack.com/defi-trading-bots-and-agents/)[AI trading agents](https://tradingagentstack.com/ai-trading-agents/)[Agent tokens](https://tradingagentstack.com/ai-agent-tokens/)[Find your bot (4-question picker)](https://tradingagentstack.com/find-your-bot/)[Best AI trading bots](https://tradingagentstack.com/best-ai-trading-bots/)[Best AI stock picking tools](https://tradingagentstack.com/best-ai-stock-picking-signal-tools/)[Best copy trading platforms](https://tradingagentstack.com/best-copy-trading-platforms/)[Best Telegram trading bots](https://tradingagentstack.com/best-telegram-trading-bots/)[Official bot links](https://tradingagentstack.com/official-links/)

Other paths: [Build an AI agent](https://tradingagentstack.com/build-an-ai-agent/) · [Markets & infrastructure](https://tradingagentstack.com/markets-and-infrastructure/) · [Learn](https://tradingagentstack.com/learn-algorithmic-trading/) · [Search all tools](https://tradingagentstack.com/tools/)

Disclosure: some links on this page are affiliate links; we may earn a commission at no cost to you. It never affects rankings or facts. [Read our disclosure](https://tradingagentstack.com/disclosure/)

Before you pick one, see [the AI trading bot leaderboard](https://tradingagentstack.com/ai-trading-leaderboard/): returns and drawdowns we compute from public venue data, not screenshots, with a 30% drawdown gate. Industry numbers are in the [AI trading bot statistics](https://tradingagentstack.com/ai-trading-bot-statistics/). Run one yourself? [Get your agent verified](https://tradingagentstack.com/get-your-ai-agent-verified/).

## For agents

- [When to use this site, and the page index](https://tradingagentstack.com/llms.txt)
- [Sitemap](https://tradingagentstack.com/sitemap.xml)
- [Contact](https://tradingagentstack.com/contact/)
- [MCP server](https://tradingagentstack.com/mcp/)
- [MCP discovery](https://tradingagentstack.com/.well-known/mcp)
