POST Close Strategy

Closes a strategy by ID, including all positions and open orders.

Close a specific strategy by ID

POST /v1/api/accounts/{account}/strategies/{strategyId}/close

Headers

NameValue

Content-Type

application/json

Authorization

Bearer <token>

Query Parameters

NameTypeRequiredDescription

account

string

Required

Name of account in NT8

strategyId

string

Required

ID of the strategy

Code Examples (coming soon)

// Some code

Response

{
    "strategyId": "334081723",
    "success": true
}

Last updated