Stock and Options Brokers for LumiBot¶
Trade US stocks, ETFs and options from a LumiBot strategy or AI agent with one of these brokers. The strategy code stays the same; only the broker credentials change.
Strongly recommended: connect the free BotSpot MCP
Use Claude, ChatGPT, Codex or Cursor? Connect the free BotSpot MCP and your AI gets:
Strategy-building skills for LumiBot.
Free data: news, economic data and SEC filings.
Backtests with charts it can run and read for you.
Cheap scheduled deployments on BotSpot’s servers, so you do not have to keep your own computer or server running.
The community and marketplace: see what other people’s bots are doing, post your own, research strategies and publish yours.
Easy broker linking.
It also gives LumiBot’s own AI agents extra research tools inside your strategies. Connect it free at botspot.trade/agents · Why connect it
Broker |
Assets in LumiBot |
Paper trading |
Login |
|---|---|---|---|
Stocks, ETFs, options, crypto |
Yes, free paper account |
API key and secret, or OAuth |
|
Stocks, ETFs, single-leg options |
No paper switch in LumiBot |
Schwab developer app and OAuth |
|
Stocks, options, futures and more, by account |
Yes, separate paper login |
Username and password with 2FA |
|
Markets your TWS account can trade |
Yes, paper port 7497 |
TWS or IB Gateway |
|
Stocks, ETFs, options |
Yes, sandbox account |
Access token and account number |
Frequently asked questions¶
Which stock broker is easiest to start with?¶
Alpaca. You can open a free paper account, create an API key in the dashboard, set ALPACA_API_KEY and ALPACA_API_SECRET, and run. Paper mode is the default.
Which brokers can trade options with LumiBot?¶
Alpaca, Charles Schwab (single-leg options), Interactive Brokers and Tradier.
Can I backtest a stock or options strategy before connecting a broker?¶
Yes. Use Yahoo for free daily stock data, or Alpaca, Polygon, ThetaData or Interactive Brokers data for intraday and options history. See Backtesting Trading Strategies in Python with LumiBot.
Can an AI agent trade stocks and options through these brokers?¶
Yes. An AI agent submits orders through the same LumiBot order pipeline, so it can use any of these brokers. See Build AI Trading Agents in Python with LumiBot.
Can I switch brokers without rewriting my strategy?¶
Yes. The strategy class stays the same. You change the broker settings in your .env file, as long as the new broker can trade the assets your strategy uses.
How do I switch Alpaca from paper trading to live trading?¶
Alpaca uses paper trading unless you set ALPACA_IS_PAPER=false and use your live account keys. See the Alpaca guide.