Tradehub.Stream.account_trades

You're seeing just the function account_trades, go back to Tradehub.Stream module for more information.

Specs

account_trades(String.t()) :: channel_id() | {:error, reason :: any()}

Subscribes to the account_trades.[account] channel to request upto 100 trades of the given account.

Examples

iex> topic = Tradehub.Stream.account_trades("tswth174cz08dmgluavwcz2suztvydlptp4a8f8t5h4t")
iex> Process.info(self(), :messages)
iex> Tradehub.Stream.unsubscribe topic