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