{
"symbol": "NSE:PEL-EQ",
"qty": 5,
"type": 1,
"side": -1,
"productType": "BO",
"limitPrice": 630.5,
"stopPrice": 0,
"validity": "DAY",
"disclosedQty": 0,
"offlineOrder": false,
"stopLoss": 5,
"takeProfit": 3,
"orderTag": "tag1"
}
Tried placing BO and CO orders by referring to API documentation. But get the below error. Please advice what is wrong with the order placement.
{
"code": -50,
"message": "productType must be one of the following: \"CNC\", \"MARGIN\", \"INTRADAY\"",
"s": "error"
}