Module subscription_converter

Source
Expand description

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

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

Functionsยง

format_kline_stream
Helper to create kline stream name with interval
format_liquidation_stream
Helper to create liquidation order stream name
format_mark_price_stream
Helper to create mark price stream name
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_trade_stream
Helper to create aggregate trade stream name
options_to_binance_futures_subscription
Convert from standardized SubscriptionOptions to Binance Futures subscription format