CancelAllOrder

To get characters you need to make a POST call to the following url : https://amapi.algomojo.com/v1/CancelAllOrder

QUERY PARAMETERS

Request ParameterDescriptionMandatory

broker

broker code

Yes

strategy

Strategy Name

No

# Here is a curl example
-X POST https://amapi.algomojo.com/v1/CancelAllOrder

Request example :
{
"api_key":"your_api_key",
"api_secret":"your_api_secret",
"data":
{
"broker":"UP",
"strategy":"Test Strategy"
}
}

Response example:
[
{
 "status": "success",
 "data": {
     
      "orderid": "221109008669042"
 }
},
{
 "status": "success",
 "data": {

     "orderid": "221109008669042"
 }
}
]

Last updated