Skip to main content

Place CO Order

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

REQUEST ATTRIBUTES

Request ParameterDescriptionMandatory
tsymTrading SymbolYes
exchangeExchange nameYes
trantypeTransaction TypeYes
validityValidity - It can be one of the following: DAY, IOCYes
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
qtyQuantityYes
discqtyDisclosed QuantityYes
pricePriceYes
stop_priceStop PriceYes
amoAMO - It can be one of the following: YES, NO

RESPONSE ATTRIBUTES

Response ParameterDescription
nstordnoOrder Number
curl / cURL
curl --location --request POST 'https://api.gwcindia.in/v1/placecoorder' \
--header 'x-api-key: 2e4c1f0ac084dd6b30fd808e016be3f0' \
--header 'Authorization: Bearer 05b8167eed78367034cb5ed4a8c15930'
Request Example
{
"tsym": "YESBANK-EQ",
"exchange":"NSE",
"trantype":"B",
"validity":"DAY",
"pricetype":"MKT",
"qty":"1",
"discqty":"0",
"price":"0",
"stop_price":"0",
"amo":"NO"

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

}