List backtests

list_backtestsReads onlySafe to repeat

The app lists your backtests.

Details#

List the member's saved backtests, newest first, from their chart's Backtests tab and from AI connectors. Each row is { id, created_at, ran_from, script { id, name, version }, market { symbol, venue, timeframe }, range { from, to, whole_history }, profit_pct, worst_drop_pct, holding_profit_pct, holding_worst_drop_pct, trades, warnings } (percentages only; warnings is how many; read them with get_backtest). limit is 1 to 20, 10 when omitted; when more rows exist, next_offset is set: call again with offset set to it. Picking the best of many runs is overfitting: when you compare runs, tell the member how many you compared. Example: call with no arguments.

Note. This tool is available on accounts that include backtests.

Inputs#

NameTypeRequiredDescription
limitintegerOptionalOptional page size, a whole number from 1 to 20. Omit for 10.
offsetintegerOptionalOptional. next_offset from the previous page. Omit for the first page.