Tradehub.Stream.market_stats
You're seeing just the function
market_stats
, go back to Tradehub.Stream module for more information.
Specs
market_stats() :: channel_id() | {:error, reason :: any()}
Subscribes to the market_stats
channel to request the latest statistics of the market.
Examples
iex> topic = Tradehub.Stream.market_stats
iex> Process.info(self(), :messages)
iex> Tradehub.Stream.unsubscribe topic