Skip to main content

Crypto Loan Customize Margin Call(TRADE)

API Description

Customize Margin Call

HTTP Request

POST /sapi/v1/loan/customize/margin_call

Customize margin call for ongoing orders only.

Request Weight(UID)

6000

Request Parameters

NameTypeMandatoryDescription
orderIdLONGNOMandatory when collateralCoin is empty. Send either orderId or collateralCoin, if both parameters are sent, take orderId only.
collateralCoinSTRINGNOMandatory when orderID is empty. Send either orderId or collateralCoin, if both parameters are sent, take orderId only.
marginCallDECIMALYES
recvWindowLONGNO
timestampLONGYES

Response Example

{
"rows": [
{
"orderId": "100000001"
"collateralCoin": "BNB"
"preMarginCall": "0.8"
"afterMarginCall": "0.7"
"customizeTime": 1575018510000
}
],
"total": 1
}