Tradehub.Trade.positions_sorted_pnl

You're seeing just the function positions_sorted_pnl, go back to Tradehub.Trade module for more information.
Link to this function

positions_sorted_pnl(market)

View Source
This function is deprecated. The API is not well documentation.

Specs

positions_sorted_pnl(String.t()) :: {:error, HTTPoison.Error.t()} | {:ok, any()}

Get positions sorted by pnl of the given market.

Examples

iex> Tradehub.Trade.positions_sorted_pnl("swth_eth1")