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