get_prices_from_yahoo.Rd
Get prices for a given ticker from the Yahoo Finance API. Wrapper around
get_ticker_prices
with further arguments. E.g., select the stock exchange.
get_prices_from_yahoo(ticker, from, to, preferred_exchange = "Xetra",
stock_exchanges = c(".DE", ".F", ".SG", ".MU", ".DU"),
method = "simple", user_specific_exchange = TRUE)
A single character string. Ticker symbol.
A single character string. Start date.
A single character string. End date.
A single character string. Stock exchange (default is Xetra)
A vector of single character strings. Possible stock exchanges to get prices from.
A single character string (default: simple). The method how to get prices from Yahoo. Use the R package quantmod or a simple and fast solution.
Logical indicating whether prices are taken from exchange that is preferred by the user (i.e., stored in the user's profile). Default is TRUE.
A data frame containing dates, prices (open, high, low, close, adjusted) and volume.