In which type of cases margin shortfall and consequent penalty will arise?

In which type of cases margin shortfall and consequent penalty will arise?

In the following scenarios margin shortfall may arise and margin shortfall penalty will be applicable: 

  1.  Margins increased by exchange during the day or EOD
  2.  Wound-up/ Square off one leg of position in hedge positions
  3.  Buy back of sold holding shares on the same day
  4.  Failure of early pay-in
  5.  Utilized Adhoc limits if any