GetStrikePrices : Returns list of Strike Prices (e.g. 10000, 11000, 75.5, etc.)
Supported parameters
accessKey | Access key according to your subscription | Required parameter. |
exchange | String value like MCX | Name of supported exchange. How to get list of supported exchanges you can find here |
instrumentType | String value like FUTIDX | 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 |
xml | [true]/[false], default = [false] | Optional parameter. By default function will return JSON data. Functions will return XML data if set as [true] |
Example | http://endpoint:port/GetStrikePrices/?accessKey=0a0b0c&exchange=MCX&xml=true |
What is returned ?
StrikePrices |
Example of returned data
JSON | XML |
{“INSTRUMENTTYPES”: [“COM”,”FUTIDX”,”FUTIVX”,”FUTSTK”,”OPTIDX”,”OPTSTK”]} |
<?xml version=”1.0″ encoding=”utf-16″ ?>
<StringArray xmlns:xsd=”http://www.w3.org/2001/XMLSchema”
xmlns:xsi=”http://www.w3.org/2001/XMLSchema-instance”>
<Value>COM</Value>
<Value>FUTIDX</Value>
<Value>FUTIVX</Value>
<Value>OPTSTK</Value>
</StringArray> |