GetStrikePrices : Returns list of Strike Prices (e.g. 10000, 11000, 75.5, etc.)
Supported parameters
Exchange | String value like NFO | Name of supported exchange. How to get list of supported exchanges you can find here |
InstrumentType | String value like OPTIDX or OPTSTK | Optional parameter. Name of supported Instrument Type. How to get list of supported values you can find here |
Product | String value like BANKNIFTY | Optional parameter. Name of supported Product. How to get list of supported values you can find here |
Expiry | String value like 30Jul2015 | Optional parameter. Name of supported Expiry Date. How to get list of supported values you can find here |
OptionType | String value like CE | Optional parameter. Name of supported Option Type. How to get list of supported values you can find here |
What is returned ?
StrikePrices |
Sample request(JavaScript)
{ MessageType: "GetStrikePrices", Exchange: "NFO", }; var message = JSON.stringify(request); websocket.send(message);
Example of returned data in JSON format
{ "Request":{ "Exchange":"NFO", "MessageType":"GetStrikePrices" }, "Result":[ {"Value":"11000"}, {"Value":"10000"}, {"Value":"8500"}, {"Value":"8600"} ], "MessageType":"StrikePricesResult" }