Dukascopy
 
 
Wiki JStore Search Login

Attention! Read the forum rules carefully before posting a topic.

    Try to find an answer in Wiki before asking a question.
    Submit programming questions in this forum only.
    Off topics are strictly forbidden.

Any topics which do not satisfy these rules will be deleted.

Accuracy ITick.getTime() and delay of feed
 Post subject: Accuracy ITick.getTime() and delay of feed Post rating: 0   New post Posted: Mon 07 Dec, 2009, 20:52 

User rating: 0
Joined: Mon 07 Dec, 2009, 20:14
Posts: 14
2 questions;
1) I know ITick.getTime() is specified in GMT0 but what is the accuracy? What's the maximum difference in microseconds between ITick.getTime() en absolute GMT0?
2) What's the delay of the tickdata feed caused by the platform in microseconds. Please don't take the delay of my internet connection into account. I just want to know what the (average) delay is for tick data that get's send out.

Thanks in advance,

Jan Snelders


 
 Post subject: Re: Accuracy ITick.getTime() and delay of feed Post rating: 0   New post Posted: Tue 08 Dec, 2009, 09:10 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
Hi,
Quote:
I know ITick.getTime() is specified in GMT0 but what is the accuracy? What's the maximum difference in microseconds between ITick.getTime() en absolute GMT0?

It entirely depends on your internet connection.
Quote:
What's the delay of the tickdata feed caused by the platform in microseconds. Please don't take the delay of my internet connection into account. I just want to know what the (average) delay is for tick data that get's send out.

This question for 99% depends on your internet connection. We haven't been doing such calculations. The delay depends on your CPU. Be sure that this delay isn't too big, so it wouldn't be taken into account.


 
 Post subject: Re: Accuracy ITick.getTime() and delay of feed Post rating: 0   New post Posted: Sun 13 Dec, 2009, 21:11 

User rating: 0
Joined: Mon 07 Dec, 2009, 20:14
Posts: 14
Quote:
It entirely depends on your internet connection.


If the Itick.getTime() return value would be internet connection dependent different people would get different ITick.getTime() gesponses for the same tick. I don't think that's the case.
I'm probably just not clear, to put my question in other words; How accurate is the system which assigns the getTime() time stamp to the ITick synchronized with GMT0? In other words, how many microseconds/milliseconds will your clock maximally differ from the perfect GMT0 clock.

To put my second question in other words; If an ITick with timestamp value GMT0 + 0ms gets processed by your system, how many milliseconds have passed by the time the ITick leaves your system and enters the internet. I'm just interested in the 'process' time of your system on your local LAN, not the internet connection.

Thanks in advance,

Jan Snelders


 
 Post subject: Re: Accuracy ITick.getTime() and delay of feed Post rating: 0   New post Posted: Mon 14 Dec, 2009, 16:15 
User avatar

User rating:
Joined: Fri 31 Aug, 2007, 09:17
Posts: 6139
snelders wrote:
If the Itick.getTime() return value would be internet connection dependent different people would get different ITick.getTime() gesponses for the same tick

Tick receive it's time on the server when it's created. Same time for all clients. The same time is saved into the database for historical use. Servers are synchronized with well known "perfect" time servers and time assigned to ticks should be very close to real GMT time.
snelders wrote:
To put my second question in other words; If an ITick with timestamp value GMT0 + 0ms gets processed by your system, how many milliseconds have passed by the time the ITick leaves your system and enters the internet. I'm just interested in the 'process' time of your system on your local LAN, not the internet connection.

This time is a small amount of a total time that tick needs to get to your system. There is a powerful servers with many CPU that are connected with fast local network (don't know the details but it's likely there is 1Gb/s ethernet so delays are very small). Maybe you can tell us about your problem and we could help you with your particular case?


 

Jump to:  

cron
  © 1998-2025 Dukascopy® Bank SA
On-line Currency forex trading with Swiss Forex Broker - ECN Forex Brokerage,
Managed Forex Accounts, introducing forex brokers, Currency Forex Data Feed and News
Currency Forex Trading Platform provided on-line by Dukascopy.com