Positions
Last updated
Last updated
Request append param
Receive data:
data object:
Example:
1 Get current timestamp(ms):
2 Sign the string format of the timestamp, result:
3 Assembling parameters, including basic parameters for subscription and custom additional parameters for the interface.
4 Returns after a successful subscription
5 Server websocket push data.
name
type
required
detail
pair
String
√
name
type
required
detail
data
Object
position info
event
String
api_position
success
Boolean
true,false
name
type
required
detail
changeType
String
NEW/ INCREASE/ CLOSE/LIQUIDATE/ REDUCE;
currentQuantity
String
direction
String
LONG/SHORT
operateQuantity
String
positionId
Long
ID
symbol
String
canClosedQuantity
String
contractPairId
Long
positionType
Integer
3 one-way isloate 4 one-way cross
openingPrice
String
marginAmount
String
Initial margin amount
marginCallAmount
String