[Blotter-commits] r880 - pkg/FinancialInstrument/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Thu Dec 15 23:49:28 CET 2011
Author: gsee
Date: 2011-12-15 23:49:27 +0100 (Thu, 15 Dec 2011)
New Revision: 880
Modified:
pkg/FinancialInstrument/R/instrument.R
Log:
forgot to return stock
Modified: pkg/FinancialInstrument/R/instrument.R
===================================================================
--- pkg/FinancialInstrument/R/instrument.R 2011-12-15 22:42:14 UTC (rev 879)
+++ pkg/FinancialInstrument/R/instrument.R 2011-12-15 22:49:27 UTC (rev 880)
@@ -825,7 +825,7 @@
}
if (any(pid$type == 'root')) {
if (primary_id %in% c(paste(pid$root, "O", sep="."), paste(pid$root, "OQ", sep="."))) { #X.RIC for NASDAQ stock. e.g. AAPL.O, MSFT.OQ
- stock(pid$root, currency=currency('USD'), identifiers=list(X.RIC=primary_id), defined.by='auto', assign_i=assign_i, ...)
+ return(stock(pid$root, currency=currency('USD'), identifiers=list(X.RIC=primary_id), defined.by='auto', assign_i=assign_i, ...))
#update_instruments.yahoo(pid$root)
}
}
More information about the Blotter-commits
mailing list