MCPcopy Create free account

hub / github.com/Lumiwealth/lumibot / functions

Functions9,807 in github.com/Lumiwealth/lumibot

↓ 11 callersMethod_is_finite_positive
(self, x)
tests/backtest/acceptance_strategies/SPX Short Straddle Intraday (Copy).py:113
↓ 11 callersMethod_normalize_symbol_for_internal
Normalize a broker/native symbol into LumiBot's canonical internal format.
lumibot/brokers/broker.py:129
↓ 11 callersFunction_numeric
(value: Any)
scripts/run_crypto_backtest_validation.py:341
↓ 11 callersMethod_optional_float
(cls, value: Any)
lumibot/brokers/polymarket.py:1332
↓ 11 callersMethod_parse_source_timestep
Convert Lumibot timestep to BitUnix interval format. Delegates to the data source's implementation.
lumibot/brokers/bitunix.py:751
↓ 11 callersMethod_request
Wrapper around requests.request with throttling.
lumibot/brokers/tradovate.py:141
↓ 11 callersMethod_set_cash_position
(self, cash: float)
lumibot/strategies/_strategy.py:741
↓ 11 callersMethod_submit_market
(self, side, quantity: float)
scripts/run_crypto_backtest_validation.py:633
↓ 11 callersFunction_suffix
(value: Any, length: int = 8)
scripts/schwab_titus_workflow_smoke.py:32
↓ 11 callersFunction_truncate_text
(value: Any, limit: int = 240)
lumibot/components/agents/manager.py:192
↓ 11 callersFunction_wrap_tool_callable
(tool: BoundTool, tool_context: dict[str, Any] | None = None)
lumibot/components/agents/runtime.py:104
↓ 11 callersFunctionbuild_data_source
(asset: Asset, quote: Asset, df: pd.DataFrame)
tests/backtest/test_backtesting_broker_processing.py:76
↓ 11 callersMethodcancel_order
Cancel an order
lumibot/backtesting/backtesting_broker.py:1268
↓ 11 callersFunctioncompute_final_price
Compute the SMART_LIMIT final price. `final_price_pct` is interpreted as the fraction of the bid/ask spread (from the midpoint toward the agg
lumibot/tools/smart_limit_utils.py:41
↓ 11 callersFunctiongetWindow
(node)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:1965
↓ 11 callersMethodget_chains
Returns option chains. Obtains option chain information for the asset (stock) from each of the exchanges the options trade on and ret
lumibot/brokers/broker.py:1418
↓ 11 callersMethodget_delta_for_strike
Retrieve the delta for an option with a specific strike. Parameters ---------- underlying_asset : Asset
lumibot/components/options_helper.py:993
↓ 11 callersMethodget_positions
(self)
tests/test_scheduled_run_once.py:100
↓ 11 callersFunctionget_trading_times
Generate a DatetimeIndex of trading times based on market calendar and timestep Parameters: ----------- pcal : pd.DataFrame
lumibot/tools/helpers.py:342
↓ 11 callersFunctionh
(t,e,i)
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 11 callersMethodhide
()
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 11 callersMethodhide
()
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 11 callersMethodis_error
(self)
lumibot/brokers/interactive_brokers.py:642
↓ 11 callersMethodlast_price
(self)
lumibot/components/agents/builtins.py:1462
↓ 11 callersFunctionn
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 11 callersFunctionparse_contract_symbol
Parse a futures contract symbol into components. Supports formats: - MNQU5 (Tradovate: root + month_code + 1-digit year) - MNQU2
lumibot/tools/futures_symbols.py:13
↓ 11 callersMethodsync_positions
Sync the broker positions with the lumibot positions. Remove any lumibot positions that are not at the broker.
lumibot/brokers/broker.py:970
↓ 10 callersFunctionRt
(t)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 10 callersFunctionUt
(t)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 10 callersFunction_agent_memory_context_kwargs
()
lumibot/components/agents/builtins.py:34
↓ 10 callersFunction_assert_fill
(row, *, time, symbol, side, price, qty, multiplier)
tests/test_ibkr_speed_burner_stubbed.py:243
↓ 10 callersMethod_build_dataset_keys
Return canonical (asset, quote, timestep) and legacy (asset, quote) cache keys.
lumibot/backtesting/thetadata_backtesting_pandas.py:223
↓ 10 callersMethod_event
(self, event: str, **fields: Any)
scripts/run_crypto_backtest_validation.py:603
↓ 10 callersMethod_get_headers
Create standard headers for API requests. Parameters ---------- with_auth : bool Whether to incl
lumibot/brokers/tradovate.py:146
↓ 10 callersFunction_load_runner_module
()
tests/test_crypto_backtest_validation_runner.py:10
↓ 10 callersMethod_make_broker
(self)
tests/test_tradovate.py:591
↓ 10 callersFunction_make_child_order
(strategy, asset, quote, quantity, side)
tests/test_backtesting_multileg_unit.py:65
↓ 10 callersFunction_market_order
(asset, quote, *, tif="day")
tests/test_backtesting_ccxt_execution_semantics.py:81
↓ 10 callersMethod_normalize_market
(cls, payload: Any)
lumibot/data_sources/polymarket_data.py:581
↓ 10 callersFunction_normalize_market_datetime
Ensure datetimes are timezone-aware in the default market timezone.
lumibot/tools/thetadata_helper.py:673
↓ 10 callersMethod_pull_broker_all_orders
(self)
tests/test_broker_cleanup.py:69
↓ 10 callersMethod_reload_credentials
Force reimport of credentials module to pick up env var changes.
tests/test_backtesting_parameters.py:12
↓ 10 callersFunction_row_key
(provider: str, symbol: str, interval: str)
scripts/build_release_readiness.py:91
↓ 10 callersFunction_supports_explicit_temperature_for_adk_model
Return True only for ADK-native models known to accept temperature. ADK's LiteLlm bridge forwards GenerateContentConfig fields to provider APIs.
lumibot/components/agents/runtime.py:971
↓ 10 callersMethod_update_pandas_data
( self, asset: Asset, quote: Optional[Asset], dataset_key: str | None = None,
lumibot/backtesting/interactive_brokers_rest_backtesting.py:520
↓ 10 callersFunction_wait_fill
(strategy: _HarnessStrategy, order: Order, *, timeout: int, drive_smart_limit: bool)
tests/test_smart_limit_live_matrix_tradier.py:40
↓ 10 callersFunctiona
(t,e,i)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 10 callersFunctione
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 10 callersMethoderror
(self, message: str, *args: Any, **kwargs: Any)
lumibot/components/agents/manager.py:1916
↓ 10 callersFunctiongetBasePlacement
(placement)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:2081
↓ 10 callersFunctiongetNodeName
(element)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:1961
↓ 10 callersMethodget_cash
Get the current cash value in your account. In live trading this forces a fresh broker balance refresh. If the broker cannot return a
lumibot/strategies/strategy.py:1286
↓ 10 callersMethodget_cash_events
(self, **_kwargs)
tests/test_cash_events.py:661
↓ 10 callersMethodget_error
(self, timeout=6)
lumibot/brokers/interactive_brokers.py:646
↓ 10 callersMethodget_orders
Get tracked orders, optionally filtered by identifiers and OrderStatus values. In live trading this refreshes broker order state before retur
lumibot/strategies/strategy.py:1581
↓ 10 callersMethodget_portfolio_value
Query the broker to get the current portfolio value (cash + net equity). This is a slow, expensive call, if you want the fast "last s
lumibot/strategies/strategy.py:1263
↓ 10 callersMethodget_safe_action
Convert complex action types to simple buy/sell actions
lumibot/brokers/interactive_brokers.py:1445
↓ 10 callersMethodget_series
( self, series_id: str, *, start: Any | None = None, end: Any | None =
lumibot/macro/fred.py:162
↓ 10 callersFunctionget_timezone_from_datetime
Convert datetime's timezone to pytz.timezone, handling both pytz and zoneinfo cases
lumibot/tools/helpers.py:902
↓ 10 callersFunctionget_trading_dates
Get a list of trading days for the asset between the start and end dates Parameters ---------- asset : Asset Asset we are get
lumibot/tools/thetadata_helper.py:3566
↓ 10 callersFunctionis_regular_trading_session
Check whether a datetime is inside a market's regular trading session. This intentionally ignores any strategy-level broker market setting.
lumibot/tools/helpers.py:582
↓ 10 callersMethodload
(self)
lumibot/brokers/polymarket.py:60
↓ 10 callersMethodload_history_table
(self)
lumibot/components/agents/builtins.py:1469
↓ 10 callersFunctiono
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 10 callersMethodpositions
(self)
lumibot/strategies/strategy.py:1473
↓ 10 callersMethodrequest
(self, endpoint, params)
tests/test_cash_events.py:430
↓ 10 callersMethodround_to_tick_size
Round price to the nearest tick size
lumibot/tools/projectx_helpers.py:1079
↓ 10 callersMethodsend_update_to_cloud
(self)
tests/test_strategy_executor_startup_cloud_update.py:23
↓ 10 callersFunctiontotal
(column: str)
scripts/run_ai_committee_provider_benchmark.py:273
↓ 10 callersFunctiontypeCheckConfig
(e,t,i)
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 10 callersFunctiontypeCheckConfig
(componentName, config, configTypes)
docsrc/_html/bootstrap/js/bootstrap.js:155
↓ 10 callersFunctiontypeCheckConfig
(componentName, config, configTypes)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:135
↓ 10 callersFunctiontypeCheckConfig
(componentName, config, configTypes)
docsrc/_html/bootstrap/js/bootstrap.esm.js:131
↓ 9 callersFunctionYt
(t)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 9 callersMethod__setattr__
(self, name, value)
lumibot/components/agents/builtins.py:67
↓ 9 callersMethod_audit_underlying_quote_fields
(self, order: Order)
lumibot/backtesting/backtesting_broker.py:4058
↓ 9 callersFunction_baseline
(slug: str)
tests/backtest/test_acceptance_backtests_ci.py:249
↓ 9 callersMethod_call_if_exists
(obj: Any, method_name: str, *args, **kwargs)
lumibot/brokers/polymarket.py:1020
↓ 9 callersFunction_coerce_datetime_column_to_utc_naive
Return a copy with mixed timezone datetimes normalized for sorting/export.
lumibot/tools/indicators.py:46
↓ 9 callersFunction_compile
(patterns: Iterable[str])
scripts/analyze_yappi_csv.py:36
↓ 9 callersMethod_connect
(self)
lumibot/components/memory/store.py:590
↓ 9 callersMethod_create_data_source
Create an instance of AlpacaBacktesting with default or provided parameters.
tests/test_alpaca_backtesting.py:1489
↓ 9 callersFunction_current_base_url
Return the latest downloader base URL, honoring runtime env overrides.
lumibot/tools/thetadata_helper.py:414
↓ 9 callersMethod_execution_bar_matches_datetime
Return True only when an execution bar belongs to the current sim bucket.
lumibot/backtesting/backtesting_broker.py:3303
↓ 9 callersFunction_get
(metric_name: str)
tests/backtest/test_acceptance_backtests_ci.py:138
↓ 9 callersMethod_get_bars_dict
Returns a dictionary of the data. Parameters ---------- dt : datetime.datetime The datetime to get the data.
lumibot/entities/data.py:1118
↓ 9 callersFunction_get_cached_bars_for_source
( *, asset: Asset, quote: Optional[Asset], timestep: str, start_dt: datetime, end_dt:
lumibot/tools/ibkr_helper.py:1488
↓ 9 callersMethod_is_index_like_underlying
Return True when the underlying behaves like an index for option-liquidity heuristics. Some strategies represent indices as plain stock Asset
lumibot/components/options_helper.py:2053
↓ 9 callersFunction_json_dumps
(value: Any)
lumibot/components/memory/store.py:20
↓ 9 callersFunction_jsonable
(value: Any)
lumibot/components/agents/builtins.py:737
↓ 9 callersFunction_load_module
()
tests/test_run_lumibot_data_matrix_unit.py:15
↓ 9 callersFunction_make_data_source
()
tests/test_ibkr_index_daily_last_price_unit.py:35
↓ 9 callersMethod_map_status_from_bitunix
Maps BitUnix order status string to Lumibot OrderStatus enum.
lumibot/brokers/bitunix.py:436
↓ 9 callersFunction_model_context_limit_tokens
(model: Any)
lumibot/components/agents/runtime.py:689
↓ 9 callersFunction_normalize_asset_type
(value: Any)
lumibot/tools/ibkr_helper.py:97
↓ 9 callersMethod_normalize_exchange_key
(exchange: Optional[str])
lumibot/backtesting/interactive_brokers_rest_backtesting.py:63
↓ 9 callersFunction_normalize_json
(value: Any)
lumibot/components/agents/manager.py:57
↓ 9 callersMethod_normalize_timestep
(value: str)
lumibot/components/agents/duckdb_tools.py:83
↓ 9 callersMethod_normalize_timestep_for_source
Return the Alpaca source timestep and optional pandas resample rule.
lumibot/backtesting/alpaca_backtesting.py:393
↓ 9 callersMethod_row_price
(row, key: str)
lumibot/backtesting/polymarket_backtesting.py:259
← previousnext →301–400 of 9,807, ranked by callers