Get Trade Results
get_trade_resultsResults of the user's CLOSED trades executed through TraderWAI: real entry and exit price, how it closed (tp / sl / manual), realized P/L in money and in R (multiples of the risk to the stop loss), plus a summary (total P/L, wins, losses, average R). Use it to review performance, learn from past trades and report results to the user. Set onlyMine=true to see only the trades you (this AI connection) placed. Availability depends on the broker (see capabilities.closedTradesHistory in get_broker_accounts); results update a few minutes after a position closes. Read-only.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Look-back period in days (default 30, max 365) | |
| limit | No | Max trades to return (default 50, max 200) | |
| symbol | No | Filter by symbol (e.g. EUR_USD) | |
| onlyMine | No | Only trades placed by this AI connection (default false) |