Hi,
Does anyone know a clean technique in converting a number to conform the minimum price variation of a symbol.
For example, in ES (Emini S&P) if myprice=1480.11, and the minimum price variation is 0.25, then myprice would have to be converted to either 1480.00 or 1480.25. Is there an easy to do the conversion?
Thank you in advance.
W.
Does anyone know a clean technique in converting a number to conform the minimum price variation of a symbol.
For example, in ES (Emini S&P) if myprice=1480.11, and the minimum price variation is 0.25, then myprice would have to be converted to either 1480.00 or 1480.25. Is there an easy to do the conversion?
Thank you in advance.
W.
Comment