Skip to content

Commit 3f56737

Browse files
committed
Change Oanda url to https
This caused several different issues for different users and it wasn't clear the redirect was the cause. In some cases download.file() would report that the URL could not be opened. In another case, the HTML would be downloaded, causing an error when trying to manipulate the object returned by read.csv(). Bump version. Update URLs in package man page.
1 parent 06211c1 commit 3f56737

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

DESCRIPTION

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
Package: quantmod
22
Type: Package
33
Title: Quantitative Financial Modelling Framework
4-
Version: 0.4-5
5-
Date: 2015-07-23
4+
Version: 0.4-6
5+
Date: 2016-04-07
66
Authors@R: c(
77
person(given=c("Jeffrey","A."), family="Ryan", role=c("aut","cph")),
88
person(given=c("Joshua","M."), family="Ulrich", role=c("cre","ctb"), email="josh.m.ulrich@gmail.com"),

R/getSymbols.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1073,7 +1073,7 @@ function(Symbols,env,return.class='xts',
10731073
dateLoc <- length(dateStr)
10741074
}
10751075
data_range <- dateStr[dateLoc[1]]
1076-
oanda.URL <- paste("http://www.oanda.com/currency/historical-rates/download?",
1076+
oanda.URL <- paste("https://www.oanda.com/currency/historical-rates/download?",
10771077
"quote_currency=", currency.pair[1],
10781078
"&end_date=", to,
10791079
"&start_date=", from,

man/quantmod-package.Rd

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,14 @@ Quantitative Financial Modelling and Trading Framework for R
1313
\tabular{ll}{
1414
Package: \tab quantmod\cr
1515
Type: \tab Package\cr
16-
Version: \tab 0.4-4\cr
17-
Date: \tab 2015-03-08\cr
16+
Version: \tab 0.4-6\cr
17+
Date: \tab 2016-04-07\cr
1818
Depends: \tab xts(>= 0.9-0),zoo,TTR(>= 0.2),methods\cr
19-
Suggests: \tab DBI,RMySQL,RSQLite,timeSeries,its,XML\cr
19+
Suggests: \tab DBI,RMySQL,RSQLite,timeSeries,its,XML,downloader\cr
2020
LazyLoad: \tab yes\cr
2121
License: \tab GPL-3\cr
2222
URL: \tab http://www.quantmod.com\cr
23-
URL: \tab http://quantmod.r-forge.r-project.org\cr
23+
URL: \tab https://github.com/joshuaulrich/quantmod\cr
2424
}
2525
The quantmod package for R is designed to
2626
assist the quantitative trader in the

0 commit comments

Comments
 (0)