Strategy Field

Disable side swapping

When you have Sides set to Both, TradersPost will automatically swap sides for you after exiting an open position. We will first send an order for the exit, wait for the exit to fully fill, then send an order for the entry.

If you want to disable this behavior, check the Disable side swapping checkbox. For example, if you send action=buy, by default this signal will both exit the open bullish AAPL position and then enter a bearish position.

{
    "ticker": "AAPL",
    "action": "buy"
}

If you check the Disable side swapping checkbox, the signal will only exit the open bullish AAPL position and will not enter a bearish position.

Ready to automate your trading? Sign up for free today.