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
You can know about the required tick size of the instrument from the instrument list
tick_size
column.