Bingex.Swap.ConfigEvent
(Bingex v0.1.7)
Represents a configuration event in BingX swaps.
Includes margin mode, leverage settings, and symbol details.
Types
@type t() :: %Bingex.Swap.ConfigEvent{
long_leverage: float() | nil,
margin_mode: :crossed,
short_leverage: float() | nil,
symbol: binary() | nil,
timestamp: integer()
}
Functions
@spec decode(map()) :: t()