MTF: Modify MTF Order

Modify an open Order on the Multi-Lateral Trading Exchange.

MTF: Modify MTF Order

post

Modify an open Order on the Multi-Lateral Trading Exchange.

Authorizations
Body
objectOptionalExample: {"order_reference":"84956528260f40fdb2e14bc4e83cb164","market":"BTC_USD_PERP","open_quantity":0.01,"limt_price":123.45,"type":"LIMIT"}
Responses
200

OK

application/json
Responseobject
post
/api/v1/mtf/modify_order
POST /api/v1/api/v1/mtf/modify_order HTTP/1.1
Host: api.hybrid-chain.com
Authorization: Bearer YOUR_SECRET_TOKEN
Content-Type: application/json
Accept: */*
Content-Length: 134

{
  "order_reference": "84956528260f40fdb2e14bc4e83cb164",
  "market": "BTC_USD_PERP",
  "open_quantity": 0.01,
  "limt_price": 123.45,
  "type": "LIMIT"
}
200

OK

{
  "exec_time_ms": 101.64877027273178,
  "message": "The following update on model mtf.external_modification_request has been completed",
  "payload": {
    "environment_tag": "mtf_uat_odoo",
    "model": "mtf.external_modification_request",
    "operation": "create",
    "record": {
      "market_id": 7,
      "matching_engine_client_id": 774321,
      "open_quantity": "0.01000000000000000020816681711721685132943093776702880859375",
      "order_uuid": "ec6f4f27b87f4b9986b0f127e3c19add",
      "pmx_id": "CO+iDHWLQl0=",
      "price": "123.4500000000000028421709430404007434844970703125"
    }
  },
  "success": true,
  "update": {
    "market_id": 7,
    "matching_engine_client_id": 774321,
    "open_quantity": 0.01,
    "pmx_id": "CO+iDHWLQl0=",
    "price": 123.45
  }
}

Last updated

Was this helpful?