[R-SIG-Finance] getSymbols() quantmod library doubt

Andre Luiz Tietbohl Ramos @ndre|tr@mo@ @end|ng |rom gm@||@com
Sun Dec 28 22:51:24 CET 2025


Hello,

I'm downloading quote data using the getSymbols() function.  It works very
well but downloads two additional columns for a few symbols,
namely _mean_log and _sd_log.
Therefore, the traditional 5 column OHLCV data frame has two more columns
in some symbols.

I move all downloaded symbols to a list in order to ease some required
computation.  At the same time, my routine depends on OHLCV data only.
Thus, I need to have a new list discarding the additional columns that
exist in some symbols on the current list.  The symbols with the "extra"
columns must be kept. However their additional columns must be removed.

Could anyone suggest a solution to this problem, please?

Thanks in advance for any help,

--
Andre Luiz Tietbohl Ramos, PhD

	[[alternative HTML version deleted]]



More information about the R-SIG-Finance mailing list