Fastest way to get news data

 
Hello follow coders, 

What the fastest way to get news data? 
I tried the native calendar because I thought it would be the best, but I experienced a 26s delays 

Is it me or such delays is usual? 

If so what are the fastest alternatives available? 

 
Yerim Rayann Gon Diarra: What the fastest way to get news data? If so what are the fastest alternatives available? 

Please note that discussions, recommendations or suggestions for 3rd party products and services are not allowed on the forum. You will have to do your own research.

Yerim Rayann Gon Diarra: I tried the native calendar because I thought it would be the best, but I experienced a 26s delays. Is it me or such delays is usual? 

I don't have experience with the MQL5 Economic Calendar, so I will leave it to others to answer your question.

 
Hi fellow coders, i used the MQL5 integrate calendar to get economic news data.
But in average the news take 15 sec to get in (after the defined time).
Sometimes up to 27 sec.

I understand that there is a whole process behind it, but isn't it possible to cut down the delays to under 1s ?
My code is already fit down to the max, so highly effective, but the news take too much time to get in.
I need solutions and idea !

Waiting for your replies THANKS !!
 
Yerim Rayann Gon Diarra #:
Hi fellow coders, i used the MQL5 integrate calendar to get economic news data.
But in average the news take 15 sec to get in (after the defined time).
Sometimes up to 27 sec.

I understand that there is a whole process behind it, but isn't it possible to cut down the delays to under 1s ?
My code is already fit down to the max, so highly effective, but the news take too much time to get in.
I need solutions and idea !

Waiting for your replies THANKS !!

Can you compare the delay in the built-in calendar with some external ones on the net? I think that a planned time of specific news release does not exactly match actual reporting time in reality. 

 
Stanislav Korotky #:

Can you compare the delay in the built-in calendar with some external ones on the net? I think that a planned time of specific news release does not exactly match actual reporting time in reality. 

Yes, i will do so and update the thread
You hypothesis seems correct, so based on that it means that everyone got a little delay due to publishing. And us got a bit more due to processing time by MQL calendar + processing time by our EA.

I also wonder, dear Stanislav, do you use the calendar ? and if so what delay do you Got ?
Is possible to cut it down using vps ?

 
Yerim Rayann Gon Diarra #:

Yes, i will do so and update the thread
You hypothesis seems correct, so based on that it means that everyone got a little delay due to publishing. And us got a bit more due to processing time by MQL calendar + processing time by our EA.

Please note, that this temporal inaccuracy can have random skewness to both sides - a release (or an information leak) can happen not only late, but also early.

 
Yerim Rayann Gon Diarra #:

I also wonder, dear Stanislav, do you use the calendar ? and if so what delay do you Got ?
Is possible to cut it down using vps ?

I don't use the calendar on a regular basis. According to logs obtained by CalendarChangeSaver.mq5 service from the algotrading book, the delays within 1 minute is a "normal" situation for the news updates reported via MQL5 API.

Probably VPS can alleviate the problem, but it's usually a matter of fraction of a second (when talking about quotes), so several seconds delays in news are probably coming from the calendar provider, not an MQ server.

MQL5 Book: Advanced language tools / Economic calendar / Tracking event changes by country or currency
MQL5 Book: Advanced language tools / Economic calendar / Tracking event changes by country or currency
  • www.mql5.com
As mentioned in the section on basic concepts of the calendar , the platform registers all event changes by some internal means. Each state is...
 
Stanislav Korotky #:

I don't use the calendar on a regular basis. According to logs obtained by CalendarChangeSaver.mq5 service from the algotrading book, the delays within 1 minute is a "normal" situation for the news updates reported via MQL5 API.

Probably VPS can alleviate the problem, but it's usually a matter of fraction of a second (when talking about quotes), so several seconds delays in news are probably coming from the calendar provider, not an MQ server.

Thanks you dear Stanislas for all those useful information !
So in summary, the news provider is the only at fault here 

 
Some news services out there release calendar data in XML format to be downloaded once per day... Then you can totally access calendar in offline mode reducing waiting time.