POST Reverse

Reverses the position specified by instrument in the account.

Combined Close Position and Place Order

POST /v1/api/accounts/{account}/positions/reverse

Performs a true reversal of the position in the account specified. If no position exists, no action is taken. Returns the Order ID of the newly opened position.

Headers

Name
Value

Content-Type

application/json

Authorization

Bearer <token>

Query Parameters

Name
Type
Required
Description

account

string

Required

Name of account in NT8

Body

Name
Type
Required
Description

instrument

string

Required

Name of underlying instrument (e.g., "ES 12-24")

Code Examples (coming soon)

// Some code

Response

{
    "orderId": "cb1fc8d4e1a84d29ae38fea964aaac8c",
    "success": true
}

Last updated