[Blotter-commits] r424 - pkg/blotter/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Oct 22 20:12:17 CEST 2010


Author: llevenson
Date: 2010-10-22 20:12:16 +0200 (Fri, 22 Oct 2010)
New Revision: 424

Modified:
   pkg/blotter/R/chart.Posn.R
Log:
- add getPrice(Prices,...) to handle multicolumn price data

Modified: pkg/blotter/R/chart.Posn.R
===================================================================
--- pkg/blotter/R/chart.Posn.R	2010-10-18 21:10:17 UTC (rev 423)
+++ pkg/blotter/R/chart.Posn.R	2010-10-22 18:12:16 UTC (rev 424)
@@ -25,6 +25,7 @@
 
     require(quantmod)
     Prices=get(Symbol)
+	Prices=getPrice(Prices,...)
     freq = periodicity(Prices)
     switch(freq$scale,
             seconds = { mult=1 },



More information about the Blotter-commits mailing list