On Tue, 6 Sep 2016, guido giaume wrote:
Dear group
from a coupe of weeks - after updating my ubuntu 16 - I experienced
very often significant delay while getting data from yahoo.
Gretl windows "freeze" of if you prefere became grey for minutes (also
dozens).
Before the same download was made in seconds, much more less than one
minute.
Here my code
-------------------------------------------------------
# Apro un set di 100 giornate con
nulldata 100
# 5 rilevazioni settimanali che iniziano il 1 marzo 2016 e indico che è
una serie temporale
setobs 5 2016-06-01 --time-series
# chiama la funzione yahoo_get
include yahoo_get.gfn
# scarico i titoli
loop foreach i A2A.MI ATL.MI AZM.MI BMED.MI BMPS.MI BP.MI BPE.MI
A=yahoo_full("$i")
endloop
Please note i cutted the titles list: they are normally more than 50
and less 100, because i am interested in behaviour of the components of
market indexes.
-------------------------------------------------------
I dont know how to handle this situation because I'm not shure if
a) there is a problem in my line, but I dont think: tests and others
activities are ok.
b) there was an unsaid change in yahoo's download policy. Maybe they
decided to slow down the data rate (IE reducing the band).
c) Yahoo has some problems not yet solved.
d) May be, after upgrading, appened some modest conflict between the OS
and yahoo_get;
SO i ask if somebody can give me a suggestion how to handle this or if
you too have experienced some strong delay in the next weeks.
It must be something related to your machine. Your script runs just fine
here (Linux Mint), it takes only a few seconds.
-------------------------------------------------------
Riccardo (Jack) Lucchetti
Dipartimento di Scienze Economiche e Sociali (DiSES)
Università Politecnica delle Marche
(formerly known as Università di Ancona)
r.lucchetti(a)univpm.it
http://www2.econ.univpm.it/servizi/hpp/lucchetti
-------------------------------------------------------