backtests

Get Backtest Trades

A completed run's closed positions, bounded (Q-1893; utils.backtest_trades).

The stored trade rows (one per order that reduced or closed a position) grouped into positions, entry to exit. No asset/start/end: a summary only (counts, win rate, P&L by asset, the best and worst positions). With a scope: that scope's summary plus one page of positions and a cursor. run_trades and run_positions are the run's own counts, each null when the run did not record it. One results.json read, same access rule and 409 as /curve.

get/v1/backtests/{job_id}/trades

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}/trades
  • Auth: none declared

Path parameters

job_idstring required

Query parameters

assetstring nullable

One asset's positions.

startstring nullable

Entry on/after (YYYY-MM-DD or ISO).

endstring nullable

Entry before (YYYY-MM-DD or ISO).

limitinteger
cursorstring nullable

Opaque cursor from a previous page.

sortstring

Headers

Authorizationstring nullable
X-Org-Idstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 2 revisions of this API.