Skip to content

Latest commit

 

History

History
51 lines (44 loc) · 3.39 KB

File metadata and controls

51 lines (44 loc) · 3.39 KB

DeliveryPosition

Futures position details

Properties

Name Type Description Notes
user Long User ID [optional] [readonly]
contract String Futures contract [optional] [readonly]
size Long Position size [optional] [readonly]
leverage String Position leverage. 0 means cross margin; positive number means isolated margin [optional]
riskLimit String Position risk limit [optional]
leverageMax String Maximum leverage under current risk limit [optional] [readonly]
maintenanceRate String The maintenance margin rate of the first tier of risk limit sheet [optional] [readonly]
value String Position value calculated in settlement currency [optional] [readonly]
margin String Position margin [optional]
entryPrice String Entry price [optional] [readonly]
liqPrice String Liquidation price [optional] [readonly]
markPrice String Current mark price [optional] [readonly]
initialMargin String The initial margin occupied by the position, applicable to the portfolio margin account [optional] [readonly]
maintenanceMargin String Maintenance margin required for the position, applicable to portfolio margin account [optional] [readonly]
unrealisedPnl String Unrealized PNL [optional] [readonly]
realisedPnl String Realized PnL [optional] [readonly]
pnlPnl String Realized PNL - Position P/L [optional] [readonly]
pnlFund String Realized PNL - Funding Fees [optional] [readonly]
pnlFee String Realized PNL - Transaction Fees [optional] [readonly]
historyPnl String Total realized PnL from closed positions [optional] [readonly]
lastClosePnl String PNL of last position close [optional] [readonly]
realisedPoint String Realized POINT PNL [optional] [readonly]
historyPoint String History realized POINT PNL [optional] [readonly]
adlRanking Integer 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]
pendingOrders Integer Current pending order quantity [optional] [readonly]
closeOrder PositionCloseOrder [optional]
mode ModeEnum Position mode, including: - `single`: One-way Mode - `dual_long`: Long position in Hedge Mode - `dual_short`: Short position in Hedge Mode [optional]
crossLeverageLimit String Cross margin leverage (valid only when `leverage` is 0) [optional]
updateTime Long Last update time [optional] [readonly]
updateId Long Update ID. The value increments by 1 each time the position is updated [optional] [readonly]
openTime Long First Open Time [optional]
riskLimitTable String Risk limit table ID [optional] [readonly]
averageMaintenanceRate String Average maintenance margin rate [optional] [readonly]

Enum: ModeEnum

Name Value
SINGLE "single"
DUAL_LONG "dual_long"
DUAL_SHORT "dual_short"