Logic of limit order to sell by rounding off to 0 or 5

snehalw90
Hi, i am trying to place a limit order at high price. But i need to round it off to end with 0 or 5. i was using a logic but its not correct. can anyone help me with what is the logic/ code, so that the decimal takes the nearest (higher) and rounds off to o or 5
  • snehalw90
    I believe rounding off to 0 and 5 is a requirement by Kite, hence im rounding off
  • rakeshr
    I believe rounding off to 0 and 5 is a requirement by Kite
    No, it varies as per exchange/instrument.
    You can know about the required tick size of the instrument from the instrument list tick_size column.
Sign In or Register to comment.