我从 TTR 文档中获得了一些示例,例如:
data(ttrc)
mfi <- MFI(ttrc[,c("High","Low","Close")], ttrc[,"Volume"])
data(ttrc)
price <- ttrc[,"Close"]
data(ttrc)
macd <- MACD( ttrc[,"Close"], 12, 26, 9, maType="EMA" )
data(ttrc)
ema.20 <- EMA(ttrc[,"Close"], 20)
是data(ttrc)
数据虚拟还是什么?我想用
getSymbols("AAPL",src="yahoo")
对于系列并从中选择正确的列,例如“关闭”或“音量”
“可强制转换为 xts 或矩阵的系列”如何将时间序列getSymbols
从右矩阵转换为使用文档中的示例?
谢谢!