Bingex.Swap.Data.CloseAllPositions (Bingex v0.1.9)

Parses and structures response data for closing all swap positions on BingX.

Summary

Types

t()

@type t() :: %Bingex.Swap.Data.CloseAllPositions{
  failed: [binary()],
  succeeded: [binary()]
}

Functions

decode(arg1)

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

embed_in_reply(reply)

@spec embed_in_reply(Bingex.API.Reply.t()) :: Bingex.API.Reply.t(t())