I've been testing some automated strategies on an FXCM demo.
for instruments AUS200 and JPN225 I continually get this error when it attempts to enter a position with a StopMarket order; 'Order price did not pass validation'.
- What are the requirements for a price validation?
Of note, I code very carefully. I'm rounding to tick size so that the price is legit, I'm also checking the current Bid/Ask as applicable and making sure I'm not attempting to place StopMarket orders inside the market (its always beyond a bar which has already closed and thus formed a high or low (as applicable) away from the market, plus I add a volatility buffer too...)
Also of note, my strategy is working on four currencies, USOIL, XAUUSD, GER30 and SPX500... I find it odd that NT is only throwing this error for AUS200 and JPN225.
Thanks in advance.
Comment