Skip to main content

Get Position Margin Change History (TRADE)

HTTP Request

GET /fapi/v1/positionMargin/history

Request Weight

1

Request Parameters

NameTypeMandatoryDescription
symbolSTRINGYES
typeINTNO1: Add position margin,2: Reduce position margin
startTimeLONGNO
endTimeLONGNODefault current time if not pass
limitINTNODefault: 500
recvWindowLONGNO
timestampLONGYES
  • Support querying future histories that are not older than 30 days
  • The time between startTime and endTimecan't be more than 30 days

Response Example

[
{
"symbol": "BTCUSDT",
"type": 1,
"deltaType": "USER_ADJUST",
"amount": "23.36332311",
"asset": "USDT",
"time": 1578047897183,
"positionSide": "BOTH"
},
{
"symbol": "BTCUSDT",
"type": 1,
"deltaType": "USER_ADJUST",
"amount": "100",
"asset": "USDT",
"time": 1578047900425,
"positionSide": "LONG"
}
]