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
↓ 9 callers
Function
_run_script
(case: _BaselineCase)
tests/backtest/test_acceptance_backtests_ci.py:339
↓ 9 callers
Method
_safe_stream_dispatch
Dispatch an event to the stream if it exists. Tradier can run in polling mode and/or with `connect_stream=False`. Order submission and pollin
lumibot/brokers/tradier.py:686
↓ 9 callers
Function
_schwab_broker
(monkeypatch)
tests/test_schwab_live_refresh_apitest.py:16
↓ 9 callers
Method
_stream_established
(self)
lumibot/brokers/broker.py:2767
↓ 9 callers
Function
_submit_and_fill
(strategy, broker, order)
tests/test_backtesting_crypto_cash_unit.py:146
↓ 9 callers
Function
_thetadata_option_query_expiration
Map LumiBot's tradable option expiry to the value expected by ThetaData endpoints.
lumibot/tools/thetadata_helper.py:6273
↓ 9 callers
Function
_to_timezone
(dt: datetime, tz=pytz.timezone("America/New_York"))
lumibot/tools/futures_roll.py:127
↓ 9 callers
Method
_token_id
(asset_or_token: str | Asset)
lumibot/data_sources/polymarket_data.py:573
↓ 9 callers
Function
_utc_iso_timestamp
()
lumibot/components/agents/runtime.py:91
↓ 9 callers
Function
_wait_fill
(strategy: _HarnessStrategy, order: Order, *, timeout: int, drive_smart_limit: bool)
tests/test_smart_limit_live_alpaca.py:85
↓ 9 callers
Function
_wait_fill
(strategy: _HarnessStrategy, order: Order, *, timeout: int, drive_smart_limit: bool)
tests/test_smart_limit_live_matrix_alpaca.py:62
↓ 9 callers
Function
check_connection
Ensure ThetaTerminal is running and responsive.
lumibot/tools/thetadata_helper.py:4966
↓ 9 callers
Method
check_get_last_price
(self, data_source, asset, quote=None, exchange=None)
tests/fixtures.py:160
↓ 9 callers
Function
compute_mid
(bid: float, ask: float)
lumibot/tools/smart_limit_utils.py:37
↓ 9 callers
Method
configure_cash_financing
Configure framework-managed daily cash financing for backtests. Parameters ---------- enabled : bool Enables/disa
lumibot/strategies/strategy.py:1356
↓ 9 callers
Function
create_options_symbol
Create an option symbol string from its components. Parameters ---------- stock_symbol : str The stock symbol, e.g., 'AAPL'.
lumibot/tools/helpers.py:786
↓ 9 callers
Function
create_tearsheet
( strategy_df: pd.DataFrame, strat_name: str, tearsheet_file: str, benchmark_df: pd.DataFrame,
lumibot/tools/indicators.py:1656
↓ 9 callers
Method
dispose
()
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 9 callers
Method
dispose
()
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 9 callers
Method
empty
Check if the DataFrame is empty (compatible with both pandas and polars)
lumibot/entities/bars.py:409
↓ 9 callers
Function
getComputedStyle$1
(element)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:2169
↓ 9 callers
Method
get_contract_details
(self, asset=None)
lumibot/brokers/interactive_brokers.py:1376
↓ 9 callers
Method
get_historical_prices
Get bars for an asset by delegating to get_historical_prices_between_dates for fetching the historical data, followed by additional p
lumibot/backtesting/alpaca_backtesting.py:260
↓ 9 callers
Function
infer_tick_size
(bid: Optional[float], ask: Optional[float])
lumibot/tools/smart_limit_utils.py:5
↓ 9 callers
Function
normalize_option_chains
Normalise arbitrary option-chain payloads into the standard structure.
lumibot/entities/chains.py:254
↓ 9 callers
Function
normalize_symbol_for_broker
Convert an internal LumiBot symbol to a broker-native class-share symbol format. Non class-share symbols are returned unchanged (uppercased/
lumibot/tools/symbol_normalization.py:87
↓ 9 callers
Function
parse_symbol
Parse the given symbol and determine if it's an option or a stock. For options, extract and return the stock symbol, expiration date (as a da
lumibot/tools/symbol_parser.py:14
↓ 9 callers
Function
round_to_tick
(price: float, tick_size: Optional[float], side: Optional[str] = None)
lumibot/tools/smart_limit_utils.py:23
↓ 9 callers
Function
s
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 9 callers
Function
set_log_level
Set the global log level for all Lumibot loggers. Parameters ---------- level : str The log level to set ('DEBUG', 'INFO
lumibot/tools/lumibot_logger.py:853
↓ 9 callers
Function
symbol_matches_root
Check if a contract symbol matches the given root symbol. Parameters ---------- symbol : str Contract symbol to check
lumibot/tools/futures_symbols.py:98
↓ 9 callers
Method
to_minimal_dict
Return a minimal dictionary representation of the asset for progress logging. This creates a lightweight representation suitable for
lumibot/entities/asset.py:467
↓ 9 callers
Method
warning
(self, *args, **kwargs)
tests/test_cloud_account_snapshot.py:14
↓ 8 callers
Method
Event
()
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 8 callers
Function
Gt
(t)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 8 callers
Function
_advance_one_bar
(strategy, broker)
tests/test_crypto_backtesting_order_matrix.py:22
↓ 8 callers
Method
_compute_prefetch_complete
Return True when a cached dataset satisfies the requested coverage window. IMPORTANT: `prefetch_complete` is a performance optimization flag
lumibot/backtesting/thetadata_backtesting_pandas.py:57
↓ 8 callers
Function
_crypto_strategy
(bars)
tests/test_crypto_backtesting_order_matrix.py:18
↓ 8 callers
Method
_decimal
(value: Any)
lumibot/brokers/polymarket.py:1319
↓ 8 callers
Method
_detect_and_dispatch_order_changes
Detect status changes and dispatch appropriate events. This method acquires ``_order_update_lock`` to serialize concurrent websocket
lumibot/brokers/projectx.py:1207
↓ 8 callers
Function
_et
(year, month, day, hour, minute=0)
tests/test_regular_trading_session_helper.py:11
↓ 8 callers
Method
_extract_error_info
Extract error code, message, and details from log record.
lumibot/tools/lumibot_logger.py:292
↓ 8 callers
Method
_extract_order_value
OCO orders have empty values for many fields. This function will pull the value from the child order if the value is empty in the par
lumibot/brokers/tradier.py:1662
↓ 8 callers
Function
_fixture_response
(name: str)
tests/test_thetadata_helper.py:32
↓ 8 callers
Method
_get_cached_tradier_read
(self, endpoint: str)
lumibot/brokers/tradier.py:121
↓ 8 callers
Method
_get_option_client
Lazily initialize and return the option client.
lumibot/data_sources/alpaca_data.py:203
↓ 8 callers
Method
_get_session
(self)
lumibot/tools/data_downloader_queue_client.py:275
↓ 8 callers
Function
_is_placeholder
(value: str)
tests/conftest.py:294
↓ 8 callers
Function
_make_daily_data
Build a `Data(timestep='day')` object from `(timestamp_str, close)` pairs. All OHLC columns are filled with the provided close to keep the fixtur
tests/test_get_last_price_sim_time_safety.py:75
↓ 8 callers
Method
_normalize_activity_to_cash_event
(cls, activity: dict)
lumibot/brokers/alpaca.py:1215
↓ 8 callers
Method
_normalize_symbol_for_broker
Normalize an internal symbol into this broker's preferred native format.
lumibot/brokers/broker.py:133
↓ 8 callers
Function
_order_snapshot
(broker: Schwab, order_id: str, strategy_name: str)
scripts/schwab_titus_workflow_smoke.py:43
↓ 8 callers
Method
_parse_property
(self, data, key, required=False, type=None)
lumibot/entities/bar.py:207
↓ 8 callers
Method
_pull_positions
(self, strategy)
tests/test_broker_cleanup.py:55
↓ 8 callers
Method
_record_projection_event
( self, *, event_type: str, subject_type: str, subject_id: str,
lumibot/components/memory/store.py:773
↓ 8 callers
Method
_set_current_time
Helper to set the mock time.
tests/test_backtesting_broker.py:883
↓ 8 callers
Method
_strategy_name_from_input
(strategy)
lumibot/brokers/broker.py:1403
↓ 8 callers
Method
_submit
(self, order: Order)
tests/backtest/parity_strategies/mes_order_matrix_parity.py:72
↓ 8 callers
Function
_to_utc_iso
Normalize input (datetime or ISO string) to a UTC ISO formatted string. - If input is a string it accepts ISO formats with or without trailin
lumibot/tools/projectx_helpers.py:1114
↓ 8 callers
Function
_usage_value
(payload: Any, *keys: str)
lumibot/components/agents/manager.py:252
↓ 8 callers
Method
aggregate_bars
Aggregate to a new timeframe. Accepts flexible minute/hour/day aliases (e.g. '5min', '5MINUTE', '5 m', '5 Minutes'). Ensures the da
lumibot/entities/bars.py:668
↓ 8 callers
Function
append_missing_markers
Append placeholder rows for dates that returned no data.
lumibot/tools/thetadata_helper.py:2018
↓ 8 callers
Function
build_price_ladder
(mid: float, final_price: float, step_count: int)
lumibot/tools/smart_limit_utils.py:74
↓ 8 callers
Function
c
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 8 callers
Method
calculate_limit_price
(self, *, last_price: Decimal, side: str, asset: Asset)
lumibot/components/drift_rebalancer_logic.py:573
↓ 8 callers
Method
do_polling
This function is called every polling_interval for OAuth-only configurations. It checks for new orders and dispatches them to the str
lumibot/brokers/alpaca.py:1431
↓ 8 callers
Function
e
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 8 callers
Function
first_present
(mapping: Any, *keys: str)
scripts/polymarket_smoke.py:368
↓ 8 callers
Function
getDocumentElement
(element)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:2177
↓ 8 callers
Function
getElement
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 8 callers
Function
getElement
docsrc/_html/bootstrap/js/bootstrap.js:142
↓ 8 callers
Function
getElement
docsrc/_html/bootstrap/js/bootstrap.bundle.js:122
↓ 8 callers
Function
getElement
docsrc/_html/bootstrap/js/bootstrap.esm.js:118
↓ 8 callers
Function
getElementFromSelector
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 8 callers
Function
getElementFromSelector
docsrc/_html/bootstrap/js/bootstrap.js:98
↓ 8 callers
Function
getElementFromSelector
docsrc/_html/bootstrap/js/bootstrap.bundle.js:78
↓ 8 callers
Function
getElementFromSelector
docsrc/_html/bootstrap/js/bootstrap.esm.js:74
↓ 8 callers
Method
get_historical_prices_between_dates
( self, *, base_asset: Asset = None, quote_asset: Asset = None
lumibot/backtesting/alpaca_backtesting.py:723
↓ 8 callers
Method
get_metrics
(self)
lumibot/components/agents/duckdb_tools.py:376
↓ 8 callers
Method
get_order_by_id
(self, order_id)
tests/test_smart_limit_multileg_unit.py:238
↓ 8 callers
Method
get_parameters
Get the parameters of the strategy. Returns ------- parameters : dict The parameters of the strategy.
lumibot/strategies/strategy.py:5036
↓ 8 callers
Method
get_time_to_close
Not applicable with Crypto 24/7 markets. Returns ------- None
lumibot/brokers/ccxt.py:61
↓ 8 callers
Method
initialize
(self, parameters=None)
tests/test_smart_limit_live_alpaca.py:17
↓ 8 callers
Method
is_parent
Check if the order is a parent order. Parent orders are typically Multileg orders where the child orders do the actual trading and ca
lumibot/entities/order.py:721
↓ 8 callers
Method
limit_order
Limit order logic.
lumibot/backtesting/backtesting_broker.py:4773
↓ 8 callers
Method
log_message
(self, *args, **kwargs)
tests/test_agent_tool_permissions.py:27
↓ 8 callers
Method
query
(self)
lumibot/components/agents/builtins.py:1478
↓ 8 callers
Function
r
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 8 callers
Function
r
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 8 callers
Method
set
(self)
lumibot/entities/order.py:41
↓ 8 callers
Method
show
()
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 8 callers
Method
show
()
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 8 callers
Method
stop_order
Stop order logic.
lumibot/backtesting/backtesting_broker.py:4813
↓ 8 callers
Method
to_default_timezone
Returns a datetime localized to the data source's default timezone. Parameters ---------- dt : datetime.datetime
lumibot/strategies/strategy.py:3610
↓ 8 callers
Method
to_default_timezone
(self, dt)
lumibot/data_sources/data_source.py:281
↓ 8 callers
Method
to_minimal_dict
Return a minimal dictionary representation of the position for progress logging. This creates a lightweight representation suitable
lumibot/entities/position.py:226
↓ 8 callers
Function
u
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 8 callers
Function
update_download_status_queue_info
Best-effort update of queue diagnostics for the active download. Called from the queue client while a ThetaData fetch is in progress. It inte
lumibot/tools/thetadata_helper.py:238
↓ 8 callers
Method
wait
(self, timeout: float | None = None)
lumibot/entities/order.py:53
↓ 7 callers
Function
_
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
← previous
next →
401–500 of 9,807, ranked by callers