MCPcopy Create free account

hub / github.com/Lumiwealth/lumibot / functions

Functions9,807 in github.com/Lumiwealth/lumibot

↓ 7 callersFunctiony
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 6 callersFunctionVt
(t,e)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 6 callersMethod__setattr__
(self, name, value)
lumibot/components/vix_helper.py:34
↓ 6 callersMethod__setitem__
(self, idx, val)
tests/test_futures_integration.py:75
↓ 6 callersMethod_audit_enabled
(self)
lumibot/backtesting/backtesting_broker.py:3971
↓ 6 callersMethod_build_backtest_progress_payload
Build the optional progress/logging payload for backtests. Keep this work out of the main loop when both the progress bar and file logging ar
lumibot/strategies/strategy_executor.py:243
↓ 6 callersMethod_build_order_spec_from_builder
Apply Schwab defaults and return the final API order spec.
lumibot/brokers/schwab.py:2089
↓ 6 callersMethod_cache_result
(cache: dict, key, value)
lumibot/brokers/broker.py:1409
↓ 6 callersMethod_clean_params
(params: dict | None)
lumibot/data_sources/polymarket_data.py:651
↓ 6 callersMethod_cleanup_old_tracking_data
Perform cleanup of old orders and positions based on configured policies.
lumibot/brokers/broker.py:611
↓ 6 callersMethod_cleanup_tracking_list
Clean up a specific SafeList based on retention policy.
lumibot/brokers/broker.py:639
↓ 6 callersMethod_coerce_price
Normalize quote values and record data quality issues.
lumibot/components/options_helper.py:96
↓ 6 callersMethod_create_order
(self, side)
tests/test_position_signs.py:14
↓ 6 callersMethod_datetime_to_utc_ns
Convert a datetime to UTC nanoseconds since epoch.
lumibot/backtesting/databento_backtesting_polars.py:524
↓ 6 callersMethod_defer_market_order_with_unavailable_execution_data
Leave market orders working when current execution data is unavailable.
lumibot/backtesting/backtesting_broker.py:3363
↓ 6 callersFunction_downloader_base_url
()
lumibot/tools/ibkr_helper.py:3806
↓ 6 callersMethod_getElement
()
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 6 callersMethod_getElement
()
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 6 callersMethod_getElement
()
docsrc/_html/bootstrap/js/bootstrap.js:2583
↓ 6 callersMethod_getElement
()
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 6 callersMethod_getElement
()
docsrc/_html/bootstrap/js/bootstrap.bundle.js:4349
↓ 6 callersMethod_getElement
()
docsrc/_html/bootstrap/js/bootstrap.esm.js:2559
↓ 6 callersMethod_getItemIndex
(e)
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 6 callersMethod_getItemIndex
(t)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 6 callersMethod_getItemIndex
(element)
docsrc/_html/bootstrap/js/bootstrap.js:1380
↓ 6 callersMethod_getItemIndex
(t)
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 6 callersMethod_getItemIndex
(element)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:1360
↓ 6 callersMethod_getItemIndex
(element)
docsrc/_html/bootstrap/js/bootstrap.esm.js:1356
↓ 6 callersMethod_get_balances_at_broker
(self, quote_asset, strategy)
tests/test_broker_cleanup.py:40
↓ 6 callersMethod_get_bars_dict
Returns a dictionary of the data.
lumibot/entities/data_polars.py:534
↓ 6 callersMethod_get_contract_id_from_asset
(self, asset)
tests/test_projectx_datetime_index.py:29
↓ 6 callersMethod_get_order_type_from_id
Convert ProjectX order type ID to string.
lumibot/brokers/projectx.py:1168
↓ 6 callersMethod_get_required_balance_float
(balances: dict, *keys)
lumibot/brokers/schwab.py:705
↓ 6 callersMethod_get_stock_client
Lazily initialize and return the stock client.
lumibot/data_sources/alpaca_data.py:159
↓ 6 callersMethod_install_oauth_refresh_hooks
Wrap Tradier API calls to refresh on expiry / 401 (best-effort).
lumibot/brokers/tradier.py:447
↓ 6 callersMethod_is_pandas_daily_data_source
Return True only for *pure* Pandas daily backtests (not Polygon/ThetaData). This route exists to support user-supplied `PandasDataBacktesting
lumibot/strategies/strategy_executor.py:1682
↓ 6 callersFunction_latest_file
(case_dir: Path, pattern: str)
scripts/run_crypto_backtest_validation.py:101
↓ 6 callersFunction_leg
(strategy_name: str, asset: Asset, side: Order.OrderSide)
tests/test_smart_limit_resilience_unit.py:60
↓ 6 callersMethod_log_order_status
(self, order, status, success=True)
lumibot/brokers/interactive_brokers_rest.py:577
↓ 6 callersMethod_make_strategy_stub
Create a minimal strategy stub for unit testing.
tests/test_portfolio_valuation_fallbacks.py:64
↓ 6 callersMethod_map_log_level_to_severity
Map logging level to Botspot severity.
lumibot/tools/lumibot_logger.py:279
↓ 6 callersMethod_maybe_secure_client
(self)
lumibot/brokers/polymarket.py:885
↓ 6 callersFunction_option
(symbol: str, strike: float)
tests/test_smart_limit_resilience_unit.py:50
↓ 6 callersFunction_order
(status=Order.OrderStatus.SUBMITTED, identifier="order-123")
tests/test_schwab_positions_unit.py:175
↓ 6 callersMethod_parse_broker_order
Parse a broker order representation to a Lumi order object. Once the Lumi order has been created, it will be dispatched to our "strea
lumibot/brokers/tradier.py:1579
↓ 6 callersFunction_parse_dt
(value: str)
scripts/run_crypto_backtest_validation.py:31
↓ 6 callersMethod_parse_source_symbol_bars
(self, response, asset, quote=None, length=None)
lumibot/data_sources/ccxt_data.py:226
↓ 6 callersMethod_parse_timestamp
(value: Any)
lumibot/data_sources/polymarket_data.py:714
↓ 6 callersFunction_poll_until
( broker: Schwab, order_id: str, strategy_name: str, predicate, *, timeout_seconds: fl
scripts/schwab_titus_workflow_smoke.py:57
↓ 6 callersMethod_prepare_schwab_single_order_builder
Prepare a Schwab OrderBuilder for one non-advanced stock/option/future order.
lumibot/brokers/schwab.py:1701
↓ 6 callersMethod_process_futures_fill
(self, strategy, order, price, filled_quantity)
lumibot/backtesting/backtesting_broker.py:1968
↓ 6 callersMethod_provider_spec_for_asset
(_asset)
tests/test_backtesting_broker.py:192
↓ 6 callersMethod_quote_identifier
(value: str)
lumibot/components/agents/duckdb_tools.py:104
↓ 6 callersFunction_read_cache_frame
(path: Path)
lumibot/tools/ibkr_helper.py:3633
↓ 6 callersFunction_register_thetadata_expiry_map_from_chain
Populate provider-expiry mapping from a chain payload (best-effort, in-process only).
lumibot/tools/thetadata_helper.py:6197
↓ 6 callersFunction_repair_isolated_split_spikes_daily
Repair isolated split-like spikes in daily stock/index bars. Why: - Some IBKR daily stock/index series can contain a one-day bar scaled by a
lumibot/tools/ibkr_helper.py:1220
↓ 6 callersMethod_resolve_subscriber
Get subscriber by name, falling back to the sole registered subscriber when strategy_name is falsy.
lumibot/brokers/broker.py:2674
↓ 6 callersFunction_run_shortcut
Invoke `Strategy.get_last_price(asset)` with the real shortcut path. Returns `(shortcut_result, broker_was_called)` so tests can assert both the
tests/test_get_last_price_sim_time_safety.py:171
↓ 6 callersFunction_safe_float
(value: Any)
scripts/run_lumibot_data_matrix.py:328
↓ 6 callersMethod_sanitize_base_and_quote_asset
(self, base_asset, quote_asset)
lumibot/data_sources/alpaca_data.py:346
↓ 6 callersMethod_to_float
(cls, value: Any)
lumibot/brokers/polymarket.py:1328
↓ 6 callersFunction_tradier_read_stub
(**kwargs)
tests/test_transient_network_logs_are_not_errors.py:32
↓ 6 callersMethod_update_positions_with_splits
(self)
lumibot/strategies/_strategy.py:1792
↓ 6 callersFunction_wait_for_fill
( strategy: _BenchStrategy, order: Order, *, timeout_seconds: int, drive_smart_limit: bool
scripts/bench_smart_limit_vs_market.py:164
↓ 6 callersMethodaccount_search
Returns a list of accounts for the user
lumibot/tools/projectx_helpers.py:289
↓ 6 callersFunctioncagr
Calculate the Compound Annual Growth Rate The dataframe _df must include a column "return" that has the return for that time period (eg. daily
lumibot/tools/indicators.py:420
↓ 6 callersFunctionce
(t)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 6 callersFunctionclear_download_status
Clear the download status when a fetch completes. Should be called after a download finishes (success or failure) to indicate no downloa
lumibot/tools/thetadata_helper.py:298
↓ 6 callersFunctioncompute_final_price_from_mid
Final price from a midpoint toward an 'aggressive' edge price.
lumibot/tools/smart_limit_utils.py:63
↓ 6 callersMethodcreate_contract
Creates new contract objects.
lumibot/brokers/interactive_brokers.py:1463
↓ 6 callersMethodcreate_order
(self, order)
lumibot/brokers/interactive_brokers.py:1514
↓ 6 callersMethodcycle
(e)
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 6 callersMethodcycle
(t)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 6 callersMethodcycle
(event)
docsrc/_html/bootstrap/js/bootstrap.js:1223
↓ 6 callersMethodcycle
(t)
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 6 callersMethodcycle
(event)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:1203
↓ 6 callersMethodcycle
(event)
docsrc/_html/bootstrap/js/bootstrap.esm.js:1199
↓ 6 callersMethodexport_artifacts
(self, output_dir: str | os.PathLike[str] | None = None, *, prefix: str | None = None)
lumibot/components/memory/store.py:570
↓ 6 callersFunctionf
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 6 callersMethodfrom_env
(env: Dict[str, Optional[str]])
lumibot/tools/backtest_cache.py:37
↓ 6 callersMethodget
(self, key, default=None)
tests/test_agent_tool_permissions.py:12
↓ 6 callersFunctiongetBoundingClientRect
(element, // eslint-disable-next-line unused-imports/no-unused-vars includeScale)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:2086
↓ 6 callersMethodgetTipElement
()
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 6 callersMethodgetTipElement
()
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 6 callersMethodgetTipElement
()
docsrc/_html/bootstrap/js/bootstrap.js:3870
↓ 6 callersMethodgetTipElement
()
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 6 callersMethodgetTipElement
()
docsrc/_html/bootstrap/js/bootstrap.bundle.js:5636
↓ 6 callersMethodgetTipElement
()
docsrc/_html/bootstrap/js/bootstrap.esm.js:3846
↓ 6 callersFunctiongetVariation
(placement)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:2372
↓ 6 callersMethodget_active_tracked_orders
Return only active (open) tracked orders for a strategy/asset. This is intentionally faster than `get_tracked_orders()` because it only scans
lumibot/brokers/broker.py:2326
↓ 6 callersMethodget_auth_token
Get authentication token using configuration dict from Lumibot
lumibot/tools/projectx_helpers.py:40
↓ 6 callersMethodget_bars
Get bars for the list of assets
lumibot/data_sources/data_source.py:382
↓ 6 callersFunctionget_contract_priority_key
Get priority ranking for a contract symbol based on priority list. Parameters ---------- symbol : str Contract symbol
lumibot/tools/futures_symbols.py:210
↓ 6 callersMethodget_data_from_cache
Fetch data from cache. Raise an exception if the cache file does not exist. Fetch data in the range start and end from the cache file.
lumibot/tools/ccxt_data_store.py:145
↓ 6 callersMethodget_gvz_value
Get the GVZ value for the current date. Parameters ---------- current_dt : datetime.datetime The current
lumibot/components/vix_helper.py:728
↓ 6 callersFunctionget_lumibot_datetime
()
lumibot/tools/helpers.py:756
↓ 6 callersMethodget_order
get a tracked order given an identifier
lumibot/brokers/broker.py:2368
↓ 6 callersMethodget_positions
(self)
lumibot/brokers/interactive_brokers.py:1268
↓ 6 callersFunctionimpliedVolatility
Returns the estimated implied volatility
lumibot/tools/black_scholes.py:15
↓ 6 callersMethodinitialize
(self, parameters=None)
tests/test_smart_limit_live_tradier.py:17
← previousnext →601–700 of 9,807, ranked by callers