listenSignalIdle

declare function listenSignalIdle(fn: (event: IStrategyTickResultIdle) => void): () => void;

Subscribes to idle tick results (live + backtest).

Fires on every tick where the strategy holds no signal at all. event.signal is always null here — there is no position to inspect, only currentPrice and the strategy/exchange/frame identity.

Parameter Description
fn Callback receiving idle events