Exit CO-Order

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

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/ExitCOOrder

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

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

Last updated