Generated CCXT Pro runtime entrypoint.
Ccxt.Pro owns the OTP runtime used by generated CCXT Pro exchange modules.
It starts one registry entry per websocket URL and one dynamically supervised
connection process per active URL.
Use binance/1 to build a CCXT-style Binance Pro instance:
binance =
Ccxt.Pro.binance(%{
apiKey: "...",
secret: "...",
binanceEnv: "prod"
})Runtime helpers:
connections/0lists active websocket connections.connection_info/1returns channel, waiter, order-book, and cache state.close_connection/1terminates a websocket connection by URL or pid.attach_debug_logger/0attaches an IEx-friendly telemetry logger.
Generated unwatch_* methods keep CCXT Pro semantics: they send an
unsubscribe message and wait for Binance ACK. They do not close the websocket
process. Use close_connection/1 when the connection itself should stop.
Summary
Functions
@spec attach_debug_logger() :: :ok | {:error, term()}
@spec binance(map() | keyword()) :: Ccxt.Pro.Binance.t()
@spec detach_debug_logger() :: :ok | {:error, :not_found}