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, before_id \\ nil, after_id \\ nil, order_by \\ nil, limit \\ nil)
View SourceSpecs
trades_by_account(String.t(), nil, nil, nil, nil) :: {:ok, [Tradehub.account_trade()]} | {:error, HTTPoison.Error.t()}
trades_by_account(String.t(), String.t(), String.t(), String.t(), String.t()) :: {:ok, [Tradehub.account_trade()]} | {:error, HTTPoison.Error.t()}
Requests recent trades by the given account
Parameters
- account: the account
- before_id: filter trades before id
- after_id: filter trades after id
- order_by: TODO
- limit: limit the responsed results, max is 200
Examples
iex> Tradehub.Trade.trades_by_account("swth1hydakm35hta8my0vkwd2dy6gu57tly39k8y9ul")