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.
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 09-26;
reverse works with destination=tradovate;: the live net position is read from Tradovate's real-time fill stream and flipped with a single market order for twice the open size. A bare reverse on a flat instrument fails cleanly; include action, qty, and order_type to also enter when flat.