ClosePendingCommit

Close pending signal event.

action: "close-pending"

Discriminator for close-pending action

closeId: string

Optional identifier for the close reason (user-provided)

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