Tradehub.Trade.trades_by_account
You're seeing just the function
trades_by_account
, go back to Tradehub.Trade module for more information.
Specs
trades_by_account(String.t(), %{}) :: {:ok, [Tradehub.account_trade()]} | {:error, HTTPoison.Error.t()}
trades_by_account(String.t(), trade_account_options()) :: {:ok, [Tradehub.account_trade()]} | {:error, HTTPoison.Error.t()}
Requests recent trades by the given account
Examples
iex> Tradehub.Trade.trades_by_account("tswth174cz08dmgluavwcz2suztvydlptp4a8f8t5h4t")
iex> Tradehub.Trade.trades_by_account!("tswth174cz08dmgluavwcz2suztvydlptp4a8f8t5h4t")