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