Commit 39948901 authored by Dirk Eddelbuettel's avatar Dirk Eddelbuettel

Import Upstream version 0.10-29

parent be1d1de4
2012-02-20 Kurt Hornik <Kurt.Hornik@wu.ac.at>
2012-07-07 Kurt Hornik <Kurt.Hornik@wu.ac.at>
* DESCRIPTION (Version): New version is 0.10-29.
* R/finance.R (get.hist.quote): Protect against duplicated entries
as suggested by AZ.
2012-02-21 Kurt Hornik <Kurt.Hornik@wu.ac.at>
* DESCRIPTION (Version): New version is 0.10-28.
* R/finance.R (get.hist.quote): Try yahoo 5 times before giving up.
2012-02-20 Kurt Hornik <Kurt.Hornik@wu.ac.at>
* man/get.hist.quote.Rd: Make example more robust re availability
of web services.
......
Package: tseries
Version: 0.10-28
Date: 2012-02-20
Version: 0.10-29
Date: 2012-07-07
Title: Time series analysis and computational finance
Author: Compiled by Adrian Trapletti <adrian@trapletti.org>
Maintainer: Kurt Hornik <Kurt.Hornik@R-project.org>
......@@ -9,6 +9,6 @@ Depends: R (>= 2.10.0), quadprog, stats, zoo
Suggests: its
Imports: graphics, stats, utils
License: GPL-2
Packaged: 2012-02-21 10:09:29 UTC; hornik
Packaged: 2012-07-07 09:32:04 UTC; hornik
Repository: CRAN
Date/Publication: 2012-02-21 10:23:38
Date/Publication: 2012-07-07 09:31:07
0f5035abc165191a91eec1cd4b80b295 *ChangeLog
31354e220ae43db94ded475431249fcb *DESCRIPTION
79598345632f97bcac9d72f4150ecedd *ChangeLog
a363a2aca73e6dfc587d010955affdf6 *DESCRIPTION
cc6f568593cc497e287a13877445f660 *NAMESPACE
434cfb7f2cdc1fe1cab1922e3fb0e3d8 *R/arma.R
d6e08bdc7e3ddc6f870cfcd657f364bf *R/finance.R
aba45885115ec20161ec3292223d0c8d *R/finance.R
f3d8df961e5a15c7e356a4566424e175 *R/garch.R
decf4a3134c069cf9d2dbc79b1b60706 *R/irts.R
983c115f3a9894fd4eab6b8892a8171a *R/test.R
ebc29d93799680f40e284960a8cd6950 *R/tsutils.R
6474314852bc0951b0cc3848febd98dc *R/zzz.R
a438e352affac23cc870d81b8fc5d22f *README
2daf9469d56d15f6a897b40150b1b595 *data/NelPlo.rda
3d55de54923ae3b4917ef68e1f7f20ec *data/USeconomic.rda
a5e63983ee1e714f9edd70b4dafc678b *data/bev.rda
43da0561fe32fdc1862bcba08a39dc0c *data/camp.rda
5d23a2a2dd0e9a0af45fcd9fbd4ab0bb *data/ice.river.rda
68118fd3bd3768dfbab49d4b157f6499 *data/nino.rda
d9e14b16bfef766239b084abc2cda03c *data/tcm.rda
ef515687df31a515c5278d9320f64207 *data/tcmd.rda
dd3ea8b998ee372314347b44c037d4ff *data/NelPlo.rda
ee5c1bb65ee3aeb5a7edca428a3140c1 *data/USeconomic.rda
cdfc59cef3c04b90791ad2af42976163 *data/bev.rda
9aaaa02bdb5b446f553bf742e977bb44 *data/camp.rda
33b9f5303f7ac90e9d356f52b580b1a5 *data/ice.river.rda
712ca91b30dbfc83a5117862914f6bf8 *data/nino.rda
71a88eccd64b5ebabb0b12dfd8c48a13 *data/tcm.rda
46b7a4df304a1820eed5744cc6d697b2 *data/tcmd.rda
ee522e5be7a4a8f15d449a342342c1f2 *inst/CITATION
39c832867f0093af08dba56ed7c89504 *man/NelPlo.Rd
a3fd00105442c79dbe9d8097b5877f40 *man/USeconomic.Rd
......
......@@ -212,6 +212,15 @@ function (instrument = "^gdax", start, end,
## hence need fill = TRUE and na.omit
x <- read.table(destfile, header = TRUE, sep = ",", as.is = TRUE, fill = TRUE)
x <- na.omit(x)
## As of 2012-07-07,
## get.hist.quote("ibm", start = "2012-07-06", end = "2012-07-06")
## gives two entries for 2012-07-06 ...
## Fix (hopefully only needed temporarily?) suggested by AZ.
if(nrow(x) >= 2L && x[1L, 1L] == x[2L, 1L]) {
warning("first date duplicated, first instance omitted")
x <- x[-1L, , drop = FALSE]
}
## Debug
## cat("read.table: start =", x[NROW(x),"Date"], "\n")
......
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
No preview for this file type
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment