Skip to content

Latest commit

 

History

History
46 lines (42 loc) · 4.18 KB

File metadata and controls

46 lines (42 loc) · 4.18 KB

Position

Futures position details

Properties

Name Type Description Notes
user int User ID [optional] [readonly]
contract str Futures contract [optional] [readonly]
size str Position size [optional] [readonly]
leverage str leverage for isolated margin. 0 means cross margin. For leverage of cross margin, please refer to `cross_leverage_limit`. [optional]
risk_limit str Position risk limit [optional]
leverage_max str the maximum permissible leverage given to the current positon value: the higher positon value, the lower maximum permissible leverage [optional] [readonly]
maintenance_rate str The maintenance margin requirement for the risk limit at which the current position size is located.Since the maintenance margin for the position has been calculated using a tiered system, the actual maintenance margin rate required for this position is based on `average_maintenance_rate`. [optional] [readonly]
value str Position value calculated in settlement currency [optional] [readonly]
margin str Position margin [optional]
entry_price str Entry price [optional] [readonly]
liq_price str Estimated liquidation price, for reference only. The actual liquidation trigger is based on the position mmr or the account maintenance margin level. [optional] [readonly]
mark_price str Current mark price [optional] [readonly]
initial_margin str Initial margin of postions [optional] [readonly]
maintenance_margin str Maintencance margin of postions [optional] [readonly]
unrealised_pnl str Unrealized PNL [optional] [readonly]
realised_pnl str Realised PnL, the sum of all cash flows generated by this position, including settlement of closing positions, settlement of funding fees, and transaction fee expenses. [optional] [readonly]
pnl_pnl str settled pnl when closing postion [optional] [readonly]
pnl_fund str funding fees [optional] [readonly]
pnl_fee str trading fees [optional] [readonly]
history_pnl str Total realized PnL from closed positions [optional] [readonly]
last_close_pnl str PNL of last position close [optional] [readonly]
realised_point str Realized POINT PNL [optional] [readonly]
history_point str History realized POINT PNL [optional] [readonly]
adl_ranking int Ranking of auto deleveraging, a total of 1-5 grades, `1` is the highest, `5` is the lowest, and `6` is the special case when there is no position held or in liquidation [optional] [readonly]
pending_orders int Current pending order quantity [optional] [readonly]
close_order PositionCloseOrder [optional]
mode str Position mode, including: - `single`: One-way Mode - `dual_long`: Long position in Hedge Mode - `dual_short`: Short position in Hedge Mode [optional]
cross_leverage_limit str leverage for cross margin [optional]
update_time int Last update time [optional] [readonly]
update_id int Update ID. The value increments by 1 each time the position is updated [optional] [readonly]
open_time int First Open Time [optional]
risk_limit_table str Risk limit table ID [optional] [readonly]
average_maintenance_rate str Average maintenance margin rate [optional] [readonly]
pid int Sub-account position ID [optional] [readonly]
pos_margin_mode str Position Margin Mode isolated - Isolated Margin, cross - Cross Margin [optional]
lever str Indicates the current leverage of the position, applicable to both isolated and cross margin, gradually replacing the current leverage and cross_leverage_limit [optional]

[Back to Model list] [Back to API list] [Back to README]