BreakevenCommit

Breakeven event.

action: "breakeven"

Discriminator for breakeven action

currentPrice: number

Current market price at time of breakeven adjustment

pnl: IStrategyPnL

Total PNL of the closed position (including all entries and partials)

peakProfit: IStrategyPnL

Peak profit achieved during the life of this position up to the moment this public signal was created

maxDrawdown: IStrategyPnL

Maximum drawdown experienced during the life of this position up to the moment this public signal was created

position: "long" | "short"

Trade direction: "long" (buy) or "short" (sell)

priceOpen: number

Entry price for the position

priceTakeProfit: number

Effective take profit price (may differ from original after trailing)

priceStopLoss: number

Effective stop loss price (set to priceOpen by breakeven action)

originalPriceTakeProfit: number

Original take profit price before any trailing adjustments

originalPriceStopLoss: number

Original stop loss price before any trailing adjustments

scheduledAt: number

Signal creation timestamp in milliseconds

pendingAt: number

Position activation timestamp in milliseconds (when price reached priceOpen)