No formula for margin, it is decided by the exchange, however you can calculate the margin required by zerodha, that is based on certain formula, check their official website.
But, how to get the margin value dynamically at various future prices, say for ABIRLANUVO17FEBFUT? {"margin": 12.5, "co_lower": 1.5, "mis_multiplier": 0, "tradingsymbol": "ABIRLANUVO17FEBFUT", "co_upper": 4.25, "nrml_margin": 75201.0, "mis_margin": 30080.4}
Also, how to calculate margin requirement for multi leg trading?
In your response i already see that you are getting margins. What do you mean margins for future values and also what do you mean by multi leg trading ?
I found following link https://api.kite.trade/margins/futures
But, how to get the margin value dynamically at various future prices, say for ABIRLANUVO17FEBFUT?
{"margin": 12.5, "co_lower": 1.5, "mis_multiplier": 0, "tradingsymbol": "ABIRLANUVO17FEBFUT", "co_upper": 4.25, "nrml_margin": 75201.0, "mis_margin": 30080.4}
Also, how to calculate margin requirement for multi leg trading?
Can you please share any appropriate link.