Skip to main content

Reverse

Unlike Reverse Position, which equates to a close position + entry of a specific new order, Reverse is a true inversion of an existing position.

Two long contracts before, two short contracts after. Reverse closes the current position and opens the same size in the opposite direction, taking its quantity from what you were already holding. If the account is flat there is nothing to reverse, so the working orders are still cleaned up but no new position is opened.

Size is inherited from the position you already hold.

The Reverse command accepts only the account and instrument fields. If no position exists in the underlying instrument, CrossTrade will take no action. Otherwise, the position is inverted, i.e., if it was previously long 4 contracts, it will become short 4 contracts.

All orders will be submitted as MARKET orders to perform the reversal.

Example Payload​

This command will reverse the current position and result in an identical position in the opposite direction.

key=your-secret-key;
command=reverse;
account=sim101;
instrument=ES 12-26;
On Tradovate

reverse works with destination=tradovate; using the same lifecycle as NinjaTrader. CrossTrade reads the live net position, liquidates it (which also clears working protection), waits for the account to become flat, then enters the same quantity in the opposite direction with a market order. A reverse on a flat instrument fails without placing an order.