ExFtx.SpotMargin.LendingHistory (ex_ftx v0.0.14)

Get lending history

https://docs.ftx.com/#get-lending-history

Link to this section Summary

Link to this section Types

Link to this type

lending_history()

Specs

lending_history() :: ExFtx.LendingHistory.t()

Specs

params() :: %{
  optional(:coin) => String.t(),
  optional(:start_time) => non_neg_integer(),
  optional(:end_time) => non_neg_integer()
}

Specs

result() :: {:ok, [lending_history()]} | {:error, :parse_result_item}

Link to this section Functions

Link to this function

get(params \\ %{})

Specs

get(params()) :: result()