I was checking my logs for rejected orders today and realized that particular order of mine was rejected because of an error in calculation from Zerodha's side.
I had placed a limit order for 3 shares of INDIGO at Rs. 1,890.95. The margin required for the same should have been 1,890.95 * 3 = 5672.85 but as you can see the error Zerodha gave was that the required margin is 6042.65. You may notice that the available margin was 5743.3 and ideally the order should not have been rejected
Please have a look at the snapshot attached.
I would like to know the actual issue if I have misunderstood in interpreting margin calculation or else there is a direct error in margin calculation from Zerodha's side.