getQuote {quantmod}R Documentation

Download Current Stock Quote

Description

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.

Usage

getQuote(Symbols, src = "yahoo")

Arguments

Symbols character string of symbol
src source of data (only yahoo is implemented)

Value

Returns a zoo object of one row, with timestamp of class POSIXct.

Author(s)

Jeffrey A. Ryan

References

Yahoo! Finance finance.yahoo.com

See Also

getSymbols

Examples

## Not run: 
getQuote("AAPL")
## End(Not run)

[Package quantmod version 0.3-4 Index]