performance · wire operation
Full performance summary
Summarize a return series or equity curve: total/annualized return, volatility, Sharpe, Sortino, Calmar, max drawdown, omega, hit rate, profit factor, expectancy — plus beta/alpha/tracking error/information ratio/Treynor when a `benchmark` is supplied. Suspicious inputs (prices passed as returns, returns passed as equity) are flagged in diagnostics.warnings, never silently reported.
totalfinance.performance.analyze- MCP tool name
- totalfinance_performance_analyze
- Pack / profiles
- performance / backtesting, default, full, portfolio
- Default discovery
- Included in the default tool set
- Required capabilities
- None
- Effects / authorization
- none / none
- Cost / cancellation
- small / Do not assume inline interruption
- Handle-eligible inputs
- None
- Idempotency
- not-applicable
Input schema
| Field | Type | Meaning |
|---|---|---|
returnsOptional | number[] | Per-period returns as decimals (0.01 = +1%) — supply returns OR equity |
equityOptional | number[] | Equity curve (growth of capital, price levels) — supply returns OR equity |
periodsPerYearOptional | number | Annualization factor (default 252 daily; 12 monthly, 52 weekly) |
riskFreeRateOptional | number | Annualized risk-free rate (decimal, default 0) |
benchmarkOptional | number[] | Aligned per-period benchmark returns (decimals); adds beta/alpha/informationRatio/Treynor |
Complete JSON Schema
Loading…
Output schema
| Field | Type | Meaning |
|---|---|---|
valueRequired | object | The computed result |
assumptionsRequired | object | Every applied convention, echoed |
diagnosticsRequired | object | Engine/method/warnings (+ convergence where iterative) |
Complete JSON Schema
Loading…