We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Good description of the issue is here
I think the change needs to happen in the downloads.jl file for the yahoo function and should look something like:
host = "query2"#rand(["query1", "query2"]) url = "https://$host.finance.yahoo.com/v8/finance/chart/$sym" @assert res.status == 200 json_arr = JSON3.read(res.body) full_dict = merge(json_arr.chart.result[1].indicators.quote[1], json_arr.chart.result[1].indicators.adjclose[1], Dict(:timestamp => DateTime.(json_arr.chart.result[1].timestamp))) named_tup = NamedTuple(Dict([k=>Array(v) for (k,v) in full_dict]))
However, the timestamp is all in integers and I couldn't find a way to convert it to the DateTime that TimeArray is expecting
The text was updated successfully, but these errors were encountered:
fix: yahoo finance (JuliaQuant#98)
8864a7b
Merge pull request #99 from Arkoniak/98-fix-yahoo-finance-api
b5efb44
fix: yahoo finance (#98)
Successfully merging a pull request may close this issue.
Good description of the issue is here
I think the change needs to happen in the downloads.jl file for the yahoo function and should look something like:
However, the timestamp is all in integers and I couldn't find a way to convert it to the DateTime that TimeArray is expecting
The text was updated successfully, but these errors were encountered: