MCPcopy Create free account

hub / github.com/Lumiwealth/lumibot / functions

Functions9,807 in github.com/Lumiwealth/lumibot

↓ 3 callersMethod_calculate_momentum_pct_change
Calculate percentage change over `lookback_min` using provided minute closes. Returns 0.0 if not enough data.
tests/backtest/strategies/pltr_bull_spreads_strategy.py:158
↓ 3 callersMethod_can_route_user_events
(self)
lumibot/brokers/polymarket.py:273
↓ 3 callersMethod_chain_hint
Temporarily set chain constraints on the underlying data source.
lumibot/components/options_helper.py:2020
↓ 3 callersMethod_clean_order_records
Cleans the order records DataFrame by rounding float values to 2 decimal places, replacing missing values with None, and converting t
lumibot/brokers/tradier.py:1724
↓ 3 callersMethod_clearTimeout
()
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 3 callersMethod_clearTimeout
()
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 3 callersMethod_clearTimeout
()
docsrc/_html/bootstrap/js/bootstrap.js:4990
↓ 3 callersMethod_clearTimeout
()
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 3 callersMethod_clearTimeout
()
docsrc/_html/bootstrap/js/bootstrap.bundle.js:6756
↓ 3 callersMethod_clearTimeout
()
docsrc/_html/bootstrap/js/bootstrap.esm.js:4966
↓ 3 callersMethod_clear_position_state
(self)
tests/backtest/acceptance_strategies/AAPL Deep Dip Calls (Copy 4).py:293
↓ 3 callersMethod_close_option_position
(self)
tests/backtest/acceptance_strategies/AAPL Deep Dip Calls (Copy 4).py:272
↓ 3 callersFunction_coerce_expiration
(expiration: Any)
lumibot/components/agents/builtins.py:117
↓ 3 callersMethod_coerce_float
(value, *, field_name: str, context: str)
lumibot/brokers/schwab.py:698
↓ 3 callersMethod_coerce_order_datetime
(self, value: Any)
lumibot/backtesting/backtesting_broker.py:3380
↓ 3 callersFunction_coerce_positive_timeout_seconds
(value: Any)
lumibot/components/agents/runtime.py:381
↓ 3 callersFunction_coerce_usage_int
(value: Any)
lumibot/components/agents/manager.py:232
↓ 3 callersMethod_collect_custom_tearsheet_metrics
Invoke Strategy.tearsheet_custom_metrics() if implemented.
lumibot/strategies/_strategy.py:2388
↓ 3 callersMethod_condition_id
(cls, market: Any)
lumibot/data_sources/polymarket_data.py:631
↓ 3 callersMethod_configured_signature_type
(self, signature_type_cls)
lumibot/brokers/polymarket.py:424
↓ 3 callersMethod_convert_pandas_to_polars
Convert a pandas DataFrame (possibly with datetime index) to Polars.
lumibot/entities/bars.py:459
↓ 3 callersFunction_create_mock_ohlc_data
Create mock OHLC data for testing. Args: start: Starting datetime (must be timezone-aware) periods: Number of minute bars to gene
tests/test_data_polars_parity.py:16
↓ 3 callersMethod_create_order_options
(self, token_id: str)
lumibot/brokers/polymarket.py:993
↓ 3 callersMethod_current_lumibot_positions_snapshot
(self)
lumibot/brokers/tradier.py:153
↓ 3 callersMethod_data_api_get
(self, path: str, params: dict | None = None)
lumibot/brokers/polymarket.py:876
↓ 3 callersFunction_day_df
(tz: str = "America/New_York")
tests/test_pandas_data_find_asset_timestep_match.py:14
↓ 3 callersMethod_default_chain_max_expiration_date
Return a conservative max-expiration hint to avoid chain-scan storms. The ThetaData chain builder fetches strike lists per expiration. For in
lumibot/components/options_helper.py:1998
↓ 3 callersFunction_derive_known_good_window_from_cached_bars
( *, cache_folder: str, window_days: int = 2, seed_minutes: int = 120, )
tests/backtest/test_ibkr_crypto_local_validation_apitest.py:130
↓ 3 callersMethod_derive_warnings
(self, result: AgentRunResult, runtime_context: dict[str, Any])
lumibot/components/agents/manager.py:1173
↓ 3 callersMethod_dispatch_option_expiration_event
(self, position, strategy, event_type: str, price: float)
lumibot/backtesting/backtesting_broker.py:1492
↓ 3 callersMethod_disposePopper
()
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 3 callersMethod_disposePopper
()
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 3 callersMethod_disposePopper
()
docsrc/_html/bootstrap/js/bootstrap.js:4215
↓ 3 callersMethod_disposePopper
()
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 3 callersMethod_disposePopper
()
docsrc/_html/bootstrap/js/bootstrap.bundle.js:5981
↓ 3 callersMethod_disposePopper
()
docsrc/_html/bootstrap/js/bootstrap.esm.js:4191
↓ 3 callersFunction_download_remote_conids_json
(cache_manager, *, bucket: str, key: str)
lumibot/tools/ibkr_helper.py:2838
↓ 3 callersFunction_empty_timestamp_series
()
lumibot/tools/thetadata_helper.py:762
↓ 3 callersFunction_ensure_datetime_index_utc
Ensure the DataFrame index is a UTC-aware DatetimeIndex.
lumibot/tools/databento_helper.py:580
↓ 3 callersFunction_ensure_datetime_index_utc
Ensure the DataFrame index is a UTC-aware DatetimeIndex with standard name 'datetime'.
lumibot/tools/databento_helper_polars.py:573
↓ 3 callersMethod_ensure_flat
(self)
scripts/run_crypto_backtest_validation.py:829
↓ 3 callersMethod_ensure_progress_inside_open_session
Advance the broker clock if we're stuck while the market is open.
lumibot/strategies/strategy_executor.py:1824
↓ 3 callersMethod_ensure_token_metadata
Ensure Schwab token file is in the format expected by schwab-py ≥ 1.5: { "creation_timestamp": ..., "token":
lumibot/tools/schwab_helper.py:20
↓ 3 callersMethod_ensure_trading_ready
(self)
lumibot/brokers/polymarket.py:431
↓ 3 callersMethod_enter
(e,t)
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 3 callersMethod_enter
(t,e)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 3 callersMethod_enter
(event, context)
docsrc/_html/bootstrap/js/bootstrap.js:4070
↓ 3 callersMethod_enter
(t,e)
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 3 callersMethod_enter
(event, context)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:5836
↓ 3 callersMethod_enter
(event, context)
docsrc/_html/bootstrap/js/bootstrap.esm.js:4046
↓ 3 callersFunction_entry_position
(strategy, broker, quantity=Decimal("0.5"))
tests/test_crypto_backtesting_order_matrix.py:28
↓ 3 callersFunction_env_flag
(name: str)
lumibot/example_strategies/polymarket_prediction_contract.py:57
↓ 3 callersFunction_env_flag_enabled
(name: str)
lumibot/credentials.py:68
↓ 3 callersFunction_event
(kind: str, *, text: str | None = None, tool_name: str | None = None, payload: dict | None = None)
tests/test_agent_runtime_mcp_transports.py:52
↓ 3 callersFunction_event
(kind: str, *, text: str | None = None, tool_name: str | None = None, payload: dict | None = None)
tests/test_agent_runtime_remote_mcp.py:19
↓ 3 callersFunction_explicit_support_limit
(error_text: str)
scripts/run_lumibot_data_matrix.py:423
↓ 3 callersMethod_extract_fill_details
Attempt to derive fill price and quantity from a Tradovate order payload.
lumibot/brokers/tradovate.py:799
↓ 3 callersMethod_extract_returns_series
Extract a clean returns series from a strategy/benchmark dataframe.
lumibot/strategies/_strategy.py:2309
↓ 3 callersMethod_fill_multileg_children_at_market_open
Fallback for multileg SMART_LIMIT when quotes are missing. Fill each child order at its own OHLC open (market-style) so the backtest
lumibot/backtesting/backtesting_broker.py:4676
↓ 3 callersMethod_filter_executable_rows
Return only real provider bars that are safe to expose to strategies.
lumibot/tools/ccxt_data_store.py:739
↓ 3 callersMethod_filter_tools_for_trading_permission
(self, tools: list[Any])
lumibot/components/agents/manager.py:682
↓ 3 callersFunction_find_single
(glob_iter: Iterable[Path], description: str)
scripts/run_ibkr_databento_futures_parity_suite.py:68
↓ 3 callersMethod_format_futures_symbol
Format the futures symbol for Yahoo Finance. Yahoo Finance futures symbols can be in different formats: - Continuous
lumibot/data_sources/yahoo_data.py:88
↓ 3 callersFunction_format_futures_symbol_for_databento
Format a futures Asset object for DataBento symbol conventions This function handles the complexity of DataBento's futures symbology, which
lumibot/tools/databento_helper_polars.py:319
↓ 3 callersMethod_format_index_symbol
Format the index symbol for Yahoo Finance. Yahoo Finance index symbols typically use the "^" prefix: - SPX -> ^SPX (
lumibot/data_sources/yahoo_data.py:160
↓ 3 callersFunction_format_indicator_plotly_text
Format plotly hover text for indicator markers/lines. Strategies frequently omit `detail_text` for some points. When those points are collected
lumibot/tools/indicators.py:111
↓ 3 callersFunction_future_contract_conid
(contract: Dict[str, Any])
lumibot/tools/ibkr_helper.py:3127
↓ 3 callersFunction_generate_databento_symbol_alternatives
Format futures symbol for DataBento using the ONLY format that works. Based on analysis of successful DataBento requests: - MESH24,
lumibot/tools/databento_helper.py:1117
↓ 3 callersFunction_get
(metric_name: str)
scripts/generate_acceptance_backtests_baselines.py:165
↓ 3 callersMethod_get_cash_position
(self)
lumibot/strategies/_strategy.py:763
↓ 3 callersMethod_get_client
(self)
lumibot/tools/backtest_cache.py:397
↓ 3 callersMethod_get_conid_for_derivative
( self, underlying_conid: int, asset: Asset, sec_type: str, additional
lumibot/data_sources/interactive_brokers_rest_data.py:1111
↓ 3 callersMethod_get_data_lazy
Get lazy frame for asset. Parameters ---------- asset : Asset or tuple The asset to get data for (can be a tuple
lumibot/data_sources/polars_mixin.py:76
↓ 3 callersMethod_get_front_month_expiry
Get the front month (nearest) futures expiry
lumibot/entities/asset.py:550
↓ 3 callersMethod_get_item_timestamp
Get the timestamp to use for age-based cleanup.
lumibot/brokers/broker.py:726
↓ 3 callersMethod_get_json
(self, url: str, cache_path: Path)
lumibot/fundamentals/sec.py:192
↓ 3 callersMethod_get_mst_now
(self)
tests/backtest/strategies/pltr_bull_spreads_strategy.py:214
↓ 3 callersMethod_get_orders_at_broker
Get all orders from the broker with performance optimization.
lumibot/brokers/projectx.py:592
↓ 3 callersFunction_get_runtime_imports
()
lumibot/components/agents/manager.py:70
↓ 3 callersMethod_get_sleeptime_seconds
(self)
lumibot/strategies/strategy.py:2740
↓ 3 callersFunction_get_ta_module
()
lumibot/components/vix_helper.py:50
↓ 3 callersMethod_get_underlying_price_for_settlement
(self, underlying_asset: Asset, strategy)
lumibot/backtesting/backtesting_broker.py:1354
↓ 3 callersMethod_get_vix_price
(self)
tests/backtest/strategies/iron_condor_0dte.py:109
↓ 3 callersMethod_handle_order_update
Handle order update from streaming.
lumibot/brokers/projectx.py:1517
↓ 3 callersFunction_http_headers
(api_key: str)
scripts/run_backtest_prod.py:81
↓ 3 callersMethod_identifier_for
(item)
lumibot/trading_builtins/safe_list.py:235
↓ 3 callersMethod_infer_direction
(amount: float)
lumibot/entities/cash_event.py:94
↓ 3 callersMethod_initializeOnDelegatedTarget
(e,t)
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 3 callersMethod_initializeOnDelegatedTarget
(t,e)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 3 callersMethod_initializeOnDelegatedTarget
(event, context)
docsrc/_html/bootstrap/js/bootstrap.js:3950
↓ 3 callersMethod_initializeOnDelegatedTarget
(t,e)
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 3 callersMethod_initializeOnDelegatedTarget
(event, context)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:5716
↓ 3 callersMethod_initializeOnDelegatedTarget
(event, context)
docsrc/_html/bootstrap/js/bootstrap.esm.js:3926
↓ 3 callersMethod_intrinsic_value_per_contract
(self, option_asset: Asset, underlying_price: float)
lumibot/backtesting/backtesting_broker.py:1401
↓ 3 callersMethod_isShown
(e=this._element)
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 3 callersMethod_isShown
(t=this._element)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 3 callersMethod_isShown
(element = this._element)
docsrc/_html/bootstrap/js/bootstrap.js:2181
↓ 3 callersMethod_isShown
(t=this._element)
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 3 callersMethod_isShown
(element = this._element)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:3947
↓ 3 callersMethod_isShown
(element = this._element)
docsrc/_html/bootstrap/js/bootstrap.esm.js:2157
← previousnext →1,201–1,300 of 9,807, ranked by callers