Strange thing I observed recently

yc_mhk
I have been using kite api for few years from now on. I daily punch order using it.From few days I couldn't place order for stock ICICI Bank. Checked for other stocks like SBI,MGL, IGL, Reliance, HDFC Bank. It's working. I don't know for which other stocks it's not working. Pics attached.
  • sujith
    Can you print the kiteException.message and paste the error here?
  • yc_mhk
    kiteException.message is returning null.

    This is what e.toString() gets - com.zerodhatech.kiteconnect.kitehttp.exceptions.InputException.

    Stocks like DRREDDY,KOTAKBANK not working too.

  • yc_mhk
    System.out.println(orderParams.quantity+" "+orderParams.orderType+" "+orderParams.tradingsymbol+" "+orderParams.product+" "+orderParams.exchange+" "+
    orderParams.transactionType+" "+orderParams.price+" "+orderParams.validity);

    The result is

    2 LIMIT ICICIBANK MIS NSE SELL 1356.35 DAY

    4 LIMIT RELIANCE MIS NSE SELL 1233.5 DAY

    There is no difference whatsover here for reliance and icici bank. Yet one is getting error other is not.
  • sujith
    You may initialize Kite Connect object with debug log true as mentioned here.
    We need request and response json to know what is happening.

    PS: Make sure to remove app and client specific tokens.
  • yc_mhk
    Sujith, found the error reason.

    INFO: {"status":"error","message":"Tick size for this script is 0.10. Kindly enter price in the multiple of tick size for this script","data":null,"error_type":"InputException"}

    Tick size has been changed to 0.1

    So anything with two decimal places was giving error.

    This has been changed recently i think. I wasn't getting error till now. Thanks btw for the response.
  • sujith
    @yc_mhk,
    NSE has changed the tick size for all the instruments traded on the exchange including cash and F&O segment.
    The tick size is based on the last price(as of 28th march 2025) slab now. You can know more here.

    The ideal solution is to use the instruments master to check the tick size for an instrument before placing the order.
Sign In or Register to comment.