[Blotter-commits] r976 - pkg/FinancialInstrument/inst/parser

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon Mar 19 16:12:50 CET 2012


Author: gsee
Date: 2012-03-19 16:12:50 +0100 (Mon, 19 Mar 2012)
New Revision: 976

Modified:
   pkg/FinancialInstrument/inst/parser/download.tblox.R
Log:
 define_futures.tblox was assigning instruments to old location (.GlobalEnv$.instrument instead of FinancialInstrument:::.instrument)

Modified: pkg/FinancialInstrument/inst/parser/download.tblox.R
===================================================================
--- pkg/FinancialInstrument/inst/parser/download.tblox.R	2012-03-15 20:15:05 UTC (rev 975)
+++ pkg/FinancialInstrument/inst/parser/download.tblox.R	2012-03-19 15:12:50 UTC (rev 976)
@@ -136,7 +136,7 @@
         if(instr$defined.by != 'tblox') 
             instr$defined.by <- paste(c(instr$defined.by, "tblox"), collapse = ";")
         instr$updated <- Sys.time()
-        assign(primary_id, instr, pos=.instrument)
+        assign(primary_id, instr, pos=FinancialInstrument:::.instrument)
     }
     paste(def[,1])
 }



More information about the Blotter-commits mailing list