Bingex.Swap.PlaceOrdersData (Bingex v0.1.7)

Parses and structures batch order placement data for BingX swaps.

Converts raw API response data into a list of Bingex.Swap.OrderInfo structs and embeds them into a Bingex.API.Reply.

Summary

Types

t()

@type t() :: %Bingex.Swap.PlaceOrdersData{orders: [Bingex.Swap.OrderInfo.t()]}

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())