SyncEvent

Unified sync event data for markdown report generation. Contains all information about signal lifecycle sync events.

timestamp: number

Event timestamp in milliseconds

symbol: string

Trading pair symbol

strategyName: string

Strategy name

exchangeName: string

Exchange name

frameName: string

Frame name (empty for live)

signalId: string

Signal unique identifier

action: SyncActionType

Sync action type

currentPrice: number

Market price at the moment of this event

position: "long" | "short"

Trade direction: "long" (buy) or "short" (sell)

priceOpen: number

Entry price at which the limit order was filled

priceTakeProfit: number

Effective take profit price

priceStopLoss: number

Effective stop loss price

originalPriceTakeProfit: number

Original take profit price before any trailing adjustments

originalPriceStopLoss: number

Original stop loss price before any trailing adjustments

originalPriceOpen: number

Original entry price before any DCA averaging

scheduledAt: number

Signal creation timestamp in milliseconds

pendingAt: number

Position activation timestamp in milliseconds

totalEntries: number

Total number of DCA entries

totalPartials: number

Total number of partial closes executed

pnl: IStrategyPnL

PNL at the moment of this event

closeReason: StrategyCloseReason

Why the signal was closed (signal-close only)

backtest: boolean

Whether this event is from backtest mode

createdAt: string

ISO timestamp string when event was created