CCXT.WS.Subscription.ReqtypeSub (ccxt_client v0.6.1)

Copy Markdown View Source

BingX-style subscribe frame.

%{"reqType" => "sub", "dataType" => "BTC-USDT@ticker", "id" => "id1"}

BingX requires one subscribe frame per channelsubscribe/2 returns a [map()] with one entry per channel.

Config keys:

  • :op_field — default "reqType"
  • :args_field — default "dataType"
  • :id_prefix — string prefix for the correlation id (default "id"). BingX accepts string ids; keep the prefix so the frame round-trips.