FIFO
Posted: Wed Aug 10, 2016 10:19 am
The detection of a FIFO account is not working in live demo or live, but does work in the strategy tester.
canclose = core.host:execute("getTradingProperty", "canCreateMarketClose", instance.bid:instrument(), account);
The above line returns true in live demo and live, but in the strategy tester returns false as expected. I don't understand why there is a difference. Any guidance is welcomed.
canclose = core.host:execute("getTradingProperty", "canCreateMarketClose", instance.bid:instrument(), account);
The above line returns true in live demo and live, but in the strategy tester returns false as expected. I don't understand why there is a difference. Any guidance is welcomed.