Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/Lumiwealth/lumibot
/ types & classes
Types & classes
1,103 in github.com/Lumiwealth/lumibot
⨍
Functions
9,807
◇
Types & classes
1,103
↳
Endpoints
177
↓ 2,049 callers
Class
Asset
This is a base class for Assets including stocks, futures, options, forex, and crypto. Parameters ---------- symbol : str
lumibot/entities/asset.py:48
↓ 278 callers
Class
Order
lumibot/entities/order.py:154
↓ 132 callers
Class
BacktestingBroker
lumibot/backtesting/backtesting_broker.py:134
↓ 105 callers
Class
Data
Input and manage Pandas dataframes for backtesting. Parameters ---------- asset : Asset Object Asset to which this data is attach
lumibot/entities/data.py:57
↓ 63 callers
Class
SmartLimitConfig
Configuration for SMART_LIMIT orders. Parameters ---------- preset : SmartLimitPreset Execution pace (FAST, NORMAL, PATIENT).
lumibot/entities/smart_limit.py:22
↓ 62 callers
Class
Alpaca
A broker class that connects to Alpaca Attributes ---------- api : tradeapi.REST Alpaca API object Methods ------- g
lumibot/brokers/alpaca.py:39
↓ 62 callers
Class
Position
This is a Position object. It is used to keep track of the quantity of an asset owned in a strategy. Position objects are retreived from the
lumibot/entities/position.py:7
↓ 62 callers
Class
Quote
Quote entity class. Attributes: ----------- asset : Asset The asset for which the quote is being provided. price : float
lumibot/entities/quote.py:6
↓ 62 callers
Class
Trader
lumibot/traders/trader.py:25
↓ 60 callers
Class
TradingFee
TradingFee class. Used to define the trading fees for a broker in a strategy/backtesting.
lumibot/entities/trading_fee.py:4
↓ 50 callers
Class
BoundTool
lumibot/components/agents/schemas.py:92
↓ 45 callers
Class
Bars
Pricing and financial data for given Symbol. The OHLCV, and if available, dividends, stock splits for a given financial instrument. Price cha
lumibot/entities/bars.py:81
↓ 41 callers
Class
OptionsHelper
OptionsHelper is a utility component for constructing and managing various options strategies. It provides functions for: - Finding vali
lumibot/components/options_helper.py:36
↓ 40 callers
Class
ToolDefinition
lumibot/components/agents/schemas.py:101
↓ 39 callers
Class
MockStrategyWithOrderLogic
tests/test_drift_rebalancer.py:963
↓ 39 callers
Class
PandasDataBacktesting
Backtesting implementation of the PandasData class. This class is just kept around for legacy purposes. Please just use PandasData directly
lumibot/backtesting/pandas_backtesting.py:4
↓ 35 callers
Class
Tradier
Broker that connects to Tradier API to place orders and retrieve data. Tradier API only supports Order streaming for live accounts, paper tra
lumibot/brokers/tradier.py:50
↓ 33 callers
Class
InteractiveBrokersRESTBacktesting
Backtesting data source that fetches historical data from IBKR via the Data Downloader. IMPORTANT: - Uses the Client Portal Gateway (REST) st
lumibot/backtesting/interactive_brokers_rest_backtesting.py:19
↓ 33 callers
Class
LumibotBrokerAPIError
lumibot/brokers/broker.py:105
↓ 31 callers
Class
QueueClient
Queue-aware client for ThetaData requests. This client maintains local state about pending requests and provides methods to check queue statu
lumibot/tools/data_downloader_queue_client.py:201
↓ 31 callers
Class
StrategyExecutor
lumibot/strategies/strategy_executor.py:37
↓ 30 callers
Class
ThetaDataBacktestingPandas
Backtesting implementation of ThetaData
lumibot/backtesting/thetadata_backtesting_pandas.py:40
↓ 29 callers
Class
AgentTraceEvent
lumibot/components/agents/schemas.py:39
↓ 29 callers
Class
SafeList
lumibot/trading_builtins/safe_list.py:7
↓ 28 callers
Class
YahooDataBacktesting
tests/test_backtesting_data_source_env.py:116
↓ 24 callers
Class
AlpacaData
lumibot/data_sources/alpaca_data.py:34
↓ 22 callers
Class
BotspotErrorHandler
Handler that reports errors to Botspot API endpoint. Only active when LUMIWEALTH_API_KEY is available. Includes rate limiting to pre
lumibot/tools/lumibot_logger.py:237
↓ 21 callers
Class
AgentRunResult
lumibot/components/agents/schemas.py:48
↓ 21 callers
Class
RoutedBacktestingPandas
Backtesting data source that routes requests to multiple providers by asset type. Supported providers (routing values are case/whitespace/_/- ins
lumibot/backtesting/routed_backtesting.py:1064
↓ 20 callers
Class
BuyAndHold
lumibot/example_strategies/stock_buy_and_hold.py:15
↓ 20 callers
Class
PolymarketData
Public market-data source for Polymarket's international CLOB.
lumibot/data_sources/polymarket_data.py:16
↓ 20 callers
Class
ThetaDataBacktesting
tests/test_backtesting_data_source_env.py:81
↓ 19 callers
Class
TradovateAPIError
Exception raised for errors in the Tradovate API.
lumibot/brokers/tradovate.py:23
↓ 17 callers
Class
FakeSourceWithQuote
Fake data source that supports get_quote().
tests/test_portfolio_valuation_fallbacks.py:36
↓ 15 callers
Class
AgentManager
lumibot/components/agents/manager.py:1625
↓ 15 callers
Class
MockStrategyWithDriftCalculationLogic
tests/test_drift_rebalancer.py:77
↓ 15 callers
Class
PolygonDataBacktesting
tests/test_backtesting_data_source_env.py:47
↓ 14 callers
Class
Indicators
Per-strategy indicator accessor. See module docstring for usage.
lumibot/indicators/indicators.py:107
↓ 14 callers
Class
RollRule
lumibot/tools/futures_roll.py:30
↓ 14 callers
Class
_Quote
tests/test_smart_limit_multileg_unit.py:16
↓ 14 callers
Class
_Response
tests/test_sec_fundamentals.py:6
↓ 14 callers
Class
_StrategyStub
tests/test_backtesting_order_lifecycle.py:12
↓ 12 callers
Class
DataBentoDataBacktestingPolars
Backtesting implementation of DataBento data source This class extends PolarsData to provide DataBento-specific backtesting functionality.
lumibot/backtesting/databento_backtesting_polars.py:28
↓ 12 callers
Class
PandasData
PandasData is a Backtesting-only DataSource that uses a Pandas DataFrame (read from CSV) as the source of data for a backtest run. It is not
lumibot/data_sources/pandas_data.py:22
↓ 12 callers
Class
_Strategy
tests/test_agent_tool_permissions.py:19
↓ 11 callers
Class
DataPolars
Input and manage Polars dataframes for backtesting. This is a polars-optimized version of the Data class that stores data as polars DataFrame
lumibot/entities/data_polars.py:26
↓ 11 callers
Class
IbkrConidKey
lumibot/tools/ibkr_helper.py:372
↓ 11 callers
Class
_DummyStrategy
tests/test_backtesting_ccxt_execution_semantics.py:39
↓ 10 callers
Class
TimeoutError
Custom timeout exception for test timeouts.
tests/test_session_manager.py:18
↓ 10 callers
Class
TradingSlippage
TradingSlippage class. Defines a per-order slippage amount for backtesting fills.
lumibot/entities/trading_slippage.py:4
↓ 10 callers
Class
_BrokerStub
tests/test_smart_limit_multileg_unit.py:21
↓ 10 callers
Class
_MinimalStrategy
Strategy stub that avoids Strategy.__init__ (no broker side effects).
tests/test_smart_limit_multileg_unit.py:33
↓ 9 callers
Class
Bitunix
A broker class that connects to the Bitunix exchange for crypto futures trading. This broker is designed specifically for Bitunix's perpetua
lumibot/brokers/bitunix.py:18
↓ 9 callers
Class
Bucket
scripts/analyze_yappi_csv.py:31
↓ 9 callers
Class
Case
scripts/generate_acceptance_backtests_baselines.py:30
↓ 9 callers
Class
MockSubscriber
Mock subscriber to capture lifecycle events
tests/test_projectx_lifecycle_unit.py:140
↓ 9 callers
Class
PolarsData
PolarsData is a Backtesting-only DataSource that will be optimized to use Polars DataFrames. Currently identical to PandasData as a baseline.
lumibot/data_sources/polars_data.py:16
↓ 9 callers
Class
ProjectXData
ProjectX data source implementation for market data. Provides historical data for futures contracts through ProjectX API. Supports multi
lumibot/data_sources/projectx_data.py:24
↓ 9 callers
Class
_DummyIbkrFuturesStrategy
tests/test_ibkr_futures_backtesting_smoke_stubbed.py:16
↓ 8 callers
Class
AlpacaBacktesting
lumibot/backtesting/alpaca_backtesting.py:30
↓ 8 callers
Class
FakeQuote
Fake quote object with bid/ask prices.
tests/test_portfolio_valuation_fallbacks.py:29
↓ 8 callers
Class
RuntimeRequest
lumibot/components/agents/runtime.py:362
↓ 8 callers
Class
Tradovate
Tradovate broker that implements connection to the Tradovate API.
lumibot/brokers/tradovate.py:31
↓ 8 callers
Class
_BrokerStub
tests/test_smart_limit_single_leg_unit.py:19
↓ 8 callers
Class
_FakeDayData
tests/test_ibkr_index_daily_last_price_unit.py:9
↓ 8 callers
Class
_MinimalStrategy
Strategy stub that avoids Strategy.__init__ (no broker side effects).
tests/test_smart_limit_single_leg_unit.py:30
↓ 8 callers
Class
_ProviderRegistry
lumibot/backtesting/routed_backtesting.py:1008
↓ 8 callers
Class
_Response
tests/backtest/test_ai_committee_builtin_tools_backtest.py:38
↓ 7 callers
Class
CcxtCacheDB
A ccxt data cache class using duckdb. The data being cached is OHLCV data and is stored in UTC. After importing the data, you'll need to chang
lumibot/tools/ccxt_data_store.py:25
↓ 7 callers
Class
FakeHttpClient
tests/test_polymarket_data.py:7
↓ 7 callers
Class
MemoryStore
SQLite-backed memory store for Lumibot trading agents. The SQLite database is the live write path. Events are append-only; the `memory_index`
lumibot/components/memory/store.py:48
↓ 7 callers
Class
PollingStream
A stream that polls an API endpoint at a regular interval and dispatches events based on the response. It is required that a polling action i
lumibot/trading_builtins/custom_stream.py:87
↓ 7 callers
Class
Polymarket
lumibot/brokers/polymarket.py:302
↓ 7 callers
Class
ProjectX
ProjectX broker implementation for futures trading. Supports multiple underlying brokers through ProjectX gateway. Base URLs are pro
lumibot/brokers/projectx.py:42
↓ 7 callers
Class
SECFundamentals
Direct SEC EDGAR client with mandatory local caching and point-in-time helpers.
lumibot/fundamentals/sec.py:154
↓ 7 callers
Class
_CancelClient
tests/test_schwab_positions_unit.py:45
↓ 7 callers
Class
_Strategy
tests/test_agent_alpaca_news_builtin.py:6
↓ 6 callers
Class
AssetsMapping
lumibot/entities/asset.py:880
↓ 6 callers
Class
BacktestCacheManager
lumibot/tools/backtest_cache.py:88
↓ 6 callers
Class
CSVErrorHandler
Handler that writes ERROR and WARNING messages to CSV with deduplication.
lumibot/tools/lumibot_logger.py:62
↓ 6 callers
Class
CashEvent
Normalized broker cash activity payload for cloud telemetry.
lumibot/entities/cash_event.py:7
↓ 6 callers
Class
DataBentoDataPolars
DataBento data source optimized with Polars and proper Live API usage. Uses Live API for real-time trade streaming to achieve <1 minute lag.
lumibot/data_sources/databento_data_polars.py:39
↓ 6 callers
Class
DisabledCacheManager
tests/test_thetadata_helper.py:825
↓ 6 callers
Class
LumibotFormatter
Custom formatter for Lumibot that provides consistent formatting and includes source information for warnings and errors.
lumibot/tools/lumibot_logger.py:503
↓ 6 callers
Class
NotificationManager
Per-strategy notification fanout with backtest-safe defaults.
lumibot/components/notifications/base.py:17
↓ 6 callers
Class
ProviderSpec
lumibot/backtesting/routed_backtesting.py:30
↓ 6 callers
Class
QueuedRequestInfo
Information about a request in the queue.
lumibot/tools/data_downloader_queue_client.py:185
↓ 6 callers
Class
RoutingProviderError
lumibot/backtesting/routed_backtesting.py:25
↓ 6 callers
Class
TestStrategy
tests/test_get_historical_prices.py:251
↓ 6 callers
Class
_DummyIbkrCryptoStrategy
tests/test_ibkr_crypto_backtesting_smoke_stubbed.py:16
↓ 6 callers
Class
_OptionSettlementStrategyStub
tests/test_backtesting_broker.py:27
↓ 6 callers
Class
_Quote
tests/test_smart_limit_single_leg_unit.py:14
↓ 5 callers
Class
BacktestingSession
Session manager for backtesting scenarios. Ensures guaranteed time progression to prevent infinite restart loops that occur when _ru
lumibot/strategies/session_manager.py:131
↓ 5 callers
Class
CcxtData
lumibot/data_sources/ccxt_data.py:17
↓ 5 callers
Class
CellConfig
scripts/run_lumibot_data_matrix.py:82
↓ 5 callers
Class
DataBentoClient
DataBento client wrapper for handling API connections and requests
lumibot/tools/databento_helper.py:47
↓ 5 callers
Class
DummyBroker
tests/test_thetadata_option_daily_mtm_snapshot.py:23
↓ 5 callers
Class
DummyStrategy
tests/test_thetadata_option_daily_mtm_snapshot.py:26
↓ 5 callers
Class
FREDMacroData
FRED/ALFRED macro data client with local caching and strategy-date gating. Data access requires ``FRED_API_KEY`` and uses the official API with
lumibot/macro/fred.py:82
↓ 5 callers
Class
FakeQueueClient
tests/test_thetadata_helper.py:2149
next →
1–100 of 1,103, ranked by callers