get_risk_metrics
Calculate Sharpe, Sortino, max drawdown, and volatility versus a benchmark for an Indian stock as of a chosen date, using a configurable lookback window.
Instructions
Sharpe, Sortino, max drawdown, volatility vs benchmark.
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": {
"symbol": "<symbol>"
},
"name": "get_risk_metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | ||
| symbol | Yes | ||
| benchmark | No | ^NSEI | |
| lookback_days | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||