Modify Order

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

QUERY PARAMETERS

Request Parameter
Description
Mandatory

broker

Broker Code

Yes

strategy

Strategy Name

No

exchange

Exchange name

Yes

symbol

Trading Symbol

Yes

order_id

Order ID

Yes

action

Action

Yes

product

Product Type

Yes

pricetype

Price Type

Yes

price

Price

Yes

quantity

Quantity

Yes

disclosed_quantity

Disclosed Quantity

No

trigger_price

Trigger Price

No

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

Request example :
{
"api_key":"your_api_key",
"api_secret":"your_api_secret",
"data":
{
 "broker":"ab",
 "strategy":"Test Strategy",
 "exchange":"NSE",
 "symbol":"RELIANCE-EQ",
 "order_id":"221107000109641",
 "action":"BUY",
 "product":"CNC",
 "pricetype":"LIMIT",
 "price":"0",
 "quantity":"1",
 "disclosed_quantity":"0",
 "trigger_price":"0"
}
}

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

Last updated