Hi,
As we know from docs:
Quote:
onTick is called on every tick of every instrument that application is subscribed on.
https://www.dukascopy.com/wiki/#Strategy_APIhttps://www.dukascopy.com/client/javadoc/com/dukascopy/api/IStrategy.html#onTick(com.dukascopy.api.Instrument,%20com.dukascopy.api.ITick)BUT there are some more cases when the onTick method is called.
1) For a local running strategy the applying of Menu->File->Reconnect cause two calls of the onTick method: first one before disconnecting and second one after reconnecting.
2) For a remote running strategy the onTick method is called just after starting the strategy even there were no ticks after strategy was started.
In all of these cases the argument that is passed in the onTick method is the last known tick which can occurred long time ago.
I do not consider this behavior of strategies as a bug but some explanations in docs and wiki will be appreciated.
Thanks in advance.