Run a multi asset portfolio backtest: BILLS ONE CREDIT PER ASSET

Async: returns a jobId to poll at GET /v1/portfolio/execute/{jobId}. All or nothing, if the account cannot cover every asset the run is refused, not partially executed. Send Idempotency-Key to make a retry safe.

post/v1/portfolio/execute

Request

  • Base URL: https://app.texttoquant.com/api
  • URL: https://app.texttoquant.com/api/v1/portfolio/execute
  • Auth: one of:
    • API key in header x-api-key
    • HTTP bearer

Headers

Idempotency-Keystring

Replaying a key returns the original run instead of billing again.

Request body

assetsobject[] required
initialCapitalnumber
settingsobject
advancedobject

Response

Success

successtrue required
dataobject required

Changes

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