Daily derived metrics
metricsDaily computed metrics for one symbol: adj_close, returns over 1, 5, 21, 63, 126 and 252 days and year to date, 52-week high and low and distance from them, average volume and turnover. Required: exchange, symbol. Without from and to it returns the last 90 days. Up to 250 rows per call, oldest first. End of day data only, no intraday or live prices. Coverage: NSE from 2010-01-04, BSE from 2024-07-08. Tier: needs a Retail or Pro key (https://tejhq.dev/upgrade).
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": {
"exchange": "<exchange>",
"symbol": "<symbol>"
},
"name": "metrics"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | Last date, inclusive. Default: today. Format YYYY-MM-DD. | |
| from | No | First date, inclusive. Default: 90 days before to. Format YYYY-MM-DD. | |
| limit | No | Most rows to return. | |
| offset | No | Rows to skip, for paging. Use meta.next_offset from a truncated result. | |
| symbol | Yes | Exchange ticker, for example RELIANCE, TCS, M&M. Case does not matter. | |
| exchange | Yes | Exchange: nse or bse, lower case. |