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": {}
}
]
}Clear a held position (after manual close or full exit).
This removes the position from tracking but preserves historical data in completed executors.
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": {}
}
]
}Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.
Successful Response
Was this page helpful?