Polyrankdocs
Strategy Lab

GET /v1/lab/paper-runs/{id}/orders

The limit orders of one of the caller’s paper runs, newest first (open=true: only those still resting), each with its fills (maker = a trade went through its price; taker = the part that took on arrival or at expiry), how it ended and why, and its signal’s row once it ended; with the open count and "what you missed": the orders that filled nothing, priced as if filled at their price and held to their market’s result, per $10, beside what the filled orders made. SIMULATED. 404 `lab_paper_disabled` while LAB_PAPER_ENABLED is off.

GET
/v1/lab/paper-runs/{id}/orders

The limit orders of one of the caller’s paper runs, newest first (open=true: only those still resting), each with its fills (maker = a trade went through its price; taker = the part that took on arrival or at expiry), how it ended and why, and its signal’s row once it ended; with the open count and "what you missed": the orders that filled nothing, priced as if filled at their price and held to their market’s result, per $10, beside what the filled orders made. SIMULATED. 404 lab_paper_disabled while LAB_PAPER_ENABLED is off.

AuthorizationBearer <token>

API key: Authorization: Bearer pk_live_… (mint at polyrank.app/api-keys)

In: header

Path Parameters

id*string

Query Parameters

open?string

true / false / 1 / 0

limit?integer
offset?integer

Response Body

application/json

application/json

application/json

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/v1/lab/paper-runs/497f6eca-6276-4993-bfeb-53cbbbba6f08/orders"
{  "run_id": "string",  "run_status": "active",  "orders": [    {      "id": 0,      "wallet": "string",      "token_id": "string",      "condition_id": "string",      "title": "string",      "status": "planned",      "cancel_reason": "string",      "reason": "string",      "limit_price": 0,      "usd": 0,      "shares": 0,      "tif": "gtd",      "expires_at": "string",      "ends_at": "string",      "post_only": true,      "placed_at": "string",      "ended_at": "string",      "filled_shares": 0,      "filled_usd": 0,      "maker_shares": 0,      "taker_shares": 0,      "fees_usd": 0,      "builder_fees_usd": 0,      "fills": [        {          "at": "string",          "price": 0,          "shares": 0,          "usd": 0,          "liquidity": "maker",          "fee_usd": 0,          "builder_fee_usd": 0        }      ],      "copy": {        "outcome": "string",        "reason": "string",        "won": 0,        "pnl_usd": 0,        "settled_at": "string"      }    }  ],  "open": 0,  "missed": {    "orders": 0,    "resolved": 0,    "per10": 0  },  "filled": {    "orders": 0,    "resolved": 0,    "per10": 0  }}
{  "error": "string",  "message": "string",  "feature": "string",  "field": "string",  "plan": "string",  "retry_after_sec": 0,  "retry_after_seconds": 0,  "reason": "string",  "running": 0,  "limit": 0,  "issues": [    null  ],  "trace_id": "string"}
{  "error": "string",  "message": "string",  "feature": "string",  "field": "string",  "plan": "string",  "retry_after_sec": 0,  "retry_after_seconds": 0,  "reason": "string",  "running": 0,  "limit": 0,  "issues": [    null  ],  "trace_id": "string"}
{  "error": "string",  "message": "string",  "feature": "string",  "field": "string",  "plan": "string",  "retry_after_sec": 0,  "retry_after_seconds": 0,  "reason": "string",  "running": 0,  "limit": 0,  "issues": [    null  ],  "trace_id": "string"}
{  "error": "string",  "message": "string",  "feature": "string",  "field": "string",  "plan": "string",  "retry_after_sec": 0,  "retry_after_seconds": 0,  "reason": "string",  "running": 0,  "limit": 0,  "issues": [    null  ],  "trace_id": "string"}
{  "error": "string",  "message": "string",  "feature": "string",  "field": "string",  "plan": "string",  "retry_after_sec": 0,  "retry_after_seconds": 0,  "reason": "string",  "running": 0,  "limit": 0,  "issues": [    null  ],  "trace_id": "string"}
{  "error": "string",  "message": "string",  "feature": "string",  "field": "string",  "plan": "string",  "retry_after_sec": 0,  "retry_after_seconds": 0,  "reason": "string",  "running": 0,  "limit": 0,  "issues": [    null  ],  "trace_id": "string"}
{  "error": "string",  "message": "string",  "feature": "string",  "field": "string",  "plan": "string",  "retry_after_sec": 0,  "retry_after_seconds": 0,  "reason": "string",  "running": 0,  "limit": 0,  "issues": [    null  ],  "trace_id": "string"}