CancelAllOrder

Endpoint URL

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

Sample API Request

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

Sample API Response

{
  "canceled_orders": [
    "24120600373935",
    "24120600373918",
    "24120600373901",
    "24120600373890"
  ],
  "failed_cancellations": [],
  "message": "Canceled 4 orders. Failed to cancel 0 orders.",
  "status": "success"
}

Parameters Description

Parameters
Description
Mandatory/Optional
Default Value

apikey

App API key

Mandatory

-

strategy

Strategy name

Mandatory

-

Last updated