[Blotter-commits] r992 - pkg/FinancialInstrument/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Mar 28 16:51:38 CEST 2012
Author: gsee
Date: 2012-03-28 16:51:38 +0200 (Wed, 28 Mar 2012)
New Revision: 992
Modified:
pkg/FinancialInstrument/R/instrument.R
Log:
fix partial arg to pass R 2.15.0 check
Modified: pkg/FinancialInstrument/R/instrument.R
===================================================================
--- pkg/FinancialInstrument/R/instrument.R 2012-03-28 13:57:26 UTC (rev 991)
+++ pkg/FinancialInstrument/R/instrument.R 2012-03-28 14:51:38 UTC (rev 992)
@@ -526,7 +526,7 @@
stop("Please install quantmod before using this function.")
}
- opts <- getOptionChain(Symbol=symbol,Exp=Exp, src="yahoo")
+ opts <- getOptionChain(Symbols=symbol,Exp=Exp, src="yahoo")
locals <- function(x) c(rownames(x$calls),rownames(x$puts))
if (is.null(opts$calls)) { #if is.null(Exp) we'll get back all chains
More information about the Blotter-commits
mailing list