[Blotter-commits] r79 - pkg/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Mar 14 17:46:32 CET 2009


Author: edd
Date: 2009-03-14 17:46:32 +0100 (Sat, 14 Mar 2009)
New Revision: 79

Modified:
   pkg/R/addTxn.R
Log:
changed pennyPerShare function argument names to be more consistent with addTxn


Modified: pkg/R/addTxn.R
===================================================================
--- pkg/R/addTxn.R	2009-03-14 16:42:59 UTC (rev 78)
+++ pkg/R/addTxn.R	2009-03-14 16:46:32 UTC (rev 79)
@@ -52,8 +52,8 @@
 }
 
 ## example cost function
-pennyPerShare <- function(Qty, Price) {
-    return(Qty * 0.01)
+pennyPerShare <- function(TxnQty, TxnPrice) {
+    return(TxnQty * 0.01)
 }
 
 ###############################################################################



More information about the Blotter-commits mailing list