[Blotter-commits] r6 - pkg/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Dec 13 20:33:50 CET 2008


Author: peter_carl
Date: 2008-12-13 20:33:50 +0100 (Sat, 13 Dec 2008)
New Revision: 6

Modified:
   pkg/man/blotter-package.Rd
Log:
- fixed example


Modified: pkg/man/blotter-package.Rd
===================================================================
--- pkg/man/blotter-package.Rd	2008-12-12 16:37:20 UTC (rev 5)
+++ pkg/man/blotter-package.Rd	2008-12-13 19:33:50 UTC (rev 6)
@@ -74,7 +74,7 @@
 
 print('Updating portfolio \"p\"...')
 p = updatePortf(p,'2007-01-03','2007-01-10')
-getPortfSummary(p)
+calcPortfSummary(p)
 getBySymbol(p,'Pos.Qty')
 
 print('Creating account \"a\" for portfolio \"p\"...')
@@ -82,5 +82,5 @@
 print('Updating account \"a\"...')
 a = updateAcct(a,'2007-01') # Check out the sweet date scoping. Thanks, xts.
 a = updateEndEq(a,'2007-01')
-
+print(a)
 }



More information about the Blotter-commits mailing list