Fill history
search_tradesFind executed trades for a trading account by specifying a time range. Returns trade details, including profit and loss for closed positions.
Instructions
Fills in a time window. profitAndLoss is null on the opening half of a round turn (halfTurn=true) and set on the closing fill. Defaults to the current trading day.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| accountId | Yes | Trading account ID from list_accounts. | |
| endTimestamp | No | ||
| startTimestamp | No |