[Blotter-commits] r1479 - pkg/FinancialInstrument/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Jun 19 22:48:00 CEST 2013
Author: opentrades
Date: 2013-06-19 22:47:59 +0200 (Wed, 19 Jun 2013)
New Revision: 1479
Modified:
pkg/FinancialInstrument/R/ls_strikes.R
Log:
- ls_strikes() now using ls_option_series() instead of ls_options()
Modified: pkg/FinancialInstrument/R/ls_strikes.R
===================================================================
--- pkg/FinancialInstrument/R/ls_strikes.R 2013-06-03 11:44:34 UTC (rev 1478)
+++ pkg/FinancialInstrument/R/ls_strikes.R 2013-06-19 20:47:59 UTC (rev 1479)
@@ -33,7 +33,7 @@
#' }
#' @export
ls_strikes <- function(pattern=NULL) {
- symbols <- ls_options(pattern)
+ symbols <- ls_option_series(pattern, match=FALSE)
tmp_symbols <- NULL
for (symbol in symbols) {
tmp_instr <- try(get(symbol,pos=FinancialInstrument:::.instrument),silent=TRUE)
More information about the Blotter-commits
mailing list