get_oi_data
Retrieve historical open-interest data for futures and options instruments using exchange, symbol token, interval, and date range. Enables analysis of market positions.
Instructions
Get historical open-interest (OI) data for F&O instruments. Same interval/date format as get_candle_data.
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>",
"symboltoken": "<symboltoken>",
"interval": "<interval>",
"fromdate": "<fromdate>",
"todate": "<todate>"
},
"name": "get_oi_data"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| todate | Yes | ||
| exchange | Yes | ||
| fromdate | Yes | ||
| interval | Yes | ||
| symboltoken | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |