Am 08.08.2016 um 17:06 schrieb guido giaume:
b) [more sophisticated] creating a "list" to be called by the gretl
script when it needed AND changing only once the "list" every time the
composition of the index changes.
A "list" in gretl parlance is a (named) collection of gretl series in a
workfile. So yes, downloading the needed data first and creating a gretl
list out of them sounds good.
There is a better solution than
strings P = defarray("A2A.MI", "ANIM.MI",
"ATL.MI", "AZM.MI",
"BMPS.MI")
...
# download
loop i = 1..nelem(P)
A=yahoo_full (P[i])
endloop
This also looks very good. Right now I don't think there is a a
fundamentally better way to do this.
cheers,
sven