CancelScheduledCommitNotification

Cancel scheduled commit notification. Emitted when a scheduled signal is cancelled before activation.

type: "cancel_scheduled.commit"

Discriminator for type-safe union

id: string

Unique notification identifier

timestamp: number

Unix timestamp in milliseconds when cancellation was committed

backtest: boolean

Whether this notification is from backtest mode (true) or live mode (false)

symbol: string

Trading pair symbol (e.g., "BTCUSDT")

strategyName: string

Strategy name that generated this signal

exchangeName: string

Exchange name where signal was executed

signalId: string

Unique signal identifier (UUID v4)

cancelId: string

Optional identifier for the cancellation reason (user-provided)

totalEntries: number

Total number of DCA entries (_entry.length). 1 = no averaging.

totalPartials: number

Total number of partial closes executed (_partial.length). 0 = no partial closes done.

originalPriceOpen: number

Original entry price at signal creation (unchanged by DCA averaging)

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

pnlPercentage: number

Profit/loss as percentage (e.g., 1.5 for +1.5%, -2.3 for -2.3%)

pnlPriceOpen: number

Entry price from PNL calculation (effective price adjusted with slippage and fees)

pnlPriceClose: number

Exit price from PNL calculation (adjusted with slippage and fees)

pnlCost: number

Absolute profit/loss in USD

pnlEntries: number

Total invested capital in USD

peakProfitPriceOpen: number

Peak price reached in profit direction during the life of this position

peakProfitPriceClose: number

Exit price for PNL calculation at the moment of peak profit

peakProfitCost: number

Absolute profit/loss in USD at the moment the position reached its peak profit during the life of this position

peakProfitPercentage: number

Profit/loss as percentage at the moment the position reached its peak profit during the life of this position

peakProfitEntries: number

Number of entries executed at the moment the position reached its peak profit during the life of this position

maxDrawdownPriceOpen: number

Maximum drawdown price reached in loss direction during the life of this position

maxDrawdownPriceClose: number

Exit price for PNL calculation at the moment of max drawdown

maxDrawdownCost: number

Absolute profit/loss in USD at the moment the position reached its maximum drawdown during the life of this position

maxDrawdownPercentage: number

Profit/loss as percentage at the moment the position reached its maximum drawdown during the life of this position

maxDrawdownEntries: number

Number of entries executed at the moment the position reached its maximum drawdown during the life of this position

note: string

Optional human-readable description of signal reason

createdAt: number

Unix timestamp in milliseconds when the notification was created