Skip to main content

Place BO Order

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

REQUEST ATTRIBUTES

Request ParameterDescriptionMandatory
exchangeExchange nameYes
tsymTrading SymbolYes
trantypeTransaction TypeYes
qtyQuantityYes
validityValidity - It can be one of the following: DAY, IOCYes
discqtyDisclosed QuantityYes
priceSquare OffYes
squareoffSquare OffYes
stoplossStop LossYes
trailing_tickTrailing TicksYes
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
trgprcTrigger Price

RESPONSE ATTRIBUTES

Response ParameterDescription
nstordnoOrder Number
curl / cURL
curl --location --request POST 'https://api.gwcindia.in/v1/placeboorder' //
--header 'x-api-key: 2e4c1f0ac084dd6b30fd808e016be3f0' //
--header 'Authorization: Bearer 05b8167eed78367034cb5ed4a8c15930'
Request Example
{
"exchange": "NSE",
"tsym": "YESBANK-EQ",
"trantype": "B",
"qty": "1",
"validity": "DAY",
"discqty": "0",
"price": "14",
"squareoff": "15",
"stoploss": "13",
"trailing_ticks": "0",
"pricetype": "L",
"trgprc": "0"

}
Response Example
{
"status": "success",
"data": {
"nstordno": "220104000034606"
}

}