ROBO (Bracket) order Issue


  • Hi
    I'm placing a ROBO order as mentioned below.
    Whenever the order is executed the stop loss price and square off price is not same as mentioned in the parameters. Instead the stop loss always get set close to 50 and square off always got doubled.
    Along with this there is less likely the trailing stop loss works.

    Please fix the api and resolve this issue.

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

    response = smartApi.placeOrderFullResponse(orderparams)