[Blotter-commits] r1096 - pkg/quantstrat/demo

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Jun 30 23:35:14 CEST 2012


Author: braverock
Date: 2012-06-30 23:35:14 +0200 (Sat, 30 Jun 2012)
New Revision: 1096

Modified:
   pkg/quantstrat/demo/macdParameters.R
Log:
- wrap with print() so they'll work in source()


Modified: pkg/quantstrat/demo/macdParameters.R
===================================================================
--- pkg/quantstrat/demo/macdParameters.R	2012-06-30 21:33:50 UTC (rev 1095)
+++ pkg/quantstrat/demo/macdParameters.R	2012-06-30 21:35:14 UTC (rev 1096)
@@ -55,11 +55,10 @@
 #laststpar.exp<-system.time(
 #		testPackListPL<-applyParameter(strategy=stratMACD,portfolios=portfolio.st,parameterPool=tPD2,method='random',sampleSize=20,parameterConstrains=pConstraint2)
 #)
-#laststpar.exp
+if(verbose >=1) print(laststpar.exp)
 
-#
-#stopWorkers(workers)
-#rmSessions(all=TRUE)
+#examine the stats from this parameter run:
+if(verbose >=1) print(testPackListPL$statsTable)
 
 
 



More information about the Blotter-commits mailing list