Cancel Order

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

QUERY PARAMETERS

Request Parameter
Description
Mandatory

broker

broker code

Yes

strategy

Strategy Name

No

order_id

Order ID

Yes

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

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

Response example:
{
"status": "success",
"data": {
 "result": "221109008669042"
}
}

Last updated