How can I prevent my open positions from being squared off due to Margin Shortfall?

How can I prevent my open positions from being squared off due to Margin Shortfall?

Since, the square off process is triggered when the available margin is less than the required margin, providing additional margin will ensure that sufficient margins are available in case you face losses. You can add funds according to the additional margin requirement to prevent it from being squared-off before the market closes.