Closed mathieu-lemire closed 3 years ago
I assume you deleted your comment because it had already been fixed. I restored it so it wouldn't confuse me or others in the future. Don't worry if you accidentally report something that's been fixed. It happens.
I ask people to make sure to use the most recent development version so they don't spend time hunting down bugs that have been fixed; out of respect for your time. :wink:
Duplicate of #300.
If there are no bid, ask or volume data for all strikes at a certain expiry date,
getOptionChain()
will return the error messageThe above call is probably hard to reproduce since data change, so I am attaching below the json from
https://query2.finance.yahoo.com/v7/finance/options/AAPL?&date=1630627200
AAPL.txt (downloaded on 21/07/25)
bid, ask and volume are missing, and as a result the
NewToOld()
function ingetOptionChain.yahoo()
will fail.