RiskRejectionNotification

Risk rejection notification. Emitted when a signal is rejected due to risk management rules.

type: "risk.rejection"

Discriminator for type-safe union

id: string

Unique notification identifier

timestamp: number

Unix timestamp in milliseconds when signal was rejected

backtest: boolean

Whether this notification is from backtest mode (true) or live mode (false)

symbol: string

Trading pair symbol (e.g., "BTCUSDT")

strategyName: string

Strategy name that attempted to create signal

exchangeName: string

Exchange name where signal was rejected

rejectionNote: string

Human-readable reason for rejection

rejectionId: string

Optional unique rejection identifier for tracking

activePositionCount: number

Number of currently active positions at rejection time

currentPrice: number

Current market price when rejection occurred

signalId: string

Unique signal identifier from pending signal (may be undefined if not provided)

position: "long" | "short"

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

priceOpen: number

Entry price for the position (may be undefined if not provided)

priceTakeProfit: number

Take profit target price

priceStopLoss: number

Stop loss exit price

minuteEstimatedTime: number

Expected duration in minutes before time_expired

signalNote: string

Optional human-readable description of signal reason

createdAt: number

Unix timestamp in milliseconds when the notification was created