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

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Nov 29 00:41:46 CET 2011


Author: bodanker
Date: 2011-11-29 00:41:46 +0100 (Tue, 29 Nov 2011)
New Revision: 855

Modified:
   pkg/blotter/R/chart.Posn.R
Log:
- pass '...' to chart_Series in chart.Posn (will error if TA= or name= are
  in '...'; will fix that later)


Modified: pkg/blotter/R/chart.Posn.R
===================================================================
--- pkg/blotter/R/chart.Posn.R	2011-11-24 18:16:48 UTC (rev 854)
+++ pkg/blotter/R/chart.Posn.R	2011-11-28 23:41:46 UTC (rev 855)
@@ -64,7 +64,7 @@
     # scope the Price data by Dates
     if(!is.null(Dates)) Prices=Prices[Dates]
     
-    chart_Series(Prices, name=Symbol, TA=NULL)
+    chart_Series(Prices, name=Symbol, TA=NULL, ...)
     if(!is.null(nrow(Buys)) && nrow(Buys) >=1 ) (add_TA(Buys,pch=2,type='p',col='green', on=1));
     if(!is.null(nrow(Sells)) && nrow(Sells) >= 1) (add_TA(Sells,pch=6,type='p',col='red', on=1));
     if(nrow(Position)>=1) {



More information about the Blotter-commits mailing list