Developers menu

Developers / LAB / Test an options structure over the archive

Markdown copy

Test an options structure over the archive

Price an SPX 0DTE structure of up to four legs at an entry minute over the archived sessions on real quotes and settlement. 10 credits, refunded on failure; answers 202 with a job to poll.

POST/api/struct/run
Plan LABKey scope labLimit 10 credits a runVersion 1.0.0Since 2026-08-31

This endpoint serves

Plan: LAB. LAB credits: developing an idea is free, a backtest or an optimize pass is one credit, the desk is free once an idea is tested. LIVE includes 5 credits a month. Pricing.

Body

FieldMeaningUnit
specobject
spec.legsarrayOne to four SPX 0DTE legs, as the terminal's OPTIONS pane builds them
spec.entrystringEntry time, HH:MM ET

Response

{ job }: poll GET /api/struct/job.

FieldMeaningUnit
jobstringThe job id.

Errors

StatusCodeWhat to do
400A parameter is wrong.
401No key, or an unknown or revoked one. Send a lab key.
402No credits. Buy credits on the LAB page.

Every code: Errors.

Changes

  • 2026-08-31 Added.

OpenAPI operation structRun in /docs/developers/openapi.json.

Measurements of dealer positioning, never a forecast or a trade call. This page is built from FirmTape's public contract, the same files the OpenAPI document is built from; the tests hold them against the route code. Markdown: /docs/developers/lab/options-run.md.