Position Closing Order is one of the native strategy structures available in Generic Trader.
Use position awareness carefully
Confirm the account, symbol, and signed position quantity before using any position-aware strategy. If the position changes from another interface, review the resulting strategy behavior before submitting additional orders.
See also: Order strategies complete reference.