[Blotter-commits] r961 - in pkg/quantstrat: . R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Mar 4 20:52:03 CET 2012


Author: braverock
Date: 2012-03-04 20:52:03 +0100 (Sun, 04 Mar 2012)
New Revision: 961

Modified:
   pkg/quantstrat/DESCRIPTION
   pkg/quantstrat/R/parameters.R
Log:
- change parameter load to us new FI and loadInstruments that will take a list argument, thanks Garrett

Modified: pkg/quantstrat/DESCRIPTION
===================================================================
--- pkg/quantstrat/DESCRIPTION	2012-03-04 15:32:31 UTC (rev 960)
+++ pkg/quantstrat/DESCRIPTION	2012-03-04 19:52:03 UTC (rev 961)
@@ -1,13 +1,13 @@
 Package: quantstrat
 Type: Package
 Title: Quantitative Strategy Model Framework
-Version: 0.6.2
+Version: 0.6.3
 Date: $Date$
 Author: Peter Carl, Dirk Eddelbuettel, Brian G. Peterson,
     Jeffrey A. Ryan, Joshua Ulrich, Garrett See, Yu Chen
 Depends:
     xts(>= 0.8-2),TTR(>= 0.2),blotter(>= 0.7.2),
-    FinancialInstrument(>= 0.6.3)
+    FinancialInstrument(>= 0.12.5)
 Suggests:
     PerformanceAnalytics,PortfolioAnalytics
 Maintainer: Jeffrey A. Ryan <jeff.a.ryan at gmail.com>

Modified: pkg/quantstrat/R/parameters.R
===================================================================
--- pkg/quantstrat/R/parameters.R	2012-03-04 15:32:31 UTC (rev 960)
+++ pkg/quantstrat/R/parameters.R	2012-03-04 19:52:03 UTC (rev 961)
@@ -483,8 +483,8 @@
 				
 				testPack<-list()
 				
-				#Pass enviorments needed.
-                FinancialInstrument:::.instrument<-as.environment(instruments)
+				#Pass environments needed.
+                loadInstruments(instruments)
 				.getSymbols<-as.environment(getSymbols)
 #				CAN NOT BE HERE, OTHERWISE will have problem extract to outside .blooter.. #.blotter<-as.environment(blotter)
 				



More information about the Blotter-commits mailing list