Bingex.Swap.PositionInfo (Bingex v0.1.7)
Decodes individual position data returned by the BingX swap API.
Summary
Types
@type t() :: %Bingex.Swap.PositionInfo{ available_quantity: float(), average_price: float(), create_time: non_neg_integer(), initial_margin: float(), isolated?: boolean(), leverage: pos_integer(), liquidation_price: float(), margin: float(), mark_price: float(), only_one_position?: boolean(), pnl_ratio: float(), position_id: binary(), position_quantity: float(), position_side: binary(), position_value: float(), realised_profit: float(), risk_rate: float(), symbol: binary(), unrealised_profit: float(), update_time: non_neg_integer() }