Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Lumiwealth/lumibot
/ functions
Functions
9,807 in github.com/Lumiwealth/lumibot
⨍
Functions
9,807
◇
Types & classes
1,103
↳
Endpoints
177
↓ 5 callers
Method
_set_current_time
Helper to set the mock time.
tests/test_backtesting_broker_await_close.py:46
↓ 5 callers
Method
_slide
(e,t)
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 5 callers
Method
_slide
(t,e)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 5 callers
Method
_slide
(directionOrOrder, element)
docsrc/_html/bootstrap/js/bootstrap.js:1437
↓ 5 callers
Method
_slide
(t,e)
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 5 callers
Method
_slide
(directionOrOrder, element)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:1417
↓ 5 callers
Method
_slide
(directionOrOrder, element)
docsrc/_html/bootstrap/js/bootstrap.esm.js:1413
↓ 5 callers
Method
_start_tradier_read_backoff
(self, endpoint: str)
lumibot/brokers/tradier.py:147
↓ 5 callers
Function
_strategy_with_position
(quantity, avg_fill_price=100.0)
tests/test_stock_split_accounting.py:21
↓ 5 callers
Function
_strike_step
(symbol: str)
scripts/bench_smart_limit_vs_market.py:266
↓ 5 callers
Function
_strike_step
(symbol: str)
tests/test_smart_limit_live_matrix_alpaca.py:109
↓ 5 callers
Function
_strike_step
(symbol: str)
tests/test_smart_limit_live_matrix_tradier.py:81
↓ 5 callers
Function
_strip_placeholder_rows
Drop placeholder rows (missing=True) from the dataframe.
lumibot/tools/thetadata_helper.py:1964
↓ 5 callers
Method
_submit_order
Do checking and input sanitization, then submit the order to the broker. Parameters ---------- order: Order
lumibot/brokers/tradier.py:885
↓ 5 callers
Function
_tradier
()
tests/test_smart_limit_live_matrix_tradier.py:25
↓ 5 callers
Method
_trigger_periodic_cleanup
Trigger cleanup based on iteration counter.
lumibot/brokers/broker.py:747
↓ 5 callers
Method
_truthy_env
(value: str | None)
lumibot/brokers/broker.py:126
↓ 5 callers
Method
_validate_order
(self, _order)
tests/test_smart_limit_multileg_unit.py:43
↓ 5 callers
Function
_wait_for_terminal_or_active
(broker, order: Order, strategy_name: str, timeout_seconds: float)
scripts/schwab_titus_live_fill_hedge_smoke.py:74
↓ 5 callers
Function
_wrap_builtin_tools
(strategy, tool_definitions)
tests/test_agent_tool_permissions.py:65
↓ 5 callers
Function
add_file_handler
Add a file handler to the root logger to also log to a file. Parameters ---------- file_path : str Path to the log file.
lumibot/tools/lumibot_logger.py:945
↓ 5 callers
Method
add_ohlc
Adds an OHLC (candlestick) data point to the indicator chart. This can be used to plot price bars, Heikin Ashi candles, or any other
lumibot/strategies/strategy.py:4049
↓ 5 callers
Method
advance_time
Advance time in backtesting. CRITICAL: This method guarantees forward time progression, solving the infinite restart
lumibot/strategies/session_manager.py:173
↓ 5 callers
Method
calculate_trade_cost
Calculate the trade cost of an order for a given strategy
lumibot/backtesting/backtesting_broker.py:2005
↓ 5 callers
Method
calculate_trading_costs
Calculates the total trading costs for an order.
lumibot/components/drift_rebalancer_logic.py:656
↓ 5 callers
Method
cash_settle_options_contract
Cash settle an options contract (used by cash-settled index options).
lumibot/backtesting/backtesting_broker.py:1716
↓ 5 callers
Method
cleanup_streams
(self)
lumibot/brokers/polymarket.py:344
↓ 5 callers
Method
custom
Register-and-evaluate a user-defined indicator. Parameters ---------- name : str Arbitrary label used in the cach
lumibot/indicators/indicators.py:136
↓ 5 callers
Function
detectOverflow
(state, options)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:2846
↓ 5 callers
Method
exec_module
(self, module)
lumibot/__init__.py:142
↓ 5 callers
Method
find_asset_in_data_store
(self, asset, quote=None, timestep=None)
lumibot/data_sources/pandas_data.py:392
↓ 5 callers
Method
get
(self, url, params=None)
tests/test_polymarket_broker.py:8
↓ 5 callers
Function
getOffsetParent
(element)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:2243
↓ 5 callers
Function
getParam
(name)
docsrc/_html/posthog.js:16
↓ 5 callers
Method
getTitle
()
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 5 callers
Method
getTitle
()
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 5 callers
Method
getTitle
()
docsrc/_html/bootstrap/js/bootstrap.js:3931
↓ 5 callers
Method
getTitle
()
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 5 callers
Method
getTitle
()
docsrc/_html/bootstrap/js/bootstrap.bundle.js:5697
↓ 5 callers
Method
getTitle
()
docsrc/_html/bootstrap/js/bootstrap.esm.js:3907
↓ 5 callers
Function
get_available_projectx_firms
Get list of firms that have ProjectX configuration available
lumibot/credentials.py:542
↓ 5 callers
Method
get_datetime
(self)
tests/test_backtesting_broker.py:308
↓ 5 callers
Method
get_greeks
Get the greeks of an option asset. Parameters ---------- asset : Asset The option asset to get the greek
lumibot/brokers/broker.py:1664
↓ 5 callers
Method
get_income_statement
(self, symbol: str, *, as_of: Any | None = None, raw: bool = False)
lumibot/fundamentals/sec.py:276
↓ 5 callers
Method
get_iter_count
Return the index location for a given datetime.
lumibot/entities/data_polars.py:402
↓ 5 callers
Method
get_last_price
(self, now)
tests/test_ibkr_index_daily_last_price_unit.py:13
↓ 5 callers
Method
get_order_book
(self, token_id: str | Asset)
lumibot/data_sources/polymarket_data.py:458
↓ 5 callers
Function
get_queue_client
Get or create the global queue client. Queue mode is ALWAYS enabled - this is the only way to connect to ThetaData. Args: client_id:
lumibot/tools/data_downloader_queue_client.py:1105
↓ 5 callers
Method
get_result
Get the result of a request.
lumibot/tools/data_downloader_queue_client.py:701
↓ 5 callers
Function
get_symbol_returns
Get the returns for a symbol between two dates Parameters ---------- symbol : str The symbol to get the returns for start : d
lumibot/tools/indicators.py:567
↓ 5 callers
Method
get_tracked_positions
Deprecated, will be removed in the future. Please use `get_positions()` instead.
lumibot/strategies/strategy.py:1257
↓ 5 callers
Method
history_retrieve_bars
Retrieve historical bars for a contract
lumibot/tools/projectx_helpers.py:604
↓ 5 callers
Method
initialize
(self, parameters=None)
tests/test_smart_limit_live_matrix_alpaca.py:17
↓ 5 callers
Method
initialize
(self, parameters=None)
tests/test_smart_limit_live_matrix_tradier.py:17
↓ 5 callers
Function
isElement
(node)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:1978
↓ 5 callers
Function
is_process_alive
Check if ThetaTerminal Java process is still running
lumibot/tools/thetadata_helper.py:4785
↓ 5 callers
Function
ke
(t,e)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 5 callers
Function
load_cache
Load the data from the cache file and return a DataFrame with a DateTimeIndex. Performance notes ----------------- For multi-year intrada
lumibot/tools/thetadata_helper.py:4149
↓ 5 callers
Function
make_order
(strategy, asset, side, quantity)
tests/test_backtesting_futures_flips.py:34
↓ 5 callers
Method
merge
(existing: pd.DataFrame, incoming: pd.DataFrame)
lumibot/tools/parquet_series_cache.py:94
↓ 5 callers
Method
options_expiry_to_datetime_date
Convert an options expiry to datetime.date. Parameters ---------- expiry : str | datetime.date | datetime.datetime
lumibot/strategies/strategy.py:2848
↓ 5 callers
Method
pause
(e)
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 5 callers
Method
pause
(t)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 5 callers
Method
pause
(event)
docsrc/_html/bootstrap/js/bootstrap.js:1209
↓ 5 callers
Method
pause
(t)
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 5 callers
Method
pause
(event)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:1189
↓ 5 callers
Method
pause
(event)
docsrc/_html/bootstrap/js/bootstrap.esm.js:1185
↓ 5 callers
Method
process_expired_option_contracts
Process expiration lifecycle events for options contracts. Parameters ---------- strategy : Strategy object. Stra
lumibot/backtesting/backtesting_broker.py:1748
↓ 5 callers
Function
quantize_to_num_decimals
(num: float, num_decimals: int)
lumibot/tools/helpers.py:871
↓ 5 callers
Function
redact_for_log
(value: Any)
scripts/polymarket_smoke.py:413
↓ 5 callers
Method
register_cron_callback
Register a callback function to be executed according to a cron schedule. Parameters ---------- cron_schedule : str
lumibot/strategies/strategy.py:3444
↓ 5 callers
Function
reload_lumibot_logger
Helper to reload lumibot logger module
tests/test_backtesting_quiet_logs_complete.py:45
↓ 5 callers
Function
select_futures_exchange_from_secdef_search_payload
Select the best FUT exchange from an IBKR `iserver/secdef/search` response. Tie-break rules (highest priority first): - prefer currency == US
lumibot/tools/ibkr_secdef.py:13
↓ 5 callers
Method
sell_all
sell all positions
lumibot/brokers/broker.py:2585
↓ 5 callers
Method
set_time_parameters
Set time parameters for backtesting session. Args: start_time: Session start time end_time: Session
lumibot/strategies/session_manager.py:250
↓ 5 callers
Method
settle_expired_option_contract
(self, position, strategy)
lumibot/backtesting/backtesting_broker.py:1666
↓ 5 callers
Method
shutdown
Cleanup thread pool resources
lumibot/data_sources/data_source.py:98
↓ 5 callers
Method
sleep_and_get_proxy
This sleeps and optionally returns a proxy if PROXY_ENABLED is True, otherwise returns None. The most important thing this does is sl
lumibot/tools/yahoo_helper.py:71
↓ 5 callers
Method
start
(self, ib_username, ib_password)
lumibot/data_sources/interactive_brokers_rest_data.py:78
↓ 5 callers
Method
submit_orders
Submit orders
lumibot/brokers/broker.py:2485
↓ 5 callers
Function
summarize_order
(order)
scripts/polymarket_lumibot_smoke.py:195
↓ 5 callers
Function
te
(t)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 5 callers
Function
to_plain
(value: Any)
scripts/polymarket_smoke.py:393
↓ 5 callers
Method
toggle
()
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 5 callers
Method
toggle
()
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 5 callers
Method
withdraw_cash
Withdraw cash during backtesting and return the updated cash balance.
lumibot/strategies/strategy.py:1324
↓ 5 callers
Function
wrapped
(url: str, querystring: Optional[dict[str, Any]], headers=None, timeout=None)
tests/backtest/test_routed_backtesting_router_apitest.py:51
↓ 4 callers
Function
Ae
(t,e)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 4 callers
Function
F
(t,e="hide")
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 4 callers
Function
R
(t,e="hide")
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 4 callers
Function
Zt
(t)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 4 callers
Method
__init__
(self, name: str, level=logging.NOTSET)
lumibot/tools/lumibot_logger.py:499
↓ 4 callers
Method
__init__
(self, router: "RoutedBacktestingPandas")
lumibot/backtesting/routed_backtesting.py:158
↓ 4 callers
Method
__init__
(self, option_source)
tests/test_options_helper_delta_quote_fallback.py:75
↓ 4 callers
Method
_addAriaAndCollapsedClass
(e,t)
docsrc/_html/bootstrap/js/bootstrap.esm.min.js:6
↓ 4 callers
Method
_addAriaAndCollapsedClass
(t,e)
docsrc/_html/bootstrap/js/bootstrap.bundle.min.js:6
↓ 4 callers
Method
_addAriaAndCollapsedClass
(triggerArray, isOpen)
docsrc/_html/bootstrap/js/bootstrap.js:1881
↓ 4 callers
Method
_addAriaAndCollapsedClass
(t,e)
docsrc/_html/bootstrap/js/bootstrap.min.js:6
↓ 4 callers
Method
_addAriaAndCollapsedClass
(triggerArray, isOpen)
docsrc/_html/bootstrap/js/bootstrap.bundle.js:1861
↓ 4 callers
Method
_addAriaAndCollapsedClass
(triggerArray, isOpen)
docsrc/_html/bootstrap/js/bootstrap.esm.js:1857
← previous
next →
801–900 of 9,807, ranked by callers