ActivateScheduledCommit

Activate scheduled signal event.

action: "activate-scheduled"

Discriminator for activate-scheduled action

activateId: string

Optional identifier for the activation reason (user-provided)

currentPrice: number

Current market price at time of activation

pnl: IStrategyPnL

PNL at the moment of activation (calculated at priceOpen)

position: "long" | "short"

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

priceOpen: number

Entry price for the position

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

scheduledAt: number

Signal creation timestamp in milliseconds

pendingAt: number

Position activation timestamp in milliseconds (set during this activation)