POST Cancel Orders

Cancel all orders by account and/or for a specific instrument.

Cancel orders by account and/or instrument

POST /v1/api/accounts/{account}/orders/cancel

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Query Parameters

NameTypeRequiredDescription

account

string

Required

Name of account in NT8

Body

NameTypeRequiredDescription

instrument

string

Optional

Optional name of instrument

Code Examples (coming soon)

// Some code

Response

{
    "orderIds": [
        "adb3868865de4b59b0e147b8300e4a29",
        "2141df9fc0254ba9b34c8a5e38722249",
        "16f6774e302748ce962f2d60b58b2eb1"
    ],
    "success": true
}

Last updated