Strategy Message

Not Exit Signal

Cannot exit open {{ openPositionSentiment }} {{ ticker }} position because the signal is not an exit signal.

This message indicates that an open position was found for the specific ticker, but the open position will not be exited because the signal is not an exit signal. For example, if the signal contains action=buy and you have an open bullish long position, the signal will not exit the position because it is not an exit signal for a bullish long position.

If you want to exit the open position, regardless of side, you can use action=exit:

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

The above example will exit the full quantity of the open AAPL position, regardless of which side it is on. Or alternatively, if you only want to exit open bullish long position, you can use action=sell:

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

The above example will only exit bullish long positions for AAPL.

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