Compile + run a Pine script against real data (async; no persist)

post/v1/indicators/preview

Request

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

Request body

pine_codestring required
symbolstring
timeframestring
barsinteger

Response

Answers {success, jobId, status} at the top level (no data wrapper): poll /v1/indicators/preview/{jobId}

successtrue required
jobIdstring required
status'running' required

Changes

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