MCPcopy Create free account

hub / github.com/Lumiwealth/lumibot / functions

Functions9,807 in github.com/Lumiwealth/lumibot

↓ 7 callersMethod_adjust_stale_daily_price_for_stock_split
Adjust a previous daily price when the current date has a split before the daily row. Native daily stock bars are commonly timestamped at the
lumibot/data_sources/data_source.py:726
↓ 7 callersFunction_broker_for_cancel
(client=None, stream=None)
tests/test_schwab_positions_unit.py:158
↓ 7 callersMethod_build_contract_variants
Build contract variants for different year digit formats.
lumibot/entities/asset.py:844
↓ 7 callersMethod_build_dataset_keys
(self, asset, quote_asset, timestep, exchange)
tests/test_backtesting_broker.py:314
↓ 7 callersMethod_cache_datetime_series
Build and cache sorted datetime nanosecond arrays for quick slicing.
lumibot/backtesting/databento_backtesting_polars.py:496
↓ 7 callersMethod_close_position
Close the current position.
examples/projectx_example.py:163
↓ 7 callersMethod_convert_broker_order_to_lumibot_order
Convert ProjectX order to Lumibot Order object.
lumibot/brokers/projectx.py:910
↓ 7 callersMethod_empty_ohlcv_frame
(self)
lumibot/tools/ccxt_data_store.py:678
↓ 7 callersMethod_enforce_memory_limits
Enforce memory limits using LRU eviction. This method ensures total memory usage stays under MAX_STORAGE_BYTES (1GB) by evicting leas
lumibot/data_sources/polars_data.py:254
↓ 7 callersMethod_ensure_position
(self)
scripts/run_crypto_backtest_validation.py:837
↓ 7 callersFunction_extract_value
(lines: list[str], prefix: str)
scripts/ibkr_theta_prod_readiness.py:75
↓ 7 callersMethod_get_alpaca_timeframe
Convert a normalized Lumibot timestep to an Alpaca SDK TimeFrame.
lumibot/backtesting/alpaca_backtesting.py:415
↓ 7 callersMethod_handle_auth_error
Handle authentication errors with helpful error messages. This will mark the strategy as failed to stop execution.
lumibot/data_sources/alpaca_data.py:103
↓ 7 callersMethod_handle_unavailable_execution_data
Handle no-current-price cases without fabricating fills from stale rows.
lumibot/backtesting/backtesting_broker.py:3514
↓ 7 callersFunction_install_fake_alpaca
(monkeypatch, *, set_news_env=True)
tests/test_agent_alpaca_news_builtin.py:57
↓ 7 callersMethod_isShown
(e=this._element)
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 7 callersMethod_isShown
(t=this._element)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 7 callersMethod_isShown
(element = this._element)
docsrc/_html/bootstrap/js/bootstrap.js:1845
↓ 7 callersMethod_isShown
(t=this._element)
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 7 callersMethod_isShown
(element = this._element)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:1825
↓ 7 callersMethod_isShown
(element = this._element)
docsrc/_html/bootstrap/js/bootstrap.esm.js:1821
↓ 7 callersMethod_listify
(value: Any)
lumibot/brokers/polymarket.py:1303
↓ 7 callersMethod_listify
(cls, value: Any)
lumibot/data_sources/polymarket_data.py:592
↓ 7 callersFunction_make_ds
(*, routing: dict[str, str], monkeypatch)
tests/test_routed_backtesting_registry_unit.py:13
↓ 7 callersFunction_make_router
(start, end, routing)
tests/backtest/test_routed_backtesting_ibkr_prefetch.py:263
↓ 7 callersMethod_mask_account_number
(account_number)
lumibot/brokers/schwab.py:108
↓ 7 callersFunction_near
(value: float, target: float, rel_tol: float)
lumibot/tools/ibkr_helper.py:1248
↓ 7 callersMethod_normalize_asset_type
(value: Any)
lumibot/backtesting/backtesting_broker.py:224
↓ 7 callersMethod_normalize_routing
(routing: Optional[Dict[str, str]])
lumibot/backtesting/routed_backtesting.py:1101
↓ 7 callersFunction_normalize_symbol
(value: Any)
lumibot/components/memory/store.py:43
↓ 7 callersMethod_oauth_token_file_signature
(self)
lumibot/brokers/tradier.py:248
↓ 7 callersMethod_parse_broker_order
parse a broker order representation to an order object
lumibot/brokers/alpaca.py:509
↓ 7 callersFunction_prepare_tearsheet_returns
(strategy_df: pd.DataFrame, benchmark_df: pd.DataFrame)
lumibot/tools/indicators.py:1503
↓ 7 callersMethod_process_queue_event
(self, event, payload)
lumibot/trading_builtins/custom_stream.py:61
↓ 7 callersMethod_refresh_window_around_datetime
Fetch a bounded slice around the current sim time after a full-window underfill. IBKR history is capped to roughly 1000 bars per request and
lumibot/backtesting/interactive_brokers_rest_backtesting.py:139
↓ 7 callersFunction_require_non_empty_text
(name: str, value: Any)
lumibot/components/agents/builtins.py:126
↓ 7 callersFunction_resolve_model_for_adk
( model: Any, *, prompt_cache_key: str | None = None, model_request_timeout_seconds: float | N
lumibot/components/agents/runtime.py:911
↓ 7 callersMethod_resolve_order_fill_timestep
Resolve the OHLC timestep for pending-order fills. The default remains the data source timestep. The narrow exception is the IBKR sto
lumibot/backtesting/backtesting_broker.py:3809
↓ 7 callersMethod_run
(self)
lumibot/brokers/polymarket.py:147
↓ 7 callersMethod_run_backtest_capturing_dates
Invoke `Strategy.backtest()` with whatever env overrides are set and return the (backtesting_start, backtesting_end) that ultimately got
tests/test_strategy_backtest_env_override.py:31
↓ 7 callersMethod_set_current_time
Helper to set the mock time.
tests/test_backtesting_broker_time_advance.py:55
↓ 7 callersFunction_setup_strategy
( *, asset: Asset, quote: Asset | None, bars, budget: float = 100_000.0, buy_fee: Trad
tests/test_backtesting_crypto_cash_unit.py:122
↓ 7 callersFunction_timestep_to_ibkr_bar
(timestep: str)
lumibot/tools/ibkr_helper.py:3437
↓ 7 callersFunction_to_float_percent
(text: str)
scripts/ibkr_theta_prod_readiness.py:190
↓ 7 callersMethod_update_cadence_from_dt
Detect intraday cadence so daily-history requests don't flip the whole run to day mode. This is used to prevent a common failure mode:
lumibot/backtesting/thetadata_backtesting_pandas.py:3331
↓ 7 callersFunction_usage_breakdown
(payload: Any, *, cache_hit: bool)
lumibot/components/agents/manager.py:279
↓ 7 callersFunction_wait_fill
(strategy: _HarnessStrategy, order: Order, *, timeout: int, drive_smart_limit: bool)
tests/test_smart_limit_live_tradier.py:41
↓ 7 callersFunction_write_cache_frame
(path: Path, df: pd.DataFrame)
lumibot/tools/ibkr_helper.py:3658
↓ 7 callersMethodadd_event
(self, event_name, payload)
lumibot/strategies/strategy_executor.py:593
↓ 7 callersFunctionc
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 7 callersMethodcancel_order
(self, order_id, account_hash)
tests/test_schwab_positions_unit.py:51
↓ 7 callersFunctioncreate_test_data_source
Helper to create a test data source with all abstract methods implemented.
tests/test_progress_logging.py:91
↓ 7 callersMethoddispose
()
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 7 callersMethoddispose
()
docsrc/_html/bootstrap/js/bootstrap.js:2894
↓ 7 callersMethoddispose
()
docsrc/_html/bootstrap/js/bootstrap.bundle.js:4660
↓ 7 callersMethoddispose
()
docsrc/_html/bootstrap/js/bootstrap.esm.js:2870
↓ 7 callersFunctione
(t)
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 7 callersFunctionexecute
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 7 callersFunctionexecute
docsrc/_html/bootstrap/js/bootstrap.js:280
↓ 7 callersFunctionexecute
docsrc/_html/bootstrap/js/bootstrap.bundle.js:260
↓ 7 callersFunctionexecute
docsrc/_html/bootstrap/js/bootstrap.esm.js:256
↓ 7 callersFunctionfrom_ib_expiration_to_code
Convert IB-style expiration date to month code and 2-digit year. Parameters ---------- expiration_date : date, datetime, or str
lumibot/tools/futures_symbols.py:129
↓ 7 callersMethodgetInstance
(e)
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 7 callersMethodgetInstance
(t)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 7 callersMethodgetInstance
Static
docsrc/_html/bootstrap/js/bootstrap.js:725
↓ 7 callersMethodgetInstance
(t)
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 7 callersMethodgetInstance
Static
docsrc/_html/bootstrap/js/bootstrap.bundle.js:705
↓ 7 callersMethodgetInstance
Static
docsrc/_html/bootstrap/js/bootstrap.esm.js:701
↓ 7 callersFunctionget_last_price_or_raise
(strategy: Strategy, asset: Asset, quote: Asset)
lumibot/components/drift_rebalancer_logic.py:60
↓ 7 callersMethodget_reqid
(self)
lumibot/brokers/interactive_brokers.py:1095
↓ 7 callersFunctionget_request
Make a ThetaData request using either the internal Data Downloader or a local ThetaTerminal. Selection rule (strict; no fallback on failure):
lumibot/tools/thetadata_helper.py:5076
↓ 7 callersMethodget_strikes
Returns the strikes for an option asset with right and expiry.
lumibot/brokers/broker.py:1739
↓ 7 callersMethodget_symbol_data
( symbol, interval="1d", caching=True, auto_adjust=False, # Keep parameter nam
lumibot/tools/yahoo_helper.py:419
↓ 7 callersMethodget_tracked_positions
get all tracked positions for a given strategy
lumibot/brokers/broker.py:2282
↓ 7 callersMethodget_vix_value
Get the VIX value for the current date. Parameters ---------- current_dt : datetime.datetime The current
lumibot/components/vix_helper.py:554
↓ 7 callersFunctionisDisabled
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 7 callersFunctionisDisabled
docsrc/_html/bootstrap/js/bootstrap.js:175
↓ 7 callersFunctionisDisabled
docsrc/_html/bootstrap/js/bootstrap.bundle.js:155
↓ 7 callersFunctionisDisabled
docsrc/_html/bootstrap/js/bootstrap.esm.js:151
↓ 7 callersFunctionisElement
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 7 callersFunctionisElement
docsrc/_html/bootstrap/js/bootstrap.js:130
↓ 7 callersFunctionisElement
docsrc/_html/bootstrap/js/bootstrap.esm.js:106
↓ 7 callersFunctionisElement$1
docsrc/_html/bootstrap/js/bootstrap.bundle.js:110
↓ 7 callersMethodis_market_open
The market is always open for Crypto. Returns ------- True
lumibot/brokers/ccxt.py:42
↓ 7 callersFunctionis_parquet_required
()
lumibot/tools/parquet_utils.py:39
↓ 7 callersFunctionl
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 7 callersFunctionload_thetadata_fixture
(name: str)
tests/test_thetadata_helper.py:45
↓ 7 callersMethodlog_backtest_progress_to_csv
Log backtest progress to CSV file. Parameters ---------- percent : float Progress percentage (0-100)
lumibot/data_sources/data_source_backtesting.py:447
↓ 7 callersMethodon_trading_iteration
(self)
tests/test_futures_integration.py:28
↓ 7 callersMethodrun_once
(self)
lumibot/strategies/strategy_executor.py:2120
↓ 7 callersMethodset_filled
(self)
lumibot/entities/order.py:1379
↓ 7 callersMethodshow
()
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 7 callersMethodshow
()
docsrc/_html/bootstrap/js/bootstrap.js:4639
↓ 7 callersMethodshow
()
docsrc/_html/bootstrap/js/bootstrap.bundle.js:6405
↓ 7 callersMethodshow
()
docsrc/_html/bootstrap/js/bootstrap.esm.js:4615
↓ 7 callersMethodsleep
Sleep for sleeptime seconds. Use to pause the execution of the program. This should be used instead of `time.sleep` within the strategy. Also
lumibot/strategies/strategy.py:797
↓ 7 callersMethodsubmit_orders
[Deprecated] Submit a list of orders This method is deprecated and will be removed in future versions. Please use `submit_order` inst
lumibot/strategies/strategy.py:2095
↓ 7 callersMethodupdate_broker_balances
Updates the broker's balances, including cash and portfolio value Parameters ---------- force_update : bool, optional
lumibot/strategies/_strategy.py:1060
↓ 7 callersFunctionupdate_cache
Update the cache file with the new data and optional placeholder markers.
lumibot/tools/thetadata_helper.py:4488
↓ 7 callersFunctionwrite_parquet_with_logging
Write df to parquet with strong logging. Raises on failure when required=True.
lumibot/tools/parquet_utils.py:116
← previousnext →501–600 of 9,807, ranked by callers