Get data from Yahoo! Finance to R

前端 未结 2 692
悲哀的现实
悲哀的现实 2020-12-20 10:44

I am trying to get data from Yahoo! Finance to R

I\'ve installed quantmod like that:

install.packages(\"quantmod\", repos=\"http://R-Forge.R-project.         


        
2条回答
  •  陌清茗
    陌清茗 (楼主)
    2020-12-20 11:12

    getSymbols("AAPL",src="google") has been deprecated.

    Error: ‘getSymbols.google’ is defunct. Google Finance stopped providing data in March, 2018. You could try setting src = "yahoo" instead. See help("Defunct") and help("quantmod-defunct")

提交回复
热议问题