Bingex.Swap.ConfigEvent (Bingex v0.1.7)

Represents a configuration event in BingX swaps.

Includes margin mode, leverage settings, and symbol details.

Summary

Types

t()

@type t() :: %Bingex.Swap.ConfigEvent{
  long_leverage: float() | nil,
  margin_mode: :crossed,
  short_leverage: float() | nil,
  symbol: binary() | nil,
  timestamp: integer()
}

Functions

decode(data)

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