Bingex.Swap.PriceEvent (Bingex v0.1.7)

Handles price events in BingX swaps.

Supports last price and mark price updates.

Summary

Types

t()

@type t() :: %Bingex.Swap.PriceEvent{
  symbol: binary() | nil,
  timestamp: integer() | nil,
  type: :last | :mark | nil,
  value: float() | nil
}

Functions

decode(data)

@spec decode(map()) :: t()