0
我正嘗試在quantmod庫中使用getOptionChain()
下載選項。 下面是完整的程序getOptionChain in quantmod連接錯誤
#test of quantmod getOptionChain
rm(list=ls())
library(quantmod)
library(jsonlite)
nflx = getOptionChain('NFLX')
這裏是輸出
錯誤close.connection(URL):無效的連接
我缺少什麼?
這是一個已知問題。有關替代解決方案,請參閱[我的答案](http://stackoverflow.com/questions/38386903/getoptionchain-not-returning-any-data-in-r/38872652#38872652)或[此帖子](https:// www.r-bloggers.com/downloading-option-chain-data-from-google-finance-in-r-an-update/)。 – hvollmeier