Bingex.Swap.GetPositionsHistoryData (Bingex v0.1.7)
Parses and structures historical positions data for BingX swaps.
Converts raw API response data into a list of Bingex.Swap.PositionChange
structs
and embeds the parsed data into a Bingex.API.Reply
.
Summary
Types
@type t() :: %Bingex.Swap.GetPositionsHistoryData{ history: [Bingex.Swap.PositionChange.t()] }
Functions
@spec embed_in_reply(Bingex.API.Reply.t()) :: Bingex.API.Reply.t(t())