get_change_in_oi
Retrieves the change in open interest for an option contract over a specified number of days using instrument key, expiry, date, and interval.
Instructions
Change in option OI over N days (GET /v2/market/change-oi).
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": {
"instrument_key": "<instrument_key>",
"expiry": "<expiry>",
"date": "<date>",
"interval": "<interval>"
},
"name": "get_change_in_oi"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| date | Yes | YYYY-MM-DD | |
| expiry | Yes | YYYY-MM-DD or current_week|next_week|far_week|current_month|next_month|far_month | |
| interval | Yes | days over which the OI difference is computed | |
| instrument_key | Yes |