It closes all opposite positions. Either with enterLong() or with exitShort().