Tradehub.Trade.position
You're seeing just the function
position
, go back to Tradehub.Trade module for more information.
Specs
position(String.t(), String.t()) :: {:ok, Tradehub.position()} | {:error, HTTPoison.Error.t()}
Requests the position of the given account in a particular market
Examples
iex> Tradehub.Trade.position("tswth174cz08dmgluavwcz2suztvydlptp4a8f8t5h4t", "swth_eth1")
iex> Tradehub.Trade.position!("tswth174cz08dmgluavwcz2suztvydlptp4a8f8t5h4t", "swth_eth1")