Skip to main content
GET
/
v1
/
backtest
/
{job_id}
Get Backtest Job
curl --request GET \
  --url https://api.polyquantlab.com/v1/backtest/{job_id} \
  --header 'Authorization: Bearer <token>'
{
  "job_id": "bt_8421ae0c",
  "status": "complete",
  "submitted_at": "2026-06-06T03:54:11+00:00",
  "completed_at": "2026-06-06T03:54:38+00:00",
  "strategy": {
    "type": "threshold_entry",
    "threshold": 0.3,
    "direction": "below",
    "side": "buy_yes"
  },
  "params": {
    "position_size": 7.5,
    "fill_mode": "walk_book",
    "max_fill_price": 0.985,
    "taker_fee_rate": 0.072
  },
  "result": {
    "trades_total": 48,
    "trades_won": 31,
    "total_pnl": 14.82,
    "avg_pnl_per_trade": 0.309,
    "win_rate": 0.646,
    "profit_factor": 2.14,
    "sharpe_ratio": 1.82,
    "calmar_ratio": 4.21,
    "max_drawdown": -3.52,
    "equity_curve": [
      {
        "market_id": "0x4a8f31...c2",
        "ts": "2026-06-06T03:55:00+00:00",
        "cumulative_pnl": 0.62
      },
      {
        "market_id": "0x9c12af...8b",
        "ts": "2026-06-06T03:56:00+00:00",
        "cumulative_pnl": 1.18
      }
    ]
  },
  "error": null
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

job_id
string
required

Response

Successful Response

job_id
string
required
status
enum<string>
required
Available options:
queued,
running,
complete,
failed
submitted_at
string<date-time>
required
completed_at
string<date-time>
required
strategy
object
required
params
object
required
result
object
required
error
null
required