Bingex.Swap.PriceEvent
(Bingex v0.1.7)
Handles price events in BingX swaps.
Supports last price and mark price updates.
Types
@type t() :: %Bingex.Swap.PriceEvent{
symbol: binary() | nil,
timestamp: integer() | nil,
type: :last | :mark | nil,
value: float() | nil
}
Functions
@spec decode(map()) :: t()