Futures position details
Name | Type | Description | Notes |
---|---|---|---|
user | int | User ID | [optional] [readonly] |
contract | str | Futures contract | [optional] [readonly] |
size | int | Position size | [optional] [readonly] |
leverage | str | Position leverage. 0 means cross margin; positive number means isolated margin | [optional] |
risk_limit | str | Position risk limit | [optional] |
leverage_max | str | Maximum leverage under current risk limit | [optional] [readonly] |
maintenance_rate | str | Maintenance rate under current risk limit | [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 | Liquidation price | [optional] [readonly] |
mark_price | str | Current mark price | [optional] [readonly] |
initial_margin | str | The initial margin occupied by the position, applicable to the portfolio margin account | [optional] [readonly] |
maintenance_margin | str | Maintenance margin required for the position, applicable to portfolio margin account | [optional] [readonly] |
unrealised_pnl | str | Unrealized PNL | [optional] [readonly] |
realised_pnl | str | Realized PNL | [optional] [readonly] |
pnl_pnl | str | Realized PNL - Position P/L | [optional] [readonly] |
pnl_fund | str | Realized PNL - Funding Fees | [optional] [readonly] |
pnl_fee | str | Realized PNL - Transaction Fees | [optional] [readonly] |
history_pnl | str | History realized PNL | [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 open orders | [optional] [readonly] |
close_order | PositionCloseOrder | [optional] | |
mode | str | Position mode, including: - `single`: dual mode is not enabled- `dual_long`: long position in dual mode- `dual_short`: short position in dual mode | [optional] |
cross_leverage_limit | str | Cross margin leverage(valid only when `leverage` is 0) | [optional] |
update_time | int | Last update time | [optional] [readonly] |
update_id | int | Update id. Each time the position is updated, the value will be +1. | [optional] [readonly] |
open_time | int | First Open Time | [optional] |