Unified partial profit/loss event data for report generation. Contains all information about profit and loss level milestones.
timestamp: number
Event timestamp in milliseconds
action: "profit" | "loss"
Event action type (profit or loss)
symbol: string
Trading pair symbol
strategyName: string
Strategy name
signalId: string
Signal ID
position: string
Position type
currentPrice: number
Current market price
level: PartialLevel
Profit/loss level reached (10, 20, 30, etc)
priceOpen: number
Entry price for the position
priceTakeProfit: number
Take profit target price
priceStopLoss: number
Stop loss exit price
originalPriceTakeProfit: number
Original take profit price set at signal creation
originalPriceStopLoss: number
Original stop loss price set at signal creation
totalEntries: number
Total number of DCA entries (present when averageBuy was applied)
totalPartials: number
Total number of partial closes executed (_partial.length)
originalPriceOpen: number
Original entry price before DCA averaging (present when averageBuy was applied)
partialExecuted: number
Total executed percentage from partial closes
pnl: IStrategyPnL
Unrealized PNL at the moment this level was reached
note: string
Human-readable description of signal reason
pendingAt: number
Timestamp when position became active (ms)
scheduledAt: number
Timestamp when signal was created/scheduled (ms)
backtest: boolean
True if backtest mode, false if live mode