Quandl.jl
Quandl.jl copied to clipboard
Julia 1.0 compatability?
Just found your Quandl package and would love to use it in julia v 1.0 so was wondering if you have any plans upgrading it to 1.0?
Upgrading Quandl.jl
to 1.0 shouldn't be too difficult but without @milktrader around it will be difficult to merge to master
.
Given the time on this - it looks like this may not be revived. I'm considering forking it from master and diving in to begin testing/update for compatibility with 1.0.x and 1.1.x.. Comedically though, it looks like there are 30 other forks of this today :).
Does anyone know of a fork which is Julia 1.1 currently compatible?
Don't think so. Am getting error raised on this issue while installing the package https://github.com/milktrader/Quandl.jl/issues/114
I am working on one that will be as I don’t think that Quandl.jl is currently in active revision. I don’t yet have a firm timeline at the moment, so with a little patience, I should have a compatible revision that I can maintain, so stay tuned.
Phillip Middleton
On Jul 25, 2019, at 6:31 PM, Jeremy Reeve [email protected] wrote:
Does anyone know of a fork which is Julia 1.1 currently compatible?
— You are receiving this because you commented. Reply to this email directly, view it on GitHub, or mute the thread.
Great! If you create a new branch and check in code which is "work-in-progress" I'd be more than happy to build it and test it in the knowledge that it could be broken... What I didn't want to do was start on something and duplicate the effort.
As Quandl.jl was not available, I quickly coded to get FB quotes using a trial key. You need to buy a key from quandl for historical quotes. Of course there is scope for cleaning and performance. using HTTP using JSON function parse_data(vals) for row in vals date = row[1] open = row[2] high = row[3] low = row[4] close = row[5] volume = row[6] ex_div = row[7] split_ratio = row[8] adj_open = row[9] adj_high = row[10] adj_low = row[11] adj_close = row[12] adj_volume = row[13] q = "insert into temp (date,open,high,low,close,volume) values (" ins = string(q,date,open,high,low,close,volume,")") println(ins) end
end
need to use the same laptop where you signup for free key, Quandl uses cookies
resp = HTTP.request("GET","https://www.quandl.com/api/v3/datasets/WIKI/FB/data.json") x = JSON.parse(String(resp.body)) y = values(x["dataset_data"]) val = [] i = 0 for c = y i+= 1 if (i == 3) println(c) end if(i == 6) val = c end end parse_data(val)