D
I think you should try this :
orderparams = {
"variety": "ROBO",
"tradingsymbol": symbol,
"symboltoken":token,
"transactiontype":buy_sell,
"exchange":exch_seg,
"ordertype":ordertype,
"producttype":"BO",
"duration":"DAY",
"price":str(price),
"squareoff":str(target),
"stoploss":str(stoploss),
"quantity":qty
}
It's working for me, I'm sure it will work.