hi,
I did a small test in order to evaluate the latency between the tick's timestamp and the current time on my system.
here is the calculation that I performed in my strategy's onTick method-
System.currentTimeMillis() - tick.getTime()
to my surprise - the results show a
46+ seconds delay between the registered tick's time and the current time.
If that is the case - I'm trading the market almost a minute into the past...
One reason might be related to DEMO servers. In Live Account could it be different??
Am I missing something?
edit: my ping time to dukascopy is roughly around 80-90 ms so I don't think it is a network issue.