Partial profit event.
action: "partial-profit"
Discriminator for partial-profit action
percentToClose: number
Percentage of position to close (0-100)
currentPrice: number
Current market price at time of action
pnl: IStrategyPnL
Unrealized PNL at the moment of partial profit
position: "long" | "short"
Trade direction: "long" (buy) or "short" (sell)
priceOpen: number
Entry price for the position
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)