Risk Analytics
get_riskGet risk analytics: VaR (95/99%), Sharpe/Sortino/Calmar ratios, beta, and maximum drawdown for a symbol.
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>",
"interval": "<interval>",
"range": "<range>"
},
"name": "get_risk"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| range | Yes | Time range: 1y|2y|5y (default: 1y) | |
| fields | No | Comma-separated list of GraphQL field names to include; omitted = curated default set | |
| symbol | Yes | Stock ticker symbol | |
| interval | Yes | Candle interval: 1d|1wk (default: 1d) | |
| benchmark | No | Benchmark symbol for beta calculation (e.g., "SPY") |