Hej Ioannis,
I got the same error message days ago but It was solved when I wrote the
interpolation method
series AMAZON = yahoo_price("AMZN",1)
try the same
Best and nice weekend to everyone
El vie., 18 sept. 2020 a las 14:50, Ioannis A. Venetis (<ivenetis(a)upatras.gr>)
escribió:
Hello all, especially Jack who wrote the package!!!.
I run gretl2020d on Windows (I think last version of them).
Also I installed yahoo_get 3.0
When running yahoo_get.gfn sample script I get two "errors"
(1) It does not find the redhat ticker
? series redhat = yahoo_price("RHT") # get Red Hat, adjusted price only
Ticker RHT not found
Generated series redhat (ID 1)
(2) it does not fill non-existent ticker with NAs (if that's the expected
function here). I get the following
? series foo = yahoo_price("ZZZ") # a non-existent ticker will give
NAs
An error occurred when 'outfile' was active
jsonget: failed to match JsonPath
*** error in function json2csv, line 1
> dates = strsplit(jsonget(jsonbuf, "$.chart.result[0].timestamp[*]"),
"\n")
called by function write_tempfile
called by function yahoo_price
Error executing script: halting
> series foo = yahoo_price("ZZZ") # a non-existent ticker will give
NAs
_______________________________________________
Gretl-users mailing list -- gretl-users(a)gretlml.univpm.it
To unsubscribe send an email to gretl-users-leave(a)gretlml.univpm.it
Website:
https://gretlml.univpm.it/postorius/lists/gretl-users.gretlml.univpm.it/
--
Atte.
Cristián Arturo Ducoing Ruiz