I am using kite.margins to check the availability of the margin before placing the trade. I check the margin requirements at https://api.kite.trade/margins/futures. However, it seems that despite having sufficient margin in the account returned by kite.margins, RMS rejects the trades. This could be due to the lag in kite.margins. I have also observed the lag of 3-5 mins in margin updation on kite dashboard. I am talking about the margin balance left after a trade execution(and not overnight settlement of delay of t+1, t+2).
Is this expected? Any updates on kite.margins api to be released?