Getting prices for option writing

ramatius
Hi,
How can I get the prices for PE/CE options writing (i.e. selling options) through kite API?
This is for CNC, not MIS.

Regards,
Ramakrishnan S
quantindia.in
Tagged:
  • sujith
    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.
  • ramatius
    Hi @sujith websockets gives me the LONG price, but not the SHORT (options writing) price for nifty. For options, these two are different.
  • ramatius
    @sujith 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.

    Regards,
    Ramakrishnan S
  • themohammedfaisal
    themohammedfaisal edited August 28
    @ramatius,
    Currently, you wouldn't be able to pull option shorting margins using the APIs. You can manually check the Zerodha margin calculator page.
    However, we plan on introducing this for APIs too.
  • ramatius
    @themohammedfaisal Look forward to have this soon. Thanks.
  • UdayKumar
    @themohammedfaisal shorting margins data will be required to build an effective trading strategy. Thanks for looking into this.
Sign In or Register to comment.