Closed mif2000 closed 5 months ago
I fixed this yesterday in #407. Please install the latest development version of quantmod: remotes::install_github("joshuaulrich/quantmod")
.
Thanks much
From: Joshua Ulrich @.> Sent: Tuesday, January 30, 2024 2:52 PM To: joshuaulrich/quantmod @.> Cc: mif2000 @.>; Author @.> Subject: Re: [joshuaulrich/quantmod] getOptionChain stopped working (Issue #408)
I fixed this yesterday in #407https://github.com/joshuaulrich/quantmod/issues/407. Please install the latest development version of quantmod: remotes::install_github("joshuaulrich/quantmod").
— Reply to this email directly, view it on GitHubhttps://github.com/joshuaulrich/quantmod/issues/408#issuecomment-1917780344, or unsubscribehttps://github.com/notifications/unsubscribe-auth/AZAUQKAOLIS4C5ECIALSAO3YRFFPVAVCNFSM6AAAAABCR2Z64GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTSMJXG44DAMZUGQ. You are receiving this because you authored the thread.Message ID: @.***>
Description
I use vba and Excel as interface to the BERT UI for R-based support of end-user inquiries to Yahoo finance. I've been doing this for 1-2 years, but know very little about the "system" side of BERT. A few days ago getOptionChain stopped working.
Expected behavior
Until recently an R call such as: Expirations <- getOptionChain("AAPL", NULL)
would provide a list of expiries, from which I could choose one and (after manipulating the date a bit) optionChain <- getOptionChain("AAPL", expiry)
to provide an xts chain with calls and puts tables.. Now these getOptionChain calls return: Warning: no data for "AAPL expiry, omitting (server response: HTTP error 401.) and/or Error in Exp/86400: non-numeric argument to binary operator, which seems to indicate a Yahoo authorization error.
Minimal, reproducible example
Session Info