Strategy Field

Allow side swapping

This setting applies when you use action=buy or action=sell to change sides. Normally, if a buy/sell signal comes in for the opposite side, TradersPost will treat it like an exit-only signal by closing your position and stopping there. When Allow side swapping is turned on, we'll exit what you have and immediately open a new position on the opposite side.

Example: If you're long 5 and send a sell for 10, we'll exit your 5-long and enter a 10-short (when side swapping is enabled).

Note: The action=reverse is not affected by this setting. Reverse always exits the current position and enters the opposite side in one step, regardless of Allow side swapping.

Note: In the sell example above, if you'd like us to enter a 5-short instead, be sure to enable the Subtract exit quantity from signal quantity option as well.

When to use it:

  • Your strategy changes direction quickly and you want buy/sell signals to reverse positions in one step instead of waiting for two separate signals. For an explicit one-step reverse, use action=reverse.

Start trading at scale today. Sign up for free.

Free 7-day trial

Set-up in 3 minutes

Paper account for testing

Start now