Interface StrategyPauseNotification

Strategy pause state change notification. Emitted when setPaused actually flips the pause flag of a strategy: while paused the strategy opens nothing new (getSignal is not called and a queued createSignal DTO is held until resume); existing pending/scheduled signals keep being monitored and close normally.

interface StrategyPauseNotification {
    backtest: boolean;
    createdAt: number;
    exchangeName: string;
    frameName: string;
    id: string;
    paused: boolean;
    strategyName: string;
    symbol: string;
    timestamp: number;
    type: "strategy.pause";
}

Properties

backtest: boolean

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

createdAt: number

Unix timestamp in milliseconds when the notification was created

exchangeName: string

Exchange name for context

frameName: string

Frame name for context (empty string for live)

id: string

Unique notification identifier

paused: boolean

New pause state: true — new position opening suspended, false — resumed

strategyName: string

Strategy name whose pause state changed

symbol: string

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

timestamp: number

Unix timestamp in milliseconds when the pause state changed

type: "strategy.pause"

Discriminator for type-safe union