Skip to content
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

fixed getMetals() example #331

Closed
wants to merge 1 commit into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 3 additions & 2 deletions DESCRIPTION
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
Package: quantmod
Type: Package
Title: Quantitative Financial Modelling Framework
Version: 0.4.18.1
Version: 0.4.18.2
Authors@R: c(
person(given=c("Jeffrey","A."), family="Ryan", role=c("aut","cph")),
person(given=c("Joshua","M."), family="Ulrich", role=c("cre","aut"), email="[email protected]"),
person(given="Wouter", family="Thielen", role="ctb"),
person(given="Paul", family="Teetor", role="ctb"),
person(given="Steve", family="Bronder", role="ctb")
person(given="Steve", family="Bronder", role="ctb"),
person(given = "Gerhard", family = "Nachtmann", email = "[email protected]", role = "ctb")
)
Depends: R (>= 3.2.0), xts(>= 0.9-0), zoo, TTR(>= 0.2), methods
Imports: curl
Expand Down
6 changes: 4 additions & 2 deletions man/getMetals.Rd
Original file line number Diff line number Diff line change
Expand Up @@ -56,9 +56,11 @@ See \code{getSymbols} and \code{getSymbols.oanda} for more detail.
\examples{
\dontrun{

getFX(c("gold","XPD"))
getMetals(c("gold", "XPD"))

## warning: Oanda only provides historical data for the past 180 days
getMetals("plat", from = "2005-01-01")

getFX("plat",from="2005-01-01")
}
}
\keyword{ utilities}