2018.12.14 19:58:06.176 Core 001 2018.12.12 19:00:00 Alert: The Buy order request could not be completed -error:4756
2018.12.14 19:58:06.176 Core 001 2018.12.12 20:00:00 failed market buy 0.10 EURUSD, close #2 sell 0.10 EURUSD 1.15990 [Unsupported filling mode]
Tested changing:
const ENUM_ORDER_TYPE_FILLING preferredFillingType =
ORDER_FILLING_FOK;
ORDER_FILLING_IOC;
ORDER_FILLING_RETURN;
Non works - same error.
Broker - ICMARKETS, test pair EURUSD.
tested on live, demo and backtest.
Status changed from New to Fixed
I added a variable "forceFillingType" for such cases which forces the use of preferredFillingType if set to true.
It will be available in the upcoming release.