[Blotter-commits] r1041 - in pkg/blotter: . demo

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Jun 5 17:47:37 CEST 2012


Author: gsee
Date: 2012-06-05 17:47:36 +0200 (Tue, 05 Jun 2012)
New Revision: 1041

Modified:
   pkg/blotter/DESCRIPTION
   pkg/blotter/demo/turtles.R
Log:
 typo in getSymbols call; source --> src

Modified: pkg/blotter/DESCRIPTION
===================================================================
--- pkg/blotter/DESCRIPTION	2012-06-04 00:19:59 UTC (rev 1040)
+++ pkg/blotter/DESCRIPTION	2012-06-05 15:47:36 UTC (rev 1041)
@@ -2,7 +2,7 @@
 Type: Package
 Title: Tools for transaction-oriented trading systems
     development.
-Version: 0.8.9
+Version: 0.8.10
 Date: $Date$
 Author: Peter Carl, Brian G. Peterson
 Maintainer: Brian G. Peterson <brian at braverock.com>

Modified: pkg/blotter/demo/turtles.R
===================================================================
--- pkg/blotter/demo/turtles.R	2012-06-04 00:19:59 UTC (rev 1040)
+++ pkg/blotter/demo/turtles.R	2012-06-05 15:47:36 UTC (rev 1041)
@@ -49,7 +49,7 @@
 	assign( paste("portfolio",pname,sep='.'), Portfolio, envir=.blotter )
 }
 
-getSymbols(symbols, index.class="POSIXct", from=initDate, source="yahoo")
+getSymbols(symbols, index.class="POSIXct", from=initDate, src="yahoo")
 # getSymbols now defaults (as originally) to "Date" indexing.  We can change to use POSIXct here.
 # getSymbols(symbols, index.class=c("POSIXt","POSIXct"), from=initDate, source="yahoo")
 



More information about the Blotter-commits mailing list