get_returns
Compute simple or log returns for Indian stocks over chosen lookback windows as of a specified date for point-in-time analysis.
Instructions
Simple/log returns over lookback windows, computed in pandas.
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_returns"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| as_of | No | ||
| symbol | Yes | ||
| windows | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||