Tradehub.Trade.positions

You're seeing just the function positions, go back to Tradehub.Trade module for more information.
This function is deprecated. The API does not well documetation, and I do not have much info about this endpoint.

Specs

positions(String.t()) ::
  {:ok, [Tradehub.position()]} | {:error, HTTPoison.Error.t()}

Requests avaiable positions of the given account in all markets which the account get involved

Examples

iex> Tradehub.Trade.positions("swth1fdqkq5gc5x8h6a0j9hamc30stlvea6zldprt6q")