Bingex.Swap.Model.QuoteInfo (Bingex v0.2.1)

Represents real-time quote information for a swap contract.

Summary

Types

t()

@type t() :: %Bingex.Swap.Model.QuoteInfo{
  funding_rate: nil | float(),
  last_price: nil | float(),
  mark_price: nil | float(),
  next_funding_time: nil | non_neg_integer(),
  symbol: nil | binary()
}

Functions

decode(data)

@spec decode(any()) :: {:ok, t()} | :error