Dear Support,
Thanks for having fixed the bug (
viewtopic.php?f=88&t=50245)
Sorry, but it remains however a little bit if it.
I remind the test code:
- subscribe to EUR/USD, check if it's ok;
- ask the engine to provide the list of positions (whatever their status);
- print order labels;
- print the number of positions, N;
Now, the positions are correctly listed when called from onBar method.
However, when called from onStart method, N is all right, but only some labels are printed out, not all.
INFO 23.10.2013 16:48:00 nPos: 3
INFO 23.10.2013 16:48:00 Position : jf19vod3b
INFO 23.10.2013 16:48:00 Position : jfh8yok18
INFO 23.10.2013 16:48:00 Position : jfr306913
INFO 23.10.2013 16:48:00 (onBar):10s- and 15min- Bar time: 2013-10-23 16:48:00, 2013-10-23 16:45:00
INFO 23.10.2013 16:47:57 nPos: 3
INFO 23.10.2013 16:47:57 Position : jfh8yok18
INFO 23.10.2013 16:47:57 (onStart): 10s- and 15min- Bar time: 2013-10-23 16:47:50, 2013-10-23 16:45:00
Please find attached the code.
In adavnce, thank you very much.
almc