[Blotter-commits] r831 - in pkg/FinancialInstrument: . R man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Nov 4 22:35:41 CET 2011


Author: gsee
Date: 2011-11-04 22:35:41 +0100 (Fri, 04 Nov 2011)
New Revision: 831

Modified:
   pkg/FinancialInstrument/NAMESPACE
   pkg/FinancialInstrument/R/ls_instruments.R
   pkg/FinancialInstrument/man/getSymbols.FI.Rd
   pkg/FinancialInstrument/man/ls_instruments.Rd
Log:
 export ls_FX

Modified: pkg/FinancialInstrument/NAMESPACE
===================================================================
--- pkg/FinancialInstrument/NAMESPACE	2011-11-04 13:32:35 UTC (rev 830)
+++ pkg/FinancialInstrument/NAMESPACE	2011-11-04 21:35:41 UTC (rev 831)
@@ -43,6 +43,7 @@
 export(ls_funds)
 export(ls_futures)
 export(ls_future_series)
+export(ls_FX)
 export(ls_GBP)
 export(ls_guaranteed_spreads)
 export(ls_HKD)

Modified: pkg/FinancialInstrument/R/ls_instruments.R
===================================================================
--- pkg/FinancialInstrument/R/ls_instruments.R	2011-11-04 13:32:35 UTC (rev 830)
+++ pkg/FinancialInstrument/R/ls_instruments.R	2011-11-04 21:35:41 UTC (rev 831)
@@ -224,7 +224,7 @@
 
 #' @export
 #' @rdname ls_instruments
-ls_exchange_rates <- ls_FX <- function(pattern=NULL,match=TRUE) {
+ls_exchange_rates <- function(pattern=NULL,match=TRUE) {
     #This could use ls_currencies instead of ls_instruments, but currency class may be
     #subject to change
     symbols <- ls_instruments(pattern=pattern,match=match)    
@@ -240,6 +240,10 @@
 
 #' @export
 #' @rdname ls_instruments
+ls_FX <- ls_exchange_rates
+
+#' @export
+#' @rdname ls_instruments
 ls_bonds <- function(pattern=NULL,match=TRUE) {
     symbols <- ls_instruments(pattern,match)
     tmp_symbols <- NULL            

Modified: pkg/FinancialInstrument/man/getSymbols.FI.Rd
===================================================================
--- pkg/FinancialInstrument/man/getSymbols.FI.Rd	2011-11-04 13:32:35 UTC (rev 830)
+++ pkg/FinancialInstrument/man/getSymbols.FI.Rd	2011-11-04 21:35:41 UTC (rev 831)
@@ -67,7 +67,8 @@
   Welcome.
 }
 \seealso{
-  \code{\link{instrument}} \code{\link{setSymbolLookup.FI}}
+  \code{\link{saveSymbols.days}} \code{\link{instrument}}
+  \code{\link{setSymbolLookup.FI}}
   \code{\link{load.instruments}}
   \code{\link[quantmod]{getSymbols}}
 }

Modified: pkg/FinancialInstrument/man/ls_instruments.Rd
===================================================================
--- pkg/FinancialInstrument/man/ls_instruments.Rd	2011-11-04 13:32:35 UTC (rev 830)
+++ pkg/FinancialInstrument/man/ls_instruments.Rd	2011-11-04 21:35:41 UTC (rev 831)
@@ -57,6 +57,8 @@
 
   ls_exchange_rates(pattern = NULL, match = TRUE)
 
+  ls_FX(pattern = NULL, match = TRUE)
+
   ls_bonds(pattern = NULL, match = TRUE)
 
   ls_funds(pattern = NULL, match = TRUE)



More information about the Blotter-commits mailing list