POST Flatten Positions
Flatten positions by account and/or instrument.
Flatten positions by account and/or instrument
POST
/v1/api/accounts/{account}/positions/flatten
Flatten allows for flattening all positions and orders in an account or for a specific instrument in an account. Differs from Flatten Everything, which flattens all positions and order in all accounts for all instruments.
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
Optional
Optional name of instrument
Code Examples (coming soon)
Response
Last updated