Hi @RathnadharKV
We understand that most API orders are for derivative segments. However, derivative instrument keys expire regularly, and using expired instruments in examples would be unhelpful to users.
Additionally, we prefer to use equity stocks priced under ₹100 for examples. This minimizes financial risk if a user inadvertently copies and places an order. Furthermore, a sell order for an equity stock requires EDIS if present in your holdings. If a user unknowingly copies a sell order example with a derivative instrument, it could lead to a short sell of an option, which requires significant margin and poses a substantial financial risk for someone merely trying out the API. Our intention behind using inexpensive equity instruments in examples was to mitigate these risks.
They are not live code/templates. They are there for coding reference that is all. Nobody gets influenced by examples to hard code the values in live. If they are so dumbos then they dont deserve to be a developer. These API are certainly not meant for them.
Further if you give example of an expired contract. That is more fool proof than any equity under 100 Rs. scenario, since the exchange itself will reject the order therefore, there is no financial liability.
My question still stands and my request is
Please give examples of Derivative segments in NSE and MCX.
While I have to live with the quixotic reason provided for only illustrating a equity order in examples…
Even for reference, there is no glossary of the entire list of fields that are needed for derivative (F&O) orders. I am struck with derivative (F&O) order placement and modification, as there is no document as to which fields have to be provided for a valid order mandate.
At least, here, for my reference, kindly provide an example of Derivative order placement and modification. I will give an undertaking that I will not copy paste the value from here (I believe I am not that dumbo to do it)… to my code and further indemnify UPSTOX against loss incurred by me with such a dumbo action of mine on me.