[Blotter-commits] r189 - pkg/blotter/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Jan 19 22:30:22 CET 2010


Author: braverock
Date: 2010-01-19 22:30:22 +0100 (Tue, 19 Jan 2010)
New Revision: 189

Modified:
   pkg/blotter/R/synthetic.R
Log:
- add check for spread instrument type

Modified: pkg/blotter/R/synthetic.R
===================================================================
--- pkg/blotter/R/synthetic.R	2010-01-19 21:29:53 UTC (rev 188)
+++ pkg/blotter/R/synthetic.R	2010-01-19 21:30:22 UTC (rev 189)
@@ -1,4 +1,4 @@
-buildSpread<- function(primary_id, ..., ) {
+buildSpread<- function(primary_id, ...) {
     tmp_instr<-try(getInstrument(primary_id)
     if(inherits(tmp_instr,"try-error") | !is.instrument(tmp_instr)){
         stop(paste("Instrument",Symbol," not found, please create it first."))



More information about the Blotter-commits mailing list