kashu wrote:
I just wanna to figure out what is "divisible by 0.5 pips or order will be rejected"
if there's a EUR/USD ask price like 1.40723 OR 1.40730
so 1.40723 will be rejected because 1.4072 +0.00003 can not be divisible by 0.5pips
and 1.40730 will be excuted because 1.4072 + 0.00010 can be divisible by 0.5pips
is that correct?
but if 1.40723 is now current best price , I want to open a BUY position , because the strange reason of "price should be divisible by 0.5 pips"
my request will be rejected , and I can only get the 1.40730 price for my BUY order
is that correct?
Yes, your reasoning is correct. However, the new minimum increment of order price is 0.1 pips, the documentation will be updated with the next API release.
kashu wrote:
could you explain why "price should be divisible by 0.5 pips or order will be rejected"?
This is a restriction set by JForex platform server - currently the server works with prices with maximum 5 decimal places (i.e. this resembles the 0.1 pip increment requirement).