Bingex.Swap.Model.DetailedOrderInfo (Bingex v0.2.1)
Represents detailed order information for a swap contract.
Summary
Functions
Complete order information.
Types
@type t() :: %Bingex.Swap.Model.DetailedOrderInfo{ average_price: nil | float(), client_order_id: nil | binary(), executed_quantity: nil | float(), executed_quote_amount: nil | float(), fee: nil | float(), leverage: nil | pos_integer(), only_one_position?: nil | boolean(), order_id: nil | binary(), order_type: nil | binary(), original_quantity: nil | float(), position_id: nil | binary(), position_side: nil | Bingex.Model.Order.position_side(), price: nil | float(), profit: nil | float(), reduce_only?: nil | boolean(), side: nil | Bingex.Model.Order.side(), status: nil | Bingex.Model.Order.status(), stop_guaranteed?: nil | boolean(), stop_loss: any(), stop_loss_entrust_price: nil | float(), stop_price: nil | float(), symbol: nil | binary(), take_profit: any(), take_profit_entrust_price: nil | float(), timestamp: nil | non_neg_integer(), trigger_order_id: nil | binary(), type: nil | Bingex.Model.Order.type(), update_time: nil | non_neg_integer(), working_type: nil | Bingex.Model.Order.working_type() }
Functions
Complete order information.
Fields:
order_id(binary): Unique identifier for the order.symbol(binary): Trading pair symbol (e.g., "BTC-USDT").side(Order.side()): Buy/Sell direction of the order.position_side(Order.position_side()): Position type (e.g.,long,short).status(Order.status()): Current status of the order (e.g.,filled,canceled).stop_price(float): Stop price for conditional orders.price(float): Price at which the order was placed.type(Order.type()): Order type (e.g.,market,limit).client_order_id(binary): Custom client-provided order ID.trigger_order_id(binary | nil): ID of the trigger order (if applicable).working_type(Order.working_type()): Price type used for stop orders.leverage(integer): Leverage level applied to the order.fee(float): Trading fee incurred.executed_quote_amount(float): Total executed quote asset amount.executed_quantity(float): Total executed base asset quantity.only_one_position?(boolean): Whether the order allows only one position.order_type(binary): Additional classification of the order type.original_quantity(float): Initial order quantity.average_price(float): Average execution price of the order.position_id(binary | nil): Associated position ID.profit(float): Realized profit from the order.reduce_only?(boolean): Whether the order reduces an existing position.stop_loss(map | nil): Stop-loss details (if applicable).stop_loss_entrust_price(float): Price at which stop-loss is triggered.take_profit(map | nil): Take-profit details (if applicable).take_profit_entrust_price(float): Price at which take-profit is triggered.stop_guaranteed?(boolean): Whether stop-loss is guaranteed.timestamp(pos_integer): Order creation timestamp.update_time(pos_integer): Last update timestamp.