MCPcopy Create free account

hub / github.com/Lumiwealth/lumibot / functions

Functions9,807 in github.com/Lumiwealth/lumibot

↓ 9 callersFunction_run_script
(case: _BaselineCase)
tests/backtest/test_acceptance_backtests_ci.py:339
↓ 9 callersMethod_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 callersFunction_schwab_broker
(monkeypatch)
tests/test_schwab_live_refresh_apitest.py:16
↓ 9 callersMethod_stream_established
(self)
lumibot/brokers/broker.py:2767
↓ 9 callersFunction_submit_and_fill
(strategy, broker, order)
tests/test_backtesting_crypto_cash_unit.py:146
↓ 9 callersFunction_thetadata_option_query_expiration
Map LumiBot's tradable option expiry to the value expected by ThetaData endpoints.
lumibot/tools/thetadata_helper.py:6273
↓ 9 callersFunction_to_timezone
(dt: datetime, tz=pytz.timezone("America/New_York"))
lumibot/tools/futures_roll.py:127
↓ 9 callersMethod_token_id
(asset_or_token: str | Asset)
lumibot/data_sources/polymarket_data.py:573
↓ 9 callersFunction_utc_iso_timestamp
()
lumibot/components/agents/runtime.py:91
↓ 9 callersFunction_wait_fill
(strategy: _HarnessStrategy, order: Order, *, timeout: int, drive_smart_limit: bool)
tests/test_smart_limit_live_alpaca.py:85
↓ 9 callersFunction_wait_fill
(strategy: _HarnessStrategy, order: Order, *, timeout: int, drive_smart_limit: bool)
tests/test_smart_limit_live_matrix_alpaca.py:62
↓ 9 callersFunctioncheck_connection
Ensure ThetaTerminal is running and responsive.
lumibot/tools/thetadata_helper.py:4966
↓ 9 callersMethodcheck_get_last_price
(self, data_source, asset, quote=None, exchange=None)
tests/fixtures.py:160
↓ 9 callersFunctioncompute_mid
(bid: float, ask: float)
lumibot/tools/smart_limit_utils.py:37
↓ 9 callersMethodconfigure_cash_financing
Configure framework-managed daily cash financing for backtests. Parameters ---------- enabled : bool Enables/disa
lumibot/strategies/strategy.py:1356
↓ 9 callersFunctioncreate_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 callersFunctioncreate_tearsheet
( strategy_df: pd.DataFrame, strat_name: str, tearsheet_file: str, benchmark_df: pd.DataFrame,
lumibot/tools/indicators.py:1656
↓ 9 callersMethoddispose
()
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 9 callersMethoddispose
()
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 9 callersMethodempty
Check if the DataFrame is empty (compatible with both pandas and polars)
lumibot/entities/bars.py:409
↓ 9 callersFunctiongetComputedStyle$1
(element)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:2169
↓ 9 callersMethodget_contract_details
(self, asset=None)
lumibot/brokers/interactive_brokers.py:1376
↓ 9 callersMethodget_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 callersFunctioninfer_tick_size
(bid: Optional[float], ask: Optional[float])
lumibot/tools/smart_limit_utils.py:5
↓ 9 callersFunctionnormalize_option_chains
Normalise arbitrary option-chain payloads into the standard structure.
lumibot/entities/chains.py:254
↓ 9 callersFunctionnormalize_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 callersFunctionparse_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 callersFunctionround_to_tick
(price: float, tick_size: Optional[float], side: Optional[str] = None)
lumibot/tools/smart_limit_utils.py:23
↓ 9 callersFunctions
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 9 callersFunctionset_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 callersFunctionsymbol_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 callersMethodto_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 callersMethodwarning
(self, *args, **kwargs)
tests/test_cloud_account_snapshot.py:14
↓ 8 callersMethodEvent
()
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 8 callersFunctionGt
(t)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 8 callersFunction_advance_one_bar
(strategy, broker)
tests/test_crypto_backtesting_order_matrix.py:22
↓ 8 callersMethod_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 callersFunction_crypto_strategy
(bars)
tests/test_crypto_backtesting_order_matrix.py:18
↓ 8 callersMethod_decimal
(value: Any)
lumibot/brokers/polymarket.py:1319
↓ 8 callersMethod_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 callersFunction_et
(year, month, day, hour, minute=0)
tests/test_regular_trading_session_helper.py:11
↓ 8 callersMethod_extract_error_info
Extract error code, message, and details from log record.
lumibot/tools/lumibot_logger.py:292
↓ 8 callersMethod_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 callersFunction_fixture_response
(name: str)
tests/test_thetadata_helper.py:32
↓ 8 callersMethod_get_cached_tradier_read
(self, endpoint: str)
lumibot/brokers/tradier.py:121
↓ 8 callersMethod_get_option_client
Lazily initialize and return the option client.
lumibot/data_sources/alpaca_data.py:203
↓ 8 callersMethod_get_session
(self)
lumibot/tools/data_downloader_queue_client.py:275
↓ 8 callersFunction_is_placeholder
(value: str)
tests/conftest.py:294
↓ 8 callersFunction_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 callersMethod_normalize_activity_to_cash_event
(cls, activity: dict)
lumibot/brokers/alpaca.py:1215
↓ 8 callersMethod_normalize_symbol_for_broker
Normalize an internal symbol into this broker's preferred native format.
lumibot/brokers/broker.py:133
↓ 8 callersFunction_order_snapshot
(broker: Schwab, order_id: str, strategy_name: str)
scripts/schwab_titus_workflow_smoke.py:43
↓ 8 callersMethod_parse_property
(self, data, key, required=False, type=None)
lumibot/entities/bar.py:207
↓ 8 callersMethod_pull_positions
(self, strategy)
tests/test_broker_cleanup.py:55
↓ 8 callersMethod_record_projection_event
( self, *, event_type: str, subject_type: str, subject_id: str,
lumibot/components/memory/store.py:773
↓ 8 callersMethod_set_current_time
Helper to set the mock time.
tests/test_backtesting_broker.py:883
↓ 8 callersMethod_strategy_name_from_input
(strategy)
lumibot/brokers/broker.py:1403
↓ 8 callersMethod_submit
(self, order: Order)
tests/backtest/parity_strategies/mes_order_matrix_parity.py:72
↓ 8 callersFunction_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 callersFunction_usage_value
(payload: Any, *keys: str)
lumibot/components/agents/manager.py:252
↓ 8 callersMethodaggregate_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 callersFunctionappend_missing_markers
Append placeholder rows for dates that returned no data.
lumibot/tools/thetadata_helper.py:2018
↓ 8 callersFunctionbuild_price_ladder
(mid: float, final_price: float, step_count: int)
lumibot/tools/smart_limit_utils.py:74
↓ 8 callersFunctionc
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 8 callersMethodcalculate_limit_price
(self, *, last_price: Decimal, side: str, asset: Asset)
lumibot/components/drift_rebalancer_logic.py:573
↓ 8 callersMethoddo_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 callersFunctione
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 8 callersFunctionfirst_present
(mapping: Any, *keys: str)
scripts/polymarket_smoke.py:368
↓ 8 callersFunctiongetDocumentElement
(element)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:2177
↓ 8 callersFunctiongetElement
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 8 callersFunctiongetElement
docsrc/_html/bootstrap/js/bootstrap.js:142
↓ 8 callersFunctiongetElement
docsrc/_html/bootstrap/js/bootstrap.bundle.js:122
↓ 8 callersFunctiongetElement
docsrc/_html/bootstrap/js/bootstrap.esm.js:118
↓ 8 callersFunctiongetElementFromSelector
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 8 callersFunctiongetElementFromSelector
docsrc/_html/bootstrap/js/bootstrap.js:98
↓ 8 callersFunctiongetElementFromSelector
docsrc/_html/bootstrap/js/bootstrap.bundle.js:78
↓ 8 callersFunctiongetElementFromSelector
docsrc/_html/bootstrap/js/bootstrap.esm.js:74
↓ 8 callersMethodget_historical_prices_between_dates
( self, *, base_asset: Asset = None, quote_asset: Asset = None
lumibot/backtesting/alpaca_backtesting.py:723
↓ 8 callersMethodget_metrics
(self)
lumibot/components/agents/duckdb_tools.py:376
↓ 8 callersMethodget_order_by_id
(self, order_id)
tests/test_smart_limit_multileg_unit.py:238
↓ 8 callersMethodget_parameters
Get the parameters of the strategy. Returns ------- parameters : dict The parameters of the strategy.
lumibot/strategies/strategy.py:5036
↓ 8 callersMethodget_time_to_close
Not applicable with Crypto 24/7 markets. Returns ------- None
lumibot/brokers/ccxt.py:61
↓ 8 callersMethodinitialize
(self, parameters=None)
tests/test_smart_limit_live_alpaca.py:17
↓ 8 callersMethodis_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 callersMethodlimit_order
Limit order logic.
lumibot/backtesting/backtesting_broker.py:4773
↓ 8 callersMethodlog_message
(self, *args, **kwargs)
tests/test_agent_tool_permissions.py:27
↓ 8 callersMethodquery
(self)
lumibot/components/agents/builtins.py:1478
↓ 8 callersFunctionr
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 8 callersFunctionr
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 8 callersMethodset
(self)
lumibot/entities/order.py:41
↓ 8 callersMethodshow
()
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 8 callersMethodshow
()
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 8 callersMethodstop_order
Stop order logic.
lumibot/backtesting/backtesting_broker.py:4813
↓ 8 callersMethodto_default_timezone
Returns a datetime localized to the data source's default timezone. Parameters ---------- dt : datetime.datetime
lumibot/strategies/strategy.py:3610
↓ 8 callersMethodto_default_timezone
(self, dt)
lumibot/data_sources/data_source.py:281
↓ 8 callersMethodto_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 callersFunctionu
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 8 callersFunctionupdate_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 callersMethodwait
(self, timeout: float | None = None)
lumibot/entities/order.py:53
↓ 7 callersFunction_
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
← previousnext →401–500 of 9,807, ranked by callers