Skip to main content

Modify BO Order

To get characters you need to make a POST call to the following url

REQUEST ATTRIBUTES

Request ParameterDescriptionMandatory
exchangeExchange nameYes
tsymTrading SymbolYes
nstordnoOrder IDYes
pricetypeIt can be one of the following: MKT - Market Order, L - Limit Order, SL-L - Stop Loss Limit Order, SL-M - Stop Loss Market OrderYes
pricePrice at which the order was placedYes
qtyQuantity with which the order was placedYes
discqtyDisclosed QuantityYes
trgprcTrigger PriceYes
validityValidityYes
trailing_ticksTrailing TicksYes
stoplossStoplossYes
squareoffSquareoffYes

RESPONSE ATTRIBUTES

Response ParameterDescription
resultOrder Number
curl / cURL
curl --location --request POST 'https://api.gwcindia.in/v1/modifyboorder' \
--header 'x-api-key: 2e4c1f0ac084dd6b30fd808e016be3f0' \
--header 'Authorization: Bearer 3e81bfb2a1ef11d3bd3e9a8966d4d51e'
Request Example
{
"exchange":"NSE",
"tsym": "BHEL-EQ",
"nstordno":"23042400028714",
"pricetype":"L",
"price":"74",
"qty":"1",
"discqty":"0",
"trgprc":"78",
"validity":"DAY",
"trailing_ticks":"0",
"stoploss":"1",
"squareoff":"1"

}
Response Example
{
"status": "success",
"data": {
"result": "23042400028714"
}

}