I have an issue about rounding price to tick size. Suppose there is price tick table below. what is tick size for price 1001, 1002 ... 1004? In other words, how to handle the price in between upper range of first level and the lower range of next level?
range tick
0 - 50 1
51 - 1000 5
1005 - 1000000 10
EDIT: The tick table is created by myself which is based on the exchange spec.
50 or less: 1
Over 50 up to 1,000: 5
Over 1,000: 10