Skip to main content

Import

Usage

Triggers immediately upon receiving a message from Kraken.
This can fire hundreds of times per second. Use onData for UI performance unless you specifically need the rawest possible feed.

Parameters

callback

(data: OrderbookData[]) => void The function to execute when new raw data is available.

Return Type