ClosePosition

Endpoint URL

Local Host   :  http://127.0.0.1:5000/api/v1/closeposition
Ngrok Domain :  https://<your-ngrok-domain>.ngrok-free.app/api/v1/closeposition
Custom Domain:  https://<your-custom-domain>/api/v1/closeposition

Sample API Request

{
"apikey":"<your_app_apikey>",
"strategy":"Test Strategy"
}

Sample API Response

{
        "message": "All Open Positions SquaredOff",
        "status": "success"
}

Parameters Description

Last updated