Bingex.Swap.Model.HistoricalTrade (Bingex v0.7.0)

Represents a historical swap market trade.

Summary

Types

t()

@type t() :: %Bingex.Swap.Model.HistoricalTrade{
  buyer_maker?: nil | boolean(),
  id: nil | binary(),
  price: nil | float(),
  quantity: nil | float(),
  quote_quantity: nil | float(),
  time: nil | non_neg_integer()
}

Functions

decode(data)

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