GetInstrumentTypes : Returns list of Instrument Types (e.g. FUTIDX, FUTSTK, etc.)
Supported parameters
Exchange | String value like MCX | Name of supported exchange. How to get list of supported exchanges you can find here |
What is returned ?
InstrumentTypes |
Sample request(JavaScript)
{ MessageType: "GetInstrumentTypes", Exchange: "NFO", }; var message = JSON.stringify(request); websocket.send(message);
Example of returned data in JSON format
{ "Request":{ "Exchange":"NFO", "MessageType":"GetInstrumentTypes" }, "Result":[ {"Value":"OPTIDX"}, {"Value":"OPTSTK"} ], "MessageType":"InstrumentTypesResult" }