Expiration or cancellation of pending trades

The system can be configured to expire trades or cancel trades.

  • expire_after_candles – How many candles should we wait before the order is triggered
  • cancel_order_if_sl_and_pending – if the price hits the calculated SL before the order is open, then cancel the trade, if this parameter is true