Different square-off combinations are available in Nest's Admin Positions window (F11). You can choose the right combination in line with your needs.
These are:
Note: Here if the order quantity is greater than the top bid price in market depth then trade will be placed only up to the available quantity at top bid price and the rest will stay as an open order.
Note: Here if the order quantity is greater than the top bid price in market depth then the order will go up to 5% in addition to the bid price