Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Lumiwealth/lumibot
/ functions
Functions
9,807 in github.com/Lumiwealth/lumibot
⨍
Functions
9,807
◇
Types & classes
1,103
↳
Endpoints
177
↓ 6 callers
Method
initialize_market_calendars
Initialize broker trading calendar from a DataFrame. Sorts by market_close and sets index for fast lookups; stores DataFrame on the b
lumibot/brokers/broker.py:555
↓ 6 callers
Function
is_market_open
Checks if the market is open at a given timezone-aware datetime. Args: dtm: A timezone-aware datetime object. market: A stri
lumibot/tools/helpers.py:492
↓ 6 callers
Method
iso
(value)
lumibot/strategies/scheduled_timing.py:41
↓ 6 callers
Method
json
(self)
tests/backtest/test_ai_committee_builtin_tools_backtest.py:47
↓ 6 callers
Function
n
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 6 callers
Function
normalize_symbol_for_internal
Normalize broker/native class-share stock symbols to LumiBot's internal canonical format (dot notation). Examples: - BRK/B -> BRK.B
lumibot/tools/symbol_normalization.py:63
↓ 6 callers
Method
parse8601
(value)
tests/test_ccxt_store.py:333
↓ 6 callers
Method
prefetch_data
Simulate prefetching data for assets
examples/databento_optimized_example.py:22
↓ 6 callers
Function
print_full_pandas_dataframes
Show the whole dataframe when printing pandas dataframes
lumibot/tools/pandas.py:49
↓ 6 callers
Method
raise_for_status
(self)
tests/backtest/test_ai_committee_builtin_tools_backtest.py:44
↓ 6 callers
Method
record
(self, **fields)
lumibot/strategies/scheduled_timing.py:60
↓ 6 callers
Function
reflow
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 6 callers
Function
reflow
docsrc/_html/bootstrap/js/bootstrap.js:225
↓ 6 callers
Function
reflow
docsrc/_html/bootstrap/js/bootstrap.bundle.js:205
↓ 6 callers
Function
reflow
docsrc/_html/bootstrap/js/bootstrap.esm.js:201
↓ 6 callers
Method
remote_key_for
( self, local_path: Path, payload: Optional[Dict[str, object]] = None, )
lumibot/tools/backtest_cache.py:369
↓ 6 callers
Function
reset_theta_terminal_tracking
Clear cached ThetaTerminal process references.
lumibot/tools/thetadata_helper.py:2122
↓ 6 callers
Method
save
(self, key: str, payload: dict[str, Any])
lumibot/components/agents/replay_cache.py:88
↓ 6 callers
Method
send_discord_message
Sends a message to Discord
lumibot/strategies/_strategy.py:3629
↓ 6 callers
Method
set_canceled
(self)
lumibot/entities/order.py:1372
↓ 6 callers
Method
should_continue
(self)
lumibot/strategies/strategy_executor.py:215
↓ 6 callers
Method
symbol2asset
Convert a symbol string to an Asset object. This is particularly useful for converting option symbols. Parameters ----------
lumibot/entities/asset.py:315
↓ 6 callers
Method
toggle
(e)
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 6 callers
Method
toggle
(relatedTarget)
docsrc/_html/bootstrap/js/bootstrap.js:2817
↓ 6 callers
Method
toggle
(relatedTarget)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:4583
↓ 6 callers
Method
toggle
(relatedTarget)
docsrc/_html/bootstrap/js/bootstrap.esm.js:2793
↓ 6 callers
Function
u
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 6 callers
Method
wait_for_result
Wait for a request to complete. Polls the queue for status updates and returns when complete. Args: request_id: The requ
lumibot/tools/data_downloader_queue_client.py:725
↓ 5 callers
Function
$t
(t)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 5 callers
Function
_alpaca
()
tests/test_smart_limit_live_matrix_alpaca.py:25
↓ 5 callers
Method
_append_row
(self, row)
tests/test_scheduled_run_once.py:103
↓ 5 callers
Method
_apply_timezone
(self, df=None)
lumibot/entities/bars.py:423
↓ 5 callers
Method
_attach_raw_broker_data
(entity, raw_payload, **metadata)
lumibot/brokers/schwab.py:688
↓ 5 callers
Method
_await_market_to_open
Executes infinite loop until market opens
lumibot/brokers/broker.py:2241
↓ 5 callers
Function
_broker_with_positions
(positions)
tests/test_schwab_positions_unit.py:149
↓ 5 callers
Method
_build_dataset_keys
( self, asset: Asset, quote: Optional[Asset], dataset_key: str, exchan
lumibot/backtesting/interactive_brokers_rest_backtesting.py:90
↓ 5 callers
Function
_build_frame
(closes)
tests/test_ibkr_daily_split_spike_repair.py:11
↓ 5 callers
Function
_build_prediction_backtest
()
tests/test_polymarket_backtesting.py:80
↓ 5 callers
Function
_build_stock_strategy
(price=50.0)
tests/test_backtesting_multileg_unit.py:37
↓ 5 callers
Method
_cache_last_price_polars
Cache the last price for an asset. Parameters ---------- asset : Asset The asset price : float
lumibot/data_sources/polars_mixin.py:336
↓ 5 callers
Method
_cancel_order_if_time_in_force_elapsed
( self, order: Optional[Order], strategy=None, *, include_session_clos
lumibot/backtesting/backtesting_broker.py:3468
↓ 5 callers
Function
_classify_agent_error
Map an exception raised by the AI agent stack to a bucket. See the module-level docstring for the taxonomy. Safe default is "unknown" so beha
lumibot/components/agents/runtime.py:473
↓ 5 callers
Function
_close_enough
(left: Any, right: Any, *, tolerance: float = 1e-9)
scripts/run_crypto_backtest_validation.py:347
↓ 5 callers
Function
_coerce_datetime_index_to_utc_naive
Return a copy with a comparable UTC-naive DatetimeIndex.
lumibot/tools/indicators.py:35
↓ 5 callers
Function
_coerce_event_timestamp
Coerce Theta event timestamps (string or numeric) into normalized UTC dates.
lumibot/tools/thetadata_helper.py:1178
↓ 5 callers
Method
_convert_broker_position_to_lumibot_position
Convert ProjectX position to Lumibot Position object.
lumibot/brokers/projectx.py:1055
↓ 5 callers
Function
_day_df
(index: pd.DatetimeIndex, start_price: float)
scripts/bench_ibkr_speed_burner_stubbed.py:54
↓ 5 callers
Function
_day_df
(index: pd.DatetimeIndex, start_price: float)
tests/test_ibkr_speed_burner_stubbed.py:77
↓ 5 callers
Method
_decode_base64url_json
Decode a base64url JSON payload (no padding required).
lumibot/brokers/tradier.py:163
↓ 5 callers
Method
_dispatch_status_change
Dispatch appropriate event based on status change.
lumibot/brokers/projectx.py:1238
↓ 5 callers
Method
_event_timestamp
(self)
lumibot/components/agents/manager.py:738
↓ 5 callers
Method
_export_artifacts_best_effort
(self)
lumibot/components/memory/store.py:1008
↓ 5 callers
Function
_find_single
(paths: list[Path], description: str)
tests/backtest/test_acceptance_backtests_ci.py:151
↓ 5 callers
Method
_format_stats
(self)
lumibot/strategies/_strategy.py:1937
↓ 5 callers
Method
_frame_has_quote_columns
(self, frame: Optional[pd.DataFrame])
lumibot/backtesting/thetadata_backtesting_pandas.py:408
↓ 5 callers
Method
_get_stream_object
Get the broker stream connection. Returns PollingStream for OAuth-only configurations, TradingStream otherwise.
lumibot/brokers/alpaca.py:1345
↓ 5 callers
Method
_invalidate_sessions
(self, reason: str)
lumibot/tools/data_downloader_queue_client.py:283
↓ 5 callers
Function
_is_number
(value: object)
tests/test_indicators_datetime_index.py:19
↓ 5 callers
Function
_is_number
(value: object)
tests/test_strategy_dump_stats_regression.py:56
↓ 5 callers
Method
_is_token_valid_for_schwab_py
Returns True if the token at token_path has both access_token and refresh_token. Accepts both wrapped and flat formats.
lumibot/tools/schwab_helper.py:148
↓ 5 callers
Method
_is_transient_broker_read_error
(cls, error: Exception)
lumibot/brokers/tradier.py:87
↓ 5 callers
Function
_json_loads
(value: Any, default: Any)
lumibot/components/memory/store.py:27
↓ 5 callers
Function
_make_df
(columns: dict[str, list[float]])
tests/backtesting/test_thetadata_ndx_underlying_proxy.py:12
↓ 5 callers
Function
_make_returns_df
(index: pd.Index, returns: list[float] | None = None)
tests/test_indicators_datetime_index.py:12
↓ 5 callers
Function
_minute_df
(index: pd.DatetimeIndex, start_price: float)
scripts/bench_ibkr_speed_burner_stubbed.py:46
↓ 5 callers
Function
_minute_df
(tz: str = "America/New_York")
tests/test_pandas_data_find_asset_timestep_match.py:9
↓ 5 callers
Function
_minute_df
(index: pd.DatetimeIndex, start_price: float)
tests/test_ibkr_speed_burner_stubbed.py:63
↓ 5 callers
Function
_normalise_expiry
Convert various expiry representations into a ``datetime.date``.
lumibot/entities/chains.py:201
↓ 5 callers
Function
_normalize_asset_type
(value: Any)
lumibot/components/agents/asset_resolution.py:12
↓ 5 callers
Function
_normalize_asset_type
(value: Any)
lumibot/backtesting/routed_backtesting.py:40
↓ 5 callers
Method
_normalize_history_payload_to_df
(data)
lumibot/brokers/tradier.py:1266
↓ 5 callers
Function
_normalize_reference_date
(reference_date: Optional[datetime])
lumibot/tools/futures_roll.py:133
↓ 5 callers
Method
_normalize_snapshot_datetime
(self, dt_value)
lumibot/strategies/_strategy.py:1649
↓ 5 callers
Method
_on_bot_crash
Use this lifecycle event to execute code when an exception is raised and the bot crashes
lumibot/strategies/strategy_executor.py:1216
↓ 5 callers
Method
_order_from_submit_response
(self, response: Any, original_order: Order)
lumibot/brokers/polymarket.py:1028
↓ 5 callers
Method
_parse_broker_order
(self, response: dict, strategy_name: str, strategy_object=None)
lumibot/brokers/polymarket.py:593
↓ 5 callers
Method
_parse_simple_order
Parse a simple Schwab order (non-OCO) into Lumibot Order objects. Parameters ---------- schwab_order : dict
lumibot/brokers/schwab.py:1240
↓ 5 callers
Function
_pick_expiry
(strategy: _HarnessStrategy, underlying: Asset, days_out: int)
tests/test_smart_limit_live_matrix_alpaca.py:113
↓ 5 callers
Function
_pick_expiry
(strategy: _HarnessStrategy, underlying: Asset, days_out: int)
tests/test_smart_limit_live_matrix_tradier.py:85
↓ 5 callers
Function
_placeholder_option_cache_needs_provider_expiry_refresh
Detect placeholder-only option caches written with a stale provider expiry convention.
lumibot/tools/thetadata_helper.py:6312
↓ 5 callers
Method
_polars_ohlcv
(rows: int = 3)
tests/test_databento_data.py:52
↓ 5 callers
Function
_poll_all_for_order
(broker, order_id, strategy_name, *, timeout_seconds=4.0)
tests/test_schwab_live_refresh_apitest.py:45
↓ 5 callers
Method
_process_canceled_order
(self, order)
lumibot/brokers/broker.py:1858
↓ 5 callers
Method
_process_error_order
(self, order, error)
lumibot/brokers/broker.py:1914
↓ 5 callers
Method
_process_filled_order
(self, order, price, quantity)
lumibot/brokers/broker.py:1888
↓ 5 callers
Method
_process_partially_filled_order
(self, order, price, quantity)
lumibot/brokers/broker.py:1867
↓ 5 callers
Method
_pull_broker_all_orders
(self)
lumibot/brokers/polymarket.py:581
↓ 5 callers
Method
_pull_broker_all_orders
Get the broker open orders
lumibot/brokers/ccxt.py:343
↓ 5 callers
Method
_pull_positions
(self, strategy)
lumibot/brokers/polymarket.py:550
↓ 5 callers
Function
_quote_dict
(broker, asset: Asset)
scripts/schwab_titus_live_fill_hedge_smoke.py:39
↓ 5 callers
Method
_record_metadata
Persist dataset coverage details for reuse checks.
lumibot/backtesting/thetadata_backtesting_pandas.py:241
↓ 5 callers
Function
_record_missing_window
( *, asset: Asset, quote: Optional[Asset], timestep: str, exchange: Optional[str], sou
lumibot/tools/ibkr_helper.py:2242
↓ 5 callers
Method
_reindex_and_fill
( self, df: pd.DataFrame, trading_times: pd.DatetimeIndex, tim
lumibot/backtesting/alpaca_backtesting.py:793
↓ 5 callers
Function
_remote_payload
( asset: Asset, quote: Optional[Asset], timestep: str, exchange: Optional[str], source: st
lumibot/tools/ibkr_helper.py:3759
↓ 5 callers
Method
_resolve_futures_symbol
Resolve asset to specific futures contract symbol
lumibot/data_sources/databento_data_polars.py:519
↓ 5 callers
Method
_resolve_tradovate_futures_symbol
Resolve futures assets to the symbol format expected by Tradovate. For continuous contracts this method delegates to ``Asset
lumibot/brokers/tradovate.py:352
↓ 5 callers
Method
_row_to_memory
(self, row: sqlite3.Row)
lumibot/components/memory/store.py:956
↓ 5 callers
Function
_safe_call
(func, default=None)
lumibot/components/agents/manager.py:105
↓ 5 callers
Function
_safe_cancel
(broker: Schwab, order: Order | None, strategy_name: str)
scripts/schwab_titus_workflow_smoke.py:171
↓ 5 callers
Function
_select_tsll_call_asset
(broker)
tests/test_schwab_live_refresh_apitest.py:54
← previous
next →
701–800 of 9,807, ranked by callers