Skip to main content
DELETE
/
v1
/
trading
/
positions
/
{symbol}
Close position
curl --request DELETE \
  --url https://api.usenaive.ai/v1/trading/positions/{symbol} \
  --header 'Authorization: Bearer <token>'
{}

Authorizations

Authorization
string
header
required

Workspace API key. Create one via the dashboard or POST /v1/auth/keys.

Path Parameters

symbol
string
required

Query Parameters

env
enum<string>
Available options:
paper,
live
qty
string
percentage
string

Response

Closed.

The response is of type object.