v13

latestOpenAPI 3.1.0raw.githubusercontent.com2026-04-0815390371.2 KB
Backtesting

Run Backtesting

Run a backtesting simulation with the provided configuration.

Args: backtesting_config: Configuration for the backtesting including start/end time, resolution, trade cost, and controller config

Returns: Dictionary containing executors, processed data, and results from the backtest

Raises: Returns error dictionary if backtesting fails

post/backtesting/run-backtesting

Request body

start_timeinteger
end_timeinteger
backtesting_resolutionstring
trade_costnumber

Response

Successful Response

{"stackTrail":"paths:/backtesting/run-backtesting:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}