NEW 1.28 Replace Order
POST {{URL_ORIGIN}}/api/operations/replace-order
Replace Order API allows you to replace an order for mp. For more details about replace order - see here Validations: same as replaceOrder, with the below changes: Additional validations:Replace order- Fields
Field
Type
Description
instrumentId
Int String
Original order instrument Id
orderId
Int String
Exchange order ID to be replaced
quantity
Decimal String
Similar to the trading API
price
optional
Decimal String
Similar to the trading API
timeInForce
optional
Enum
Simialar to the trading API
expiryDate
optional
UTC Time
Similar to the trading API
expiryDay
optional
String
Similar to the trading API
minQuantity
optional
Decimal String
Similar to the trading API
stopPrice
optional
Decimal String
Similar to the trading API
stpAction
optional
Enum
Similar to the trading API
parties
optional
[] Object
Simialar to the trading API
Relace Order - Error Codes
Code
Message
10001
Permission denied
Body
PARAM
Key | Datatype | Required | Description |
HEADERS
Key | Datatype | Required | Description |
RESPONSES
status OK
{
"originalOrderId": "71",
"newOrderId": "72"
} |
ENDPOINTS