Skip to main content

Amend Order

Amend Order

Modify the price and quantity of a specified order

Request frequency limit: 1/1s

Request URL

POST /deepcoin/trade/replace-order

Request Parameters

Field NameRequiredTypeDescription
OrderSysIDtruestringOrder ID
pricefalsefloatPrice
volumefalseintegerQuantity, unit:contracts

Request Example

{
"OrderSysID": "'12345'",
"price": 6000.5,
"volume": 5
}

Response Parameters

Field NameTypeDescription
errorCodeintegerError code
errorMsgstringError message
ordIdstringOrder ID

Response Example

{
"code": "0",
"msg": "",
"data": {
"errorCode": 0,
"errorMsg": "",
"ordId": "1000587867035933"
}
}