GetStrikePrices

GetStrikePrices : Returns list of Strike Prices (e.g. 10000, 11000, 75.5, etc.)

Supported parameters
accessKeyAccess key according to your subscriptionRequired parameter.
exchange

String value like NFO

Name of supported exchange. How to get list of supported exchanges you can find here
instrumentTypeString value like  OPTSTKOptional parameter. Name of supported Instrument Type. How to get list of supported values you can find here
productString value like BANKNIFTYOptional parameter. Name of supported Product. How to get list of supported values you can find here
expiryString value like 30Jul2015Optional parameter. Name of supported Expiry Date. How to get list of supported values you can find here
optionTypeString value like CEOptional 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]
formatCSVOptional parameter. When format=CSV, data in CSV format will be returned. Please make sure not to pass xml parameter (neither True nor False) when format=CSV is sent
Examplehttp://endpoint:port/GetStrikePrices/?accessKey=0a0b0c&exchange=MCX&xml=true
What is returned ?
StrikePrices
Example of returned data
JSONXML
{“INSTRUMENTTYPES”: [“11000″,”10000″,”8500″,”8600”]}
<?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>11000</Value>
<Value>10000</Value>
<Value>8500</Value>
<Value>8600</Value>

</StringArray>

JSON
Value
11000
10000
8500
8600

Was this helpful?