getQuote {quantmod} | R Documentation |
Fetch current stock quote from specified source. At present this only handle sourcing quotes from Yahoo Finance, but it will be extended to additional sources over time.
getQuote(Symbols, src = "yahoo")
Symbols |
character string of symbol |
src |
source of data (only yahoo is implemented) |
Returns a zoo object of one row, with timestamp of class POSIXct.
Jeffrey A. Ryan
Yahoo! Finance finance.yahoo.com
## Not run: getQuote("AAPL") ## End(Not run)