Getting index option spread margins for multiple strike prices

saketrule
Hi, I'm trying to find the margins required to sell a option spread for different combinations of (strike_price, cover_strike_price) pairs. I understand that the baskets margin api can be used to find the margin for one spread. However, it only accepts one basket at a time. To get the same for 15 different strike prices, I will have to make 15 api calls. Is there a better way to get these margin values?

Also, If there is a solution that will allow me to estimate the same without getting the exact value, I can also work with that. I have gone through NSE's margin calculation presentations, but the computation is not clear to me and will require other values from kite.
  • SRIJAN
    No,you have to make multiple api calls for your case.
Sign In or Register to comment.