backtests

Get Backtest Slice

Part of a completed run, as it ran, scaled to capital (spec 07 §6).

Return, P&L on capital, max drawdown, positions and bars over start..end (inclusive UTC days) at the run's own bar clock, from one results.json read (utils.backtest_slice, the one owner). Positions held at the slice start carry over; nothing is re-simulated. A bound outside the run is a 422 naming the run's window. Same access rule and 409 as /trades.

get/v1/backtests/{job_id}/slice

Request

  • Base URL: https://api.usekeel.io (the document declares no server; this is the origin it was published from)
  • URL: https://api.usekeel.io/v1/backtests/{job_id}/slice
  • Auth: none declared

Path parameters

job_idstring required

Query parameters

startstring nullable

First day of the slice (UTC).

endstring nullable

Last day of the slice, inclusive (UTC).

capitalnumber nullable

Value the slice starts from; default: the run's own.

Headers

Authorizationstring nullable
X-Org-Idstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.