Seetu close postion

Is there a command to close out a position, independently of the number of shares? Something like:
C2TradingSignal(sigSTC, Amount=ALL);