Error while creating ROBO order


  • For some stocks i am getting following error, but same is working for some stocks

    :BO: Upticks and downticks should be greater than given percentage: Absolute Price :     25.32 Tick Size :507   Allowed range ->[0-100:      1.00]\t[100-500:      1.00]\t[500-1000:      3.00]\t[>1000:      3.00]\t:
    

    Request Payload

    {
      "variety": "ROBO",
      "ordertype": "LIMIT",
      "producttype": "INTRADAY",
      "duration": "DAY",
      "exchange": "NSE",
      "tradingsymbol": "ASHOKLEY-EQ",
      "symboltoken": "212",
      "transactiontype": "SELL",
      "quantity": "5",
      "price": "233.20",
      "triggerprice": "0",
      "squareoff": "2.00",
      "stoploss": "2.00",
      "ordertag": "ALS",
    }
    

  • Hi @bablujat ,

    BO order (INTRADAY)

    Before giving values to limit price, stoploss & target price consider below points :

    • Limit price should be between UCL and LCL
    • Target price should be greater than limit price
    • Stoploss should be less than limit price

    Notes :

    BUY order means => Target & stoploss will be the SELL order
    SELL order means => Target & stoploss will be the BUY order

    Regards, Smart API Team


  • @Moderator_3 Is there any way to calculate it ? can you explain with an example that would be very helpful for me.


  • Hi @bablujat,

    Target price, Stop loss should be based on UCL and LCL this will differ based on different stocks.

    Regards, SmartAPI Team