Thanks a lot. This is helpful. However, I don't see any API to get margin requirement for option selling though. Also what if I want to place a NIFTY18JANFUT BUY and NIFTY18JAN10500PE BUY - as this is a hedged position, the margin requirement should…