FindCommonInstrumentAttributes {FinancialInstrument}R Documentation

Find attributes that more than one instrument have in common

Description

Find attributes that more than one instrument have in common

Usage

FindCommonInstrumentAttributes(Symbols, ...)

Arguments

Symbols

character vector of primary_ids of instruments

...

arguments to pass to getInstrument

Value

character vector of names of attributes that all Symbols' instruments have in common

Note

I really do not like the name of this function, so if it survives, its name may change

Author(s)

gsee

Examples

## Not run: 
ibak <- as.list(FinancialInstrument:::.instrument, all.names=TRUE)
Symbols <- c("SPY", "AAPL")
define_stocks(Symbols, addIBslot=FALSE)
update_instruments.SPDR("SPY")
update_instruments.TTR("AAPL", exchange="NASDAQ")
FindCommonInstrumentAttributes(Symbols)
FindCommonInstrumentAttributes(c(Symbols, "USD"))
reloadInstruments(ibak)

## End(Not run)

[Package FinancialInstrument version 1.3.1 Index]