Lumibot
Python trading framework that backtests and places orders through a dozen brokers
By Lumiwealth
Source review ·
What happens on the first run
- First run
- Follow the CLI demo recorded in October. After
pip install lumibot, runlumibot demo. The CLI guide presents this as the route to a first result before writing a strategy. - Default mode
- A historical moving-average backtest. The command loads the example strategy and passes it to the Yahoo daily-data backtester. The guide says it prints the result and the path to the generated report.
- Credentials
- The CLI demo requires neither API keys nor a broker account. Readers who follow the README’s separate AI backtest encounter
OPENAI_API_KEYand billable model calls. Its Alpaca paper example introduces a broker key and secret.
Sources at commit 5c09f1d334d5
Read the five-project follow-up studyDocumentation reviewed ·
What the documentation says
- Broker and exchange integrations
- Alpaca
- Interactive Brokers (and IB REST)
- Tradier
- Schwab
- Tradovate
- TopstepX via ProjectX
- Bitunix
- Polymarket
- selected CCXT paths (Coinbase, Kraken, WEEX auto-detected; KuCoin, Binance, BitMEX manual)
Documented integrations, not confirmation that an order ran.
Evidence README 'Supported Brokers' list.
- Paper or simulated trading
Documented
Evidence 'lumibot run my-bot --paper'; 'ALPACA_IS_PAPER=true'; 'Start with paper trading.'
- Backtesting
Documented
Evidence '`Strategy.backtest(...)` always backtests'; 'Backtest before connecting a broker.'
- Live-trading caution
Not research-only. README says: 'Backtests are not expected future performance.' and 'Start with paper trading. When you are ready for live trading, use the same strategy class and switch your broker account/configuration intentionally.'
Evidence Quotes from 'Example: Research, Bull, Bear, and Trader Agents' and 'Run the same strategy with a paper broker'.
- Markets
- stocks
- options
- crypto
- futures
- forex
- indexes
- prediction contracts (Polymarket)
- Data sources
- Yahoo Finance
- Alpaca
- Interactive Brokers REST
- ThetaData
- Polygon/Massive
- DataBento
- Tradier
- Schwab
- Polymarket price history
- CCXT (Kraken, Binance, KuCoin, BitMEX, Bybit, OKX)
- Pandas/CSV
- agent tools: SEC fundamentals/filings, FRED macro, Alpaca news
- Model providers
OpenAI (default `openai/gpt-6-luna`) · any LiteLLM/ADK-supported provider string · Gemini (used in a recorded run)
The documented setup does not require a model API key.
Evidence for markets, data and models
- Markets
- 'Lumibot supports stocks, options, crypto, futures, forex, indexes, and prediction contracts across several broker integrations'
- Data sources
- README 'Select Backtesting Data Sources' list; 'Built-in AI agent tools include ... Alpaca news when credentials exist, technical indicators, SEC fundamentals and filings, FRED macro data'
- Model providers
- 'The default model is `openai/gpt-6-luna` on medium reasoning; set `model=` per agent to use any other LiteLLM/ADK-supported provider string'
Review scope: Documentation review on 8–9 October 2026. We did not install or run the software. Upstream commit hashes were not recorded, so the documentation may have changed since.
Audit dataset, field definitions and downloadsRead the audit article
Live GitHub metrics
Live GitHub data · Nov 27, 2026Latest release v4.6.100 on Nov 26, 2026. Repository created Sep 10, 2020.
What it is
Lumibot gives one strategy interface for backtesting and live trading and ships broker integrations including Alpaca, Interactive Brokers and Tradier. Its 2026 positioning is explicitly about AI agents that place real trades, which makes it one of the more pragmatic execution layers for agent builders.
In the maintainers' words: “Python trading framework with AI agents that actually place the trade. Backtest, paper and live trade on 12 brokers: stocks, options, futures, forex, crypto and prediction markets.”
Markets
- US equities
- Options
- Crypto
Tags
- Execution
- Backtesting
- Broker integrations
- #agentic-trading
- #ai-agents
- #ai-trading
- #algorithmic-trading
- #alpaca
- #backtesting
- #ccxt
- #crypto-trading