Order history
search_ordersRetrieve orders created within a specified time window for a trading account. Provide the account ID and start timestamp, with an optional end timestamp, to list matching orders.
Instructions
Orders created in a time window (any status). For trailing stops, trailPrice here is the trail distance in price, not a level.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"accountId": "<accountId>",
"startTimestamp": "<startTimestamp>"
},
"name": "search_orders"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | Trading account ID from list_accounts. | |
| endTimestamp | No | ||
| startTimestamp | Yes |