Skip to main content

Crate mmflow

Crate mmflow 

Source
Expand description

Rust SDK for the mmflow market-data API: a blocking REST client (OHLCV candles) and a WebSocket client implementing the documented JSON protocol (auth/subscribe -> typed data frames).

Structs§

Candle
One normalized OHLCV bar (time in epoch ms).
Client
Blocking REST client.
MessageMeta
Metadata accompanying each data frame.
Socket
Blocking WebSocket client. Register subscriptions, then run the receive loop; run authenticates, sends every subscription, invokes on_data for each data frame, and replays subscriptions after reconnect.
SocketOptions
WebSocket client options.

Constants§

DEFAULT_REST_BASE
DEFAULT_WS_URL