Provisional margin shortfall for F&O positions

Thanks @VenuMadhav . Now we’re talking.

Here are some further questions -

  1. So penalty or no penalty depends on whether or not the shortfall occurs at the time of taking snapshots. What are the timestamps at which these snapshots are taken?
  2. If my margins on margin page become less than or equal to zero, what happens? Luckily I manage my positions so that this doesn’t happen, but what if it does? There are 2 cases here - this is captured in a snapshot v/s it’s not.
  3. What is the point when Zerodha will go ahead and square off my positions? What is the logic for this written in your code [if it will be squared off automatically]?
  4. If the point (3) is reached, will you square off the whole position, or a part of it? Let’s say I have 900 qty of calendar spread, will / can you square off just 200 qty out of it [from both legs]?
  5. If I get an email like the OP posted, you wrote that even if the position is squared off it is being sent. How will I know whether my action [of squaring off partial quantity or of adding some funds] has successfully avoided any possibility of penalty? Can you apply some more brain on when to fire that email and when not, as it is just confusing the user more [hence, the OP posted it].

I already asked for a better info on margin as the current info on that page is less than pathetic, hope the team is working on it - NSE Circular on Short margin penalty refund - #230 by paekut