It looks like you're new here. If you want to get involved, click one of these buttons!
.Net API client
.Net / VBA / Excel (3rd party)
Algorithms and Strategies
Mobile and Desktop apps
Market data (WebSockets)
In this Discussion
Getting prices for option writing
How can I get the prices for PE/CE options writing (i.e. selling options) through kite API?
This is for CNC, not MIS.
You can use get quotes or websockets to do the same. You will need an instrument token to do this which can be found in the instrument dump.
websockets gives me the LONG price, but not the SHORT (options writing) price for nifty. For options, these two are different.
pls comment on getting the margins for option writing. Looks like this is a major missing piece. Calculating through Black Scholes method is not matching up.
edited August 2019
Currently, you wouldn't be able to pull option shorting margins using the APIs. You can manually check the Zerodha
However, we plan on introducing this for APIs too.
Look forward to have this soon. Thanks.
shorting margins data will be required to build an effective trading strategy. Thanks for looking into this.
any luck with the above request?