LumiBot vs VectorBT

VectorBT is a high-speed vectorized Python backtesting library built on NumPy, pandas, and Numba for rapid parameter sweeps. LumiBot is an event-driven Python framework for backtesting, paper trading, live multi-broker execution, and built-in AI trading agents. Many quants use vectorized sweeps for initial signal discovery and an event-driven broker engine like LumiBot for realistic execution and live deployment.

At a glance

VectorBT

LumiBot

Architecture

Vectorized array backtesting accelerated with NumPy and Numba

Event-driven strategy lifecycle (on_trading_iteration) with same-code backtest and live execution

License

Apache 2.0 with Commons Clause (VectorBT); separate commercial license for VectorBT PRO

GPL-3.0 (open source)

Parameter sweeps

Very fast across thousands of parameter combinations on historical OHLCV arrays

Event-driven simulation with detailed trade logs, tearsheets, order states, and charts

Live broker trading

Research and backtesting focus (no built-in multi-broker live order router in open-source core)

Alpaca, Interactive Brokers, Tradier, Schwab, Tradovate, ProjectX/TopstepX, Bitunix, Kalshi, Polymarket, and CCXT crypto exchanges

Asset classes

Any time-series array you supply (typically OHLCV price matrices)

Stocks, ETFs, multi-leg options, futures, forex, crypto, and prediction markets

AI trading agents

None built in

Built-in LLM agents inside the backtest and live loop with DuckDB tools and replay caching. See Build AI Trading Agents in Python with LumiBot.

Hosted option

Self-hosted Python / Jupyter notebooks

Self-hosted Python, or BotSpot for hosted backtests, deployment, and remote MCP

When to choose VectorBT

Choose VectorBT when your primary task is scanning thousands of indicator thresholds, walk-forward grids, or portfolio weights across clean OHLCV arrays inside Jupyter notebooks at maximum speed.

When to choose LumiBot

Choose LumiBot when you need event-driven order lifecycle fidelity, multi-leg options or futures contract handling, native paper and live trading across multiple brokers without rewriting your strategy, or AI trading agents that reason bar-by-bar inside backtests and live runs.

Frequently asked questions

Can I use VectorBT and LumiBot together?

Yes. A common workflow is to explore raw signal ideas quickly in vectorized notebooks with VectorBT, then implement the final strategy with realistic order types, position sizing, risk guards, and broker connectivity in LumiBot.

Does open-source VectorBT include live broker trading?

Open-source VectorBT focuses on vectorized historical simulation and portfolio analytics rather than multi-broker live order execution. LumiBot runs the same strategy class in backtesting, paper trading, and live broker accounts.

Which is better for options or futures automation?

LumiBot includes native options chain filtering, OptionsHelper, SMART_LIMIT order execution, and direct broker integrations for options (Alpaca, Tradier, Schwab, Interactive Brokers) and futures (Tradovate, TopstepX/ProjectX, Interactive Brokers).

Try LumiBot with your AI assistant

The fastest way to try LumiBot is to let your AI coding assistant do the setup. Install the free LumiBot trading skills in Claude Code, Codex or Cursor with one command, then connect the free BotSpot MCP so your assistant can run backtests in the cloud. See Use LumiBot with Claude Code, Codex, Cursor and VS Code for the exact commands.

What BotSpot MCP adds

Use Claude, ChatGPT, Codex, Cursor, VS Code or another MCP-compatible assistant? Connect the free BotSpot MCP for:

  • Skills: build LumiBot strategies.

  • Free data: news, economics and SEC filings.

  • Backtests: run tests and read charts.

  • Cloud hosting: low-cost scheduled bots.

  • Community: share bots and discuss trades.

  • Marketplace: discover and publish strategies.

  • Broker linking: connect accounts through BotSpot.

Connect ChatGPT, Claude or another agent to your broker

Sources

Facts on this page were checked on December 3, 2026, against each project’s own repository and documentation. Backtests are simulations and do not promise future returns.