paper_trade_evaluate
Evaluate simulated trade entries, exits, or open positions using delayed historical quotes to estimate outcomes and fees without placing real orders.
Instructions
Evaluate a pending simulated entry/exit or mark an open position using delayed historical consolidated SIP top-of-book quotes; no order is sent. Buys use ask, sells use bid, latency and displayed size are enforced, and fees are itemized. A fill's execution time is its submitted_at plus latency (or session open); quote_as_of identifies the latest qualifying quote used at or before that instant. For entries, a separate position mark uses as_of. If as_of is omitted, it means now minus 16 minutes—not latest/live data. Read outcome_reason, state_after, next_action, and warnings; never infer a fill from an indeterminate outcome.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | ||
| trade_id | Yes | Trade UUID returned by paper_trade_record. | |
| request_id | Yes | Caller-generated idempotency key. Reuse only to retry the exact same call; use a new value otherwise. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||