Get Current Position
/sapi/v1/trade/position/opens
Request type: GET
Signature verification: Yes
Interface permission: Read
Rate Limit: Generally, the private interface rate limit of API key is at most 144 times every 3 seconds for each UID (Trade Interface: at most 72 times every 3 seconds. Read Interface: at most 72 times every 3 seconds) (this rate limit is shared by all the altcoins contracts delivered by different date).
Interface description: Get information about your current position.
Request Address
Online (preferred by aws customers)
Online
Request Parameter
contract_code
String
false
Response Parameter
contract_code
String
true
Symbol
position_side
String
true
Position side
The side of your position. Under the buy/sell mode, "both" is default. Under the long/short mode, "long" refers to going long; "short" refers to going short.
direction
String
true
Order side
buy; sell
margin_mode
String
true
Margin mode
cross: Cross margin
open_avg_price
String
true
Avg. entry price mode
volume
String
true
Position size (Cont)
available
String
true
Amount of position available to be closed (Cont)
lever_rate
String
true
Leverage
adl_risk_percent
String
true
ADL indicator
Level 1, 2, 3, 4, 5, with level 1 representing the lowest risk and level 5 representing the highest risk.
liquidation_price
String
true
Est. liquidation price
initial_margin
String
true
Initial margin, only applicable to cross margin mode
maintenance_margin
String
true
Maintenance margin margin, only applicable to cross margin mode
profit_unreal
String
true
Unrealized PnL
profit_rate
String
true
Unrealized PnL percentage PnL
margin_rate
String
true
Margin ratio
margin_currency
String
true
Margin currency (for pricing)
last_price
decima
true
Last price
contract_type
String
true
Contract type
swap: Perpetual; this_week: Weekly; next_week: Bi-weekly; quarter: Quarterly; next_quarter: Bi-quarterly
created_time
String
true
Creation time
updated_time
String
true
Update time
Request Example
Response Example
Last updated