Not working of trailing stop loss


  • Trailing Stop loss is not working in robo order

    orderparams = {
    "variety": "ROBO",
    "tradingsymbol": ticker,
    "symboltoken": symbol_token,
    "transactiontype": "BUY",
    "exchange": exchange,
    "ordertype": "LIMIT",
    "producttype": product_type,
    "duration": "DAY",
    "price": price,
    "squareoff": 180,
    "stoploss":60,
    "trailingStopLoss":10,
    "quantity": "15"
    }

    what's wrong in this?


  • Hi, If the stock price is 100, and you want a target of 110 and SL of 95, please fill "squareoff" as 10 and "stoploss" as 5.