Namaskara,
Why cant somebody vet the examples before posting them as official document.
I have repeated many times that when it comes to F&O information, its like Russian Iron Curtain to get even one line of information from UPSTOX. They stone wall providing any information. Perhaps they sell that document for a fat fee.
Let me illustrate:
URL:
API to retrieve put/call option chain for an underlying symbol for a specific expiry date.
Query Parameters
Name | Required | Type | Description |
---|---|---|---|
instrument_key | true | string | Key of an underlying symbol. For the regex pattern applicable to this field, see the Field Pattern Appendix. |
expiry_date | true | string | Expiry date in format: YYYY-MM-DD . |
Fine … great…Now lets come to the example:
curl -L -X GET ‘https://api.upstox.com/v2/option/chain’
-H ‘Accept: application/json’
Where are the “required information” in this example?? There is none.
Now
we get correct example…
curl --location ‘https://api.upstox.com/v2/option/chain?instrument_key=NSE_INDEX|Nifty%2050&expiry_date=2024-03-28’
–header ‘Accept: application/json’
–header ‘Authorization: Bearer {your_access_token}’
Here again…
there is no mention of the depth of the Option Chain..
Please when you publish the document kindly review the contents and then publish.
Its is a reflection of UPSTOX brand image.
Regards
Rathnadhar K V