SquareOff should be passed only for ROBO orders","errorcode":"AB4045","status":false,"data":null
-
While placing order with Angel API getting below mentioned error
{
"variety": "ROBO",
"tradingsymbol": "NIFTY07APR2622500CE",
"symboltoken": "40732",
"transactiontype": "BUY",
"exchange": "NFO",
"ordertype": "LIMIT",
"producttype": "BO",
"duration": "DAY",
"price": "457.75",
"squareoff": "205.99",
"stoploss": "68.66",
"trailingstoploss": "5",
"quantity": "130"
}response error will be
{"message":"SquareOff should be passed only for ROBO orders","errorcode":"AB4045","status":false,"data":null}
This same order type and parameters is wokring perfactuly till 31 March 2026