Unified tick event data for report generation. Contains all information about a tick event regardless of action type.
timestamp: number
Event timestamp in milliseconds (scheduledAt for scheduled events, pendingAt for opened/closed events)
action: "closed" | "opened" | "scheduled" | "cancelled" | "idle" | "waiting" | "active"
Event action type
symbol: string
Trading pair symbol (only for non-idle events)
signalId: string
Signal ID (only for scheduled/waiting/opened/active/closed/cancelled)
position: string
Position type (only for scheduled/waiting/opened/active/closed/cancelled)
note: string
Signal note (only for scheduled/waiting/opened/active/closed/cancelled)
currentPrice: number
Current price
priceOpen: number
Open price (only for scheduled/waiting/opened/active/closed/cancelled)
priceTakeProfit: number
Take profit price (only for scheduled/waiting/opened/active/closed/cancelled)
priceStopLoss: number
Stop loss price (only for scheduled/waiting/opened/active/closed/cancelled)
originalPriceTakeProfit: number
Original take profit price before modifications (only for scheduled/waiting/opened/active/closed/cancelled)
originalPriceStopLoss: number
Original stop loss price before modifications (only for scheduled/waiting/opened/active/closed/cancelled)
originalPriceOpen: number
Original entry price at signal creation (unchanged by DCA averaging)
totalEntries: number
Total number of DCA entries (_entry.length). 1 = no averaging.
totalPartials: number
Total number of partial closes executed (_partial.length)
partialExecuted: number
Total executed percentage from partial closes (only for scheduled/waiting/opened/active/closed/cancelled)
pnlCost: number
Absolute profit/loss in USD (for active/waiting: unrealized, for closed: realized)
pnlEntries: number
Total invested capital in USD
percentTp: number
Percentage progress towards take profit (only for active/waiting)
percentSl: number
Percentage progress towards stop loss (only for active/waiting)
pnl: number
PNL percentage (for active/waiting: unrealized, for closed: realized)
closeReason: string
Close reason (only for closed)
cancelReason: string
Cancel reason (only for cancelled)
duration: number
Duration in minutes (only for closed)
pendingAt: number
Timestamp when position became active (only for opened/active/closed)
scheduledAt: number
Timestamp when signal was created/scheduled (only for scheduled/waiting/opened/active/closed/cancelled)