-
-
Notifications
You must be signed in to change notification settings - Fork 7
New issue
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
Wrong aggregation #26
Comments
Hi snvv, Can you provide a reproducible code, please? |
Hello, Using the following code: library(yfR)
# Set options for algorithm
my_ticker <- 'GEKTERNA.AT'
first_date <- Sys.Date() - 360
last_date <- Sys.Date()
# Fetch data
df_yf <- yf_get(
tickers = my_ticker,
freq_data = "weekly",
first_date = first_date,
last_date = last_date
)
# Output is a tibble with data
tail(df_yf) I get:
However the closing prices from the Yahoo site for specific dates are:
Best regards |
Unfortinately, I can't help. This is certantly an issue with Yahoo site. The yfR is imported using As yfR developer, I have no control or knowledge of how the data from the yahoo site is organized. |
Hello,
When I download weekly data with how_to_aggregate = "last" for the GEKTERNA.AT ticker the closing prices are wrong
Thank you
The text was updated successfully, but these errors were encountered: