Module subscription_converter

Source
Expand description

Subscription conversion utilities BinanceSubscriptionConverter - Conversion between standardized options and Binance-specific formats

This module provides functions to convert from the standardized SubscriptionOptions structure to Binance Spot-specific subscription formats.

Functionsยง

format_kline_stream
Helper to create kline stream name with interval
format_orderbook_stream
Helper to create order book stream name with specific depth
format_stream_name
Helper to create stream names with format <symbol>@<type>
format_ticker_stream
Helper to create ticker stream name
format_trade_stream
Helper to create aggregate trade stream name
options_to_binance_subscription
Convert from standardized SubscriptionOptions to Binance subscription format