On Mon, 7 Sep 2015, yinung at Gmail wrote:
Dear gretl-users,
I am the author of the getQuandl.gfn package. Sorry for the late
response. And, of course, the under-documented. I will get it
updated if I can solve the current problem.
This package was developed and tested under my gretl 1.9.12 under my
old Ubuntu 10.04. It seems not working for 1.10.90 (cvs, build date
2015-06-22).
I just tested it again. Under my gretl 1.9.12, the following hansl was
working fine.
<hansl>
include getQuandl.gfn
nulldata 50
setobs 7 2012-01-03
include getQuandl.gfn
# get exchange rates for USD and EURO from FRED
xlist = getQuandl("DEXUSEU", "2012-01-03", "2012-01-31", 1,
4, null, 0,
null, null)
</hansl>
But if this hansl runs under gretl 1.10.90, it turns out not
working. After some debugging. I am not sure if anyone knows that
"cURL" changes as I could recall. (Allin, maybe you can help me...)
Since in gretl 1.9.12, the following commands still works:
URL="http://www.quandl.com/api/v1/datasets/FRED/DEXUSEU.csv"
s=readfile(URL)
In 1.10.90 (cvs, build date 2015-06-22), however, the above commands gets
an error:
cURL error 1 (Unsupported protocol)
The quandl pages have moved permanently from
http://www.quandl.com to
https://www.quandl.com. If you access quandl via a web browser it will
automatically make the change for you but curl may or may not do so;
it's _capable_ of doing so only if it supports the https protocol.
Unfortunately our current build of libcurl for Windows doesn't support
https. That's because it would require packaging libssl as well, and
up till now we haven't experienced a need for https. I guess we need
to revisit that and probably package an SSL-enabled libcurl.
The bottom line is that Quandl data access via gretl on Windows is not
going to work until we rebuild libcurl. However, I find that it works
fine on Linux using libcurl 7.44.0.
Allin Cottrell