Prepare backtest data
Enqueues a prepare task over the requested date range. Returns immediately with a jobId;
poll GET /backtest/{exchangeId}/{type}/prepare/{jobId} for completion.
The same params always return the same jobId (idempotent). Repeated calls with identical
params do not enqueue duplicate work — they reuse the existing job.
Every source in DataSourceType can be prepared, but not every one can then be run: funding
data can be prepared and is rejected by execute and executeSweep. A kline prepare takes
the bar width from cadence — see PrepareRequest.
exchangeId: user is reserved for your own uploaded data. Instead of a managed
exchange, it prepares from a dataset you created via POST /datasets (see the Dataset
endpoints) — send datasetId in place of instrument. See PrepareRequest below for the
two request shapes.
Prepare backtest data Enqueues a prepare task over the requested date range. Returns immediately with a
jobId; pollGET /backtest/{exchangeId}/{type}/prepare/{jobId}for completion.The same params always return the same
jobId(idempotent). Repeated calls with identical params do not enqueue duplicate work — they reuse the existing job.Every source in
DataSourceTypecan be prepared, but not every one can then be run:fundingdata can be prepared and is rejected byexecuteandexecuteSweep. Aklineprepare takes the bar width fromcadence— seePrepareRequest.exchangeId: useris reserved for your own uploaded data. Instead of a managed exchange, it prepares from a dataset you created viaPOST /datasets(see the Dataset endpoints) — senddatasetIdin place ofinstrument. SeePrepareRequestbelow for the two request shapes.