I am having quite a hard time normalizing double prices for certain instruments, for examples, cfd's, because the broker only allows certain values.
For example, some indices allow only SL, TP and TS values which floating value are multiples of 5. Ie: 5000.05, 5000.10, 5000.15, 5000.20, etc.
This is quite a problem because some orders are rejected, and this limitation changes from instrument to instrument.
How do you get over this problem?
you know how to program so
if you have this problem with lotstep how do you handle it in that case ??
This is quite a problem because my some orders are rejected, and this limitation changes from instrument to instrument.