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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Jun 28 11:02:36 CEST 2012


Author: opentrades
Date: 2012-06-28 11:02:35 +0200 (Thu, 28 Jun 2012)
New Revision: 1081

Modified:
   pkg/blotter/R/addTxn.R
Log:
* removed :: in front of verbose date print in addTxn() 



Modified: pkg/blotter/R/addTxn.R
===================================================================
--- pkg/blotter/R/addTxn.R	2012-06-28 09:00:44 UTC (rev 1080)
+++ pkg/blotter/R/addTxn.R	2012-06-28 09:02:35 UTC (rev 1081)
@@ -111,7 +111,7 @@
 
     if(verbose)
 #        print(paste(TxnDate, Symbol, TxnQty, "@",TxnPrice, sep=" "))
-        print(paste(format(TxnDate, "::%Y-%m-%d %H:%M:%S"), Symbol, TxnQty, "@",TxnPrice, sep=" "))
+        print(paste(format(TxnDate, "%Y-%m-%d %H:%M:%S"), Symbol, TxnQty, "@",TxnPrice, sep=" "))
         #print(Portfolio$symbols[[Symbol]]$txn)
     
     assign(paste("portfolio",pname,sep='.'),Portfolio,envir=.blotter)



More information about the Blotter-commits mailing list