Since the last Sunday 2013-10-20, the strategies running in the remote mode are subject to a severe bug: they do not list exisiting positions.
The same issue has been reported here :
www.dukascopy.com/swiss/english/forex/j ... 16&t=50210The essential of the code in the attached file is as follows:
- subscribe to EUR/USD, check if it's ok;
- ask the engine to provide the list of positions (whatever their status);
- print the number of positions, N;
N is 0 in the remote mode while it is not the case!
-- NB: In the local mode, all positions are listed and reported. ---
A second bug in the remote mode is the wrong time of a bar if called in <onStart> : it returns 1969 for the year, but returns correct time when called <onBar>.
Once again, in local mode, everything runs just fine.
In advance, thanks for fixing it or helping to find where I am wrong.
almc