Order price not a multiple of tick size

reddy4305
I had placed a BO order via kiteconnect API with price as 65.10 for USD/INR. But the order got rejected with error message: " order price not a multiple of tick size".

When i tried to place the same order manually, the order got through.
Kindly suggest what is wrong.

Regards,
Tagged:
  • sujith
    @reddy4305,
    Can you let us know which version of pykiteconnect you are using and give us example order id which got rejected and params you sent?
  • reddy4305
    pr = kite.ohlc('CDS:USDINR18MARFUT')
    close = (pr['CDS:USDINR18MARFUT']['last_price'])
    order_id = kite.place_order(tradingsymbol="USDINR18MARFUT",exchange="CDS",quantity=20,transaction_type="SELL",order_type="LIMIT",price=close,squareoff=0.05,stoploss=0.05,variety="bo",validity="DAY",product = "MIS")
  • reddy4305
    @sujith
    Thanks for the reply sujith. This morning the same code works fine. Some system issue i guess.
Sign In or Register to comment.