For ROBO order trailing stop loss not working
-
Hi,
For ROBO order I am giving the following parameters
orderparams = {
"variety": "ROBO",
"tradingsymbol": "BOSCHLTD-EQ",
"symboltoken": 2181,
"transactiontype": "BUY",
"exchange": "NSE",
"ordertype": "LIMIT",
"producttype": "BO",
"duration": "DAY",
"price": "22555",
"stoploss": "30",
"trailingStopLoss": "10",
"squareoff": "100",
"quantity": "1"
}
order placing, but trailing stop loss not working, @admin please check these parameters, correct or not -
13:03:00 INFO smart_api.py place_order 168 OBEROIRLTY-EQ 20242 - place_order_parameter: {
"variety": "ROBO",
"tradingsymbol": "OBEROIRLTY-EQ",
"symboltoken": "20242",
"transactiontype": "BUY",
"exchange": "NSE",
"ordertype": "LIMIT",
"producttype": "INTRADAY",
"duration": "DAY",
"price": 1791.95,
"squareoff": 4.45,
"stoploss": 5.4,
"quantity": 1,
"trailingStopLoss": 3
}order is getting rejected with below error
"text": ":BO: Upticks and downticks should be greater than given percentage: Absolute Price : 1.06 Tick Size :107 Allowed range ->[0-100: 1.00]\t[100-500: 1.00]\t[500-1000: 3.00]\t[>1000: 3.00]\t:",
-
@Moderator_2 Hi Team, Is trailing stop loss working now in ROBO order?
Also should it contain % or points or amount?e.g. price = 120
stopLoss = 10 (%) or 12 (points) or 108 (amount)
squareoff = 10 (%) or 12 (points) or 132 (amount)
trailingStopLoss = 2 (%) or 2.4 (points) or 117.6 (amount) -
Hi @srijan
Apologies for delayed response.
We are checking on this. As analyzed, the passed request parameters are proper. Kindly share us the client code for us to analyze further and Please share the date of the issue.Thanks & Regards,
SmartAPI team