Module Algostream_data_ingestion_binance.Connector

Binance Spot WebSocket connector.

Implements the Algostream_data_ingestion.Exchange.S signature so the supervisor can drive the connection loop generically.

include Algostream_data_ingestion.Exchange.S
val name : string
val build_subscribe_message : symbols:string list -> string

Build the subscribe message sent right after WebSocket upgrade.

Decode a raw text frame payload into zero or more event-bus payloads.

symbol_intern is a per-Domain interner so symbol strings reuse storage across calls. Returns an empty list for unrecognised / control frames (subscribe ack, pong, etc.).