Realized trading performance
analyze_trade_performanceRead-onlyIdempotent
Analyze up to 500 chronological closed trades supplied by the user, each with net P&L after costs and original risk. Returns win rate, profit factor, expectancy in currency and R, total net R, and optional closed-trade equity drawdown when initial equity is supplied. Use for reviewing an existing trade sample. No account access, deposits, intratrade drawdown, forecasts, signals, or new risk recommendations.
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| trades | Yes | Closed trades ordered chronologically, all using the same currency and risk convention. Maximum 500. | |
| initialEquity | No | Starting equity before the ordered trades. Required only for equity drawdown metrics. No deposits or withdrawals are modeled. | |
| quoteCurrency | No | Currency shared by all monetary inputs. Defaults to USD; no currency conversion is performed. |
Output Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tool | Yes | ||
| inputs | Yes | ||
| metrics | Yes | ||
| formulas | Yes | ||
| warnings | Yes | ||
| assumptions | Yes | ||
| reproduceUrl | Yes | ||
| documentationUrl | Yes | ||
| calculationVersion | Yes |