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
I can't figure out how to download daily that. Would someone be able to help me?
The text was updated successfully, but these errors were encountered:
@dmicsa If you want daily price data you can run the following code:
julia> using YFinance, DataFrames julia> ticker = "AAPL"; julia> p = get_prices(ticker, interval = "1d", startdt = "2024-01-01", enddt="2025-01-01"); julia> DataFrame(p) 42×8 DataFrame Row │ ticker timestamp open high low close adjclose vol │ String DateTime Float64 Float64 Float64 Float64 Float64 Float64 ─────┼────────────────────────────────────────────────────────────────────────────────────── 1 │ AAPL 2024-01-02T14:30:00 186.911 188.2 183.656 185.64 185.403 8.23836e7 2 │ AAPL 2024-01-03T14:30:00 183.985 185.643 183.196 184.25 184.015 5.83401e7 3 │ AAPL 2024-01-04T14:30:00 181.918 182.857 180.649 181.91 181.678 7.18919e7 4 │ AAPL 2024-01-05T14:30:00 181.758 182.527 179.94 181.18 180.949 6.22239e7 5 │ AAPL 2024-01-08T14:30:00 181.858 185.363 181.269 185.56 185.324 5.90691e7 6 │ AAPL 2024-01-09T14:30:00 183.686 184.914 182.497 185.14 184.904 4.27872e7 ⋮ │ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ ⋮ 37 │ AAPL 2024-02-23T14:30:00 185.01 185.04 182.23 182.52 182.52 4.51197e7 38 │ AAPL 2024-02-26T14:30:00 182.24 182.76 180.65 181.16 181.16 4.08674e7 39 │ AAPL 2024-02-27T14:30:00 181.1 183.92 179.56 182.63 182.63 5.43189e7 40 │ AAPL 2024-02-28T14:30:00 182.51 183.12 180.13 181.42 181.42 4.89539e7 41 │ AAPL 2024-02-29T14:30:00 181.27 182.57 179.53 180.75 180.75 1.36683e8 42 │ AAPL 2024-03-01T14:30:00 179.55 180.53 177.38 179.66 179.66 7.3488e7 30 rows omitted
Sorry, something went wrong.
No branches or pull requests
I can't figure out how to download daily that. Would someone be able to help me?
The text was updated successfully, but these errors were encountered: