I'd like to load one of my xts object as financial instrument in my environment (vs. getting the symbols from yahoo, google, etc) but I can't.
My xts is a EURUSD daily OHLC series.
ls(envir=FinancialInstrument:::.instrument)
is giving me :
[1] "IWM" "QQQ" "SPY" "USD"
from previous getSymbols
operations sourced at yahoo.
I have a bloomberg and I am importing intraday series etc through xls to R so I'd like to include those imports (such as EURUSD) in my environment.
It looks like :
exchange_rate("EURUSD") [1] "EURUSD"
automatically added the EURUSD pair to the environment.