Tradehub.Trade.positions_sorted_risk
You're seeing just the function
positions_sorted_risk
, go back to Tradehub.Trade module for more information.
This function is deprecated. The API is not well documentation.
Specs
positions_sorted_risk(String.t(), String.t()) :: {:error, HTTPoison.Error.t()} | {:ok, any()}
Get positions sorted by risk of the given market.
Examples
iex> Tradehub.Trade.positions_sorted_risk("swth_eth1", "unknown")