Skip to main content

Get Position Margin Change History(TRADE)

API Description#

Get position margin change history

HTTP Request#

GET /dapi/v1/positionMargin/history

Request Weight#

1

Request Parameters#

NameTypeMandatoryDescription
symbolSTRINGYES
typeINTNO1: Add position margin,2: Reduce position margin
startTimeLONGNO
endTimeLONGNO
limitINTNODefault: 50
recvWindowLONGNO
timestampLONGYES

Response Example#

[    {        "amount": "23.36332311",        "asset": "BTC",        "symbol": "BTCUSD_200925",        "time": 1578047897183,        "type": 1,        "positionSide": "BOTH"    },    {        "amount": "100",        "asset": "BTC",        "symbol": "BTCUSD_200925",        "time": 1578047900425,        "type": 1,        "positionSide": "LONG"    }]