Warning: file_get_contents(/data/phpspider/zhask/data//catemap/5/tfs/3.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
从磁盘读取ReqtBBO历史保存数据的功能?_R_Quantmod - Fatal编程技术网

从磁盘读取ReqtBBO历史保存数据的功能?

从磁盘读取ReqtBBO历史保存数据的功能?,r,quantmod,R,Quantmod,我使用非常有用的软件包twsInstrument和reqTBBOhistory下载如下数据: tws <- twsConnect() reqTBBOhistory("AAPL") reqTBBOhistory("AAPL", ndays=95, save=T) tws事实上,我现在意识到,当一个人将src指定为FI时,来自quantmod的getSymbols就是这样做的。 但这需要我在reqTBBOhistory中指定另存为T,所以它看起来像这样: tws <- twsConn

我使用非常有用的软件包twsInstrument和reqTBBOhistory下载如下数据:

tws <- twsConnect()
reqTBBOhistory("AAPL")
reqTBBOhistory("AAPL", ndays=95, save=T)

tws事实上,我现在意识到,当一个人将src指定为FI时,来自quantmod的getSymbols就是这样做的。
但这需要我在reqTBBOhistory中指定另存为T,所以它看起来像这样:

tws <- twsConnect()
reqTBBOhistory("AAPL")
reqTBBOhistory("AAPL", ndays=95, save=T)
并加载:

getSymbols("AAPL", src="FI", dir="/mnt/W/BAT")