On 14/05/2024 07:44, Artur T. wrote:
Am 14.05.24 um 01:06 schrieb Cristián Arturo Ducoing Ruiz:
> Hi there,
>
> I was trying to get data from Yahoo using the package yahoo_get and
> after several attempts to get the data, I always got the same error
> message ("error de datos", data error in english). By default the
> configuration was in Spanish.
>
> I changed the preferences to English and using the same code, I got
> immediately the data requested (MSFT)
>
> include yahoo_get.gfn
> series msft = yahoo_price("MSFT", 1)
> MSFT imported ok
> Generated series msft (ID 2)
>
> Im using windows 11 and the latest gretl version (2024a)
On my Ubuntu machine using gretl developer version a couple of days old,
the following script works fine:
<hansl>
include yahoo_get.gfn
nulldata 1000
setobs 7 2000-01-01 --time-series
series msft = yahoo_price("MSFT", 1)
</hansl>
I just tried a similar experiment on a Win10 PC and all was fine.
Cristián, are you using the latest version of the package (3.5)? There
was an issue with decimal separators, but it was fixed with version 3.2.
-------------------------------------------------------
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
-------------------------------------------------------