PartialEvent

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

totalExecuted: number

Total executed percentage from partial closes

note: string

Human-readable description of signal reason

backtest: boolean

True if backtest mode, false if live mode