Orders

Close an order

Close (cancel) a single open order. The order's lifecycle update is delivered on the WebSocket as an ["order", ...] entry with closed: true and close_reason: "cancelled". The response data field is always null.

post/v2/orders/{order_id}/close/

Request

  • Base URL: https://magicmarkets.com (the document declares no server; this is the origin it was published from)
  • URL: https://magicmarkets.com/v2/orders/{order_id}/close/
  • Auth: API key in header X-Api-Key

Path parameters

order_idinteger required

Response

Order closed.

Changes

No recorded changes to this operation across all 1 revision of this API.