Margin benefit for Hedged options

SharadKothari edited June 2021 in Python client
While one can manually check margin for hedged options using Zerodha calculator, how can margin benefit be calculated programmatically for option buy to hedge short options, 'before' placing the orders. This is also equally important in case of margin computation for entire position which might have multiple short / long position for different strike and different expiry.
Sign In or Register to comment.