Trades

Exit reason values

What each exit_reason in the trades table means.

1 min readUpdated Jun 19, 2026

Every closed trade carries an exit reason. The set is the same in backtest and live; live values are populated by the position-manager based on what the exchange reported.

ValueMeaning
stop lossStop price was hit
take profitTake profit price was hit
signalA custom exit condition fired
trend reversaltrend_detection flipped against the position
manualUser-initiated close (or detected close at the exchange)
liquidationPosition liquidated by the exchange

In backtest

liquidation is rare - the engine doesn't simulate exchange liquidation precisely (no per-contract margin math). A liquidation in a backtest is usually a degenerate case.

In live trading, the position-manager's close detection consumes exchange WebSocket events to classify the close. Each venue's adapter publishes the appropriate reason; see Close detection.

Reading the mix

A healthy strategy mix:

  • Trend follower: many take profit + trend reversal; few stop loss.
  • Mean reversion: many take profit; some stop loss; rare signal.
  • Scalp: even split between take profit and stop loss.

Outsized counts of liquidation or manual in a live strategy suggest something is wrong - investigate.

Exit reason values | Help Center | LucraX · LucraX