EnterLongLimit(4260.12) rounds down to 4260.00
and
EnterLongLimit(4261.13) rounds up to 4261.25
In the docs I see the methods RoundToTickSize() (which always rounds UP) and RoundDownToTickSize() (which always rounds DOWN).
But how can I round to the NEAREST tick, like EnterLongLimit() (and all its friends) does?
Thanks!
Comment