Average-buy (DCA) event. Emitted when a new averaging entry is added to an open position.
action: "average-buy"
Discriminator for average-buy action
currentPrice: number
Price at which the new averaging entry was executed
cost: number
Cost of this averaging entry in USD
effectivePriceOpen: number
Effective (averaged) entry price after this addition
pnl: IStrategyPnL
Unrealized PNL at the moment of average-buy (calculated after new entry added)
position: "long" | "short"
Trade direction: "long" (buy) or "short" (sell)
priceOpen: number
Original entry price (signal.priceOpen, unchanged by averaging)
priceTakeProfit: number
Effective take profit price (may differ from original after trailing)
priceStopLoss: number
Effective stop loss price (may differ from original after trailing)
originalPriceTakeProfit: number
Original take profit price before any trailing adjustments
originalPriceStopLoss: number
Original stop loss price before any trailing adjustments
scheduledAt: number
Signal creation timestamp in milliseconds
pendingAt: number
Position activation timestamp in milliseconds (when price reached priceOpen)