[R-SIG-Finance] quantmod getSymbols() failing on Yahoo
Joshua Ulrich
josh.m.ulrich at gmail.com
Thu Apr 20 23:03:30 CEST 2017
On Thu, Apr 20, 2017 at 3:57 PM, Keith Sabol <sabolkj at gmail.com> wrote:
> Marco,
> Updating your version of quantmod, as suggested by Josh, should work. Did for me.
>
> Keith
>
>> On Apr 20, 2017, at 1:44 PM, Magicaltats Bianchi <marcolondonuk at gmail.com> wrote:
>>
>> I have in fact experienced exactly the same identical situation. Don't really understand where the problem is coming from, let alone figuring out what to do to resolve it! Any suggestions welcome. Marco
If you're interested in what happened, there are details in the GitHub issue:
https://github.com/joshuaulrich/quantmod/issues/149
>>
>>> On 20 Apr 2017 7:00 p.m., "Keith Sabol" <sabolkj at gmail.com> wrote:
>>> I've been using getSymbols() to retrieve data from Yahoo for some time
>>> without difficulty. Recently, I've been getting this error:
>>>
>>> getSymbols("IBM")
>>> Error in download.file(paste(yahoo.URL, "s=", Symbols.name, "&a=", from.m,
>>> :
>>> cannot open URL '
>>> http://ichart.finance.yahoo.com/table.csv?s=IBM&a=0&b=01&c=2007&d=3&e=20&f=2017&g=d&q=q&y=0&z=IBM&x=.csv
>>> '
>>>
>>>
>>> Pasting this url into my browser works as expected:
>>>
>>> https://ichart.finance.yahoo.com/table.csv?s=IBM&a=0&b=01&c=2007&d=3&e=20&f=2017&g=d&q=q&y=0&z=IBM&x=.csv
>>>
>>>
>>> Can someone suggest how I might find/edit the line in the quantmod code
>>> that would enable me to to switch to HTTPS until the package catches up?
>>>
>>> Thanks, in advance, for any assistance.
>>>
>>> Keith
>>>
>>> [[alternative HTML version deleted]]
>>>
>>> _______________________________________________
>>> R-SIG-Finance at r-project.org mailing list
>>> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
>>> -- Subscriber-posting only. If you want to post, subscribe first.
>>> -- Also note that this is not the r-help list where general R questions should go.
>
> [[alternative HTML version deleted]]
>
> _______________________________________________
> R-SIG-Finance at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-sig-finance
> -- Subscriber-posting only. If you want to post, subscribe first.
> -- Also note that this is not the r-help list where general R questions should go.
--
Joshua Ulrich | about.me/joshuaulrich
FOSS Trading | www.fosstrading.com
R/Finance 2017 | www.rinfinance.com
More information about the R-SIG-Finance
mailing list