Tradehub.Trade.trades_by_account

You're seeing just the function trades_by_account, go back to Tradehub.Trade module for more information.
Link to this function

trades_by_account(account, trade_account_options \\ %{})

View Source

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("swth1fdqkq5gc5x8h6a0j9hamc30stlvea6zldprt6q")