Tradehub.Stream.recent_trades
You're seeing just the function
recent_trades
, go back to Tradehub.Stream module for more information.
Specs
recent_trades(String.t()) :: channel_id() | {:error, reason :: any()}
Subscribes to the recent_trades.[market]
channel to request the recent trades of the given market.
Examples
iex> topic = Tradehub.Stream.recent_trades("swth_eth1")
iex> Process.info(self(), :messages)
iex> Tradehub.Stream.unsubscribe topic