[Blotter-commits] r465 - pkg/FinancialInstrument/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Nov 22 19:38:58 CET 2010


Author: braverock
Date: 2010-11-22 19:38:58 +0100 (Mon, 22 Nov 2010)
New Revision: 465

Modified:
   pkg/FinancialInstrument/R/synthetic.R
Log:
- fix memberratio

Modified: pkg/FinancialInstrument/R/synthetic.R
===================================================================
--- pkg/FinancialInstrument/R/synthetic.R	2010-11-22 18:32:12 UTC (rev 464)
+++ pkg/FinancialInstrument/R/synthetic.R	2010-11-22 18:38:58 UTC (rev 465)
@@ -69,7 +69,7 @@
 }
 
 #' @export
-guaranteed_spread <- function(primary_id , currency , members, memberratio=c(1:1), ..., multiplier=1, identifiers = NULL)
+guaranteed_spread <- function(primary_id , currency , members, memberratio=c(1,1), ..., multiplier=1, identifiers = NULL)
 {
 	synthetic.ratio(primary_id , currency , multiplier=multiplier, identifiers = NULL, type=c("guaranteed_spread","spread","synthetic.ratio","synthetic","instrument"), members=members, memberratio=memberratio, ...=..., assign_i=TRUE)
 }



More information about the Blotter-commits mailing list