Skip to main content
DELETE
/
executors
/
positions
/
{connector_name}
/
{trading_pair}
Clear Position Held
curl --request DELETE \
  --url http://localhost:8000/executors/positions/{connector_name}/{trading_pair} \
  --header 'Authorization: Basic <encoded-value>'
{
  "detail": [
    {
      "loc": [
        "<string>"
      ],
      "msg": "<string>",
      "type": "<string>",
      "input": "<unknown>",
      "ctx": {}
    }
  ]
}

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Path Parameters

connector_name
string
required
trading_pair
string
required

Query Parameters

account_name
string
default:master_account

Response

Successful Response