Get Trade Intent
get_trade_intentFetch the persisted state of a trade intent and its associated orders.
Instructions
Fetch the persisted state of a trade intent and its orders.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| intent_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| dryRun | Yes | Whether the intent is running in dry-run mode. | |
| orders | No | ||
| reason | Yes | Operator-facing basket reason. | |
| status | Yes | Current trade-intent status. | |
| intentId | Yes | Stable trade-intent identifier. | |
| accountId | No | Target IB account. | |
| createdAt | Yes | Creation timestamp. | |
| intentKey | Yes | Deterministic idempotency key for this basket. | |
| lastError | No | Most recent intent-level error. | |
| updatedAt | Yes | Last update timestamp. | |
| approvalId | No | Attached approval record. | |
| orderCount | Yes | Number of orders in the basket. | |
| ordersFailed | Yes | ||
| ordersFilled | Yes | ||
| approvalStatus | No | Approval status for this intent. | |
| ordersCancelled | Yes | ||
| ordersSubmitted | Yes |