There are 5 options available to squared-off position
All: If you select ALL positions both buy and sell positions will be squared-off based on the square-off logic you have selected
Buy: If you select sell positions along with buy positions, only buy position will be squared off
Sell : If you select buy positions along with sell positions, only sell positions will be squared-off
Value on Average price: This option is useful to find out the Original buy price of the options contract (Currently this is not available)
Square-off exact quantity: You can mention the exact quantity you want to square-off. If you untick this option then quantity will be display in terms of % which is by default 100%. You can change % according to your need.
Note: But % should be matched with market lots