[Blotter-commits] r444 - pkg/blotter/demo

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Nov 12 18:08:20 CET 2010


Author: braverock
Date: 2010-11-12 18:08:20 +0100 (Fri, 12 Nov 2010)
New Revision: 444

Modified:
   pkg/blotter/demo/turtles.R
Log:
- update second chart parameters and add getEndEq in response to query from Aleksandr Rudnev <alex <dot> rudnev <at> gmail <dot> com>

Modified: pkg/blotter/demo/turtles.R
===================================================================
--- pkg/blotter/demo/turtles.R	2010-11-10 13:25:52 UTC (rev 443)
+++ pkg/blotter/demo/turtles.R	2010-11-12 17:08:20 UTC (rev 444)
@@ -186,5 +186,7 @@
 	dev.new()
     charts.PerformanceSummary(as.zoo(return),main="Turtle Demo Performance")   
 	dev.new()
-	charts.PerformanceSummary(PortfReturns('turtles'),main='Turtle Demo Instrument Return on Equity')
+	charts.PerformanceSummary(PortfReturns('turtles'),main='Turtle Demo Instrument Return on Equity',geometric=FALSE)
 }
+
+getEndEq(account,Sys.time())



More information about the Blotter-commits mailing list