Skip to main content

stream_normalized

Function stream_normalized 

Source
pub async fn stream_normalized(
    base_url: &str,
    options: Vec<StreamNormalizedRequestOptions>,
    signal: Arc<AtomicBool>,
) -> Result<impl Stream<Item = Result<WsMessage>>>
Expand description

Connects to the Tardis Machine WS streaming endpoint and returns a stream of WebSocket messages.

ยงErrors

Returns an error if no options are provided, the exchange is BitMEX, or the connection fails.