Order getting rejected when placed through api
-
url :- https://apiconnect.angelbroking.com/rest/secure/angelbroking/order/v1/placeOrder
payload:-
{
"variety": "NORMAL",
"tradingsymbol": "SUZLON-EQ",
"symboltoken": "12018",
"transactiontype": "BUY",
"exchange": "NSE",
"ordertype": "MARKET",
"producttype": "CARRYFORWARD",
"duration": "DAY",
"stoploss": 0.5,
"quantity": "1"
}When I hit the api with the above payload, it does send a success response but the order gets rejected with the error-
RMS:Blocked for nse_cm CARRYFWD Remarks: NRML product not allowed in nse_cm block_type:ALL -
Hi @RohBot
Apologies for delayed reply.
As mentioned on the error response, For Cash segment, exchange doesn't allow the carry forward product type.Regards,
SmartAPI team