getOrders
Retrieve order history from TradeStation with status filtering options including Open, Filled, Canceled, or Rejected orders.
Instructions
Get order history with optional status filter
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | No | Account ID (optional, uses TRADESTATION_ACCOUNT_ID from env if not provided) | |
| status | No | Filter orders by status | All |
Input Schema (JSON Schema)
{
"properties": {
"accountId": {
"description": "Account ID (optional, uses TRADESTATION_ACCOUNT_ID from env if not provided)",
"type": "string"
},
"status": {
"default": "All",
"description": "Filter orders by status",
"enum": [
"Open",
"Filled",
"Canceled",
"Rejected",
"All"
],
"type": "string"
}
},
"type": "object"
}