Skip to main content

ModifyOrder

Endpoint URL

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

Sample API Request

{
"apikey": "<your_app_apikey",
"strategy": "Test Message",
"symbol": "USDINR15MAR2483CE",
"action": "BUY",
"exchange": "CDS",
"orderid":"240307000562466",
"product":"NRML",
"pricetype":"LIMIT",
"price":"0.0050",
"quantity":"1",
"disclosed_quantity":"0",
"trigger_price":"0"
}

Sample API Response

{
"orderid": "240307000562466",
"status": "success"
}

Parameter Description

ParametersDescriptionMandatory/OptionalDefault Value
apikeyApp API keyMandatory-
strategyStrategy nameMandatory-
symbolTrading SymbolMandatory-
actionAction (BUY/SELL)Mandatory-
exchangeExchangeMandatory-
orderidOrder IDMandatory-
productProduct typeMandatory-
pricetypePrice typeMandatory-
quantityQuantityMandatory-
pricePriceMandatory0
trigger_priceTrigger priceMandatory0
disclosed_quantityDisclosed quantityMandatory0