Strategy Field

Allowed sides

The Allowed sides field allows you to control what side of the trade you want to allow to execute. Some strategies may be long only and others may be short only. You can control this behavior by setting the Sides field in your strategy settings. The allowed values are:

  • Both (Bullish & Bearish) - Allow both bullish and bearish trades to execute.
  • Bullish - Allow only bullish trades to execute.
  • Bearish - Allow only bearish trades to execute.

Here is an example, if you have Allowed sides set to Bullish and you receive a signal for action=sell and there is no open bullish position to sell, the signal will be rejected. If you have have Allowed sides set to Both and Allow side swapping is enabled, it will exit the open bullish position if it exists and enter bearish on the other side.

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