Understanding Failures of 'Exit All Positions' in Fyers Platforms

Why 'Exit All Positions' doesn't work at all times?

The 'Exit All Positions' function, accessible in Fyers Web, Fyers App, and Fyers EA, allows users to close all their positions swiftly with a single tap or click. Nonetheless, there are specific scenarios where this feature may not operate effectively:
  1. Pending/Open Orders: If you have any open orders that are set as counter orders, attempting to place a new order through 'Exit All Positions' might lead to duplication and, consequently, the need for additional funds. This can result in the rejection of the order.
Suppose you have an open position in the Nifty 20500 CE options contract and a counter sell order set for a target price. When you activate 'Exit All Positions', the system tries to place new orders for closing each position. However, due to the existing open sell order, the system might ask for additional funds. If these funds are not available, none of your open positions may be closed.
  1. Orders Exceeding Freeze Quantities: In instances where your positions include quantities that surpass the Freeze quantities set by the exchange, your order may not go through and get rejected.
Consider you hold 5000 Qty of Nifty 20500 CE, which is above the prescribed 'Freeze Quantity'. In this scenario, attempting to use 'Exit All Positions' may be unsuccessful. To resolve this, you would need to manually place orders to close such positions.