from yahoo_fin import options
option_expiry_dates = options.get_expiration_dates(ticker)
print(option_expiry_dates)
nearest_expiry = option_expiry_dates[0]
call_df = options.get_calls(ticker, nearest_expiry)
put_df = options.get_puts(ticker, nearest_expiry)
I get this error:
[
0:"
"
]
Error due to Unable to parse datetime string:
I am using yahoo-fin - Version: 0.8.9.1.
I am getting the same error for all the stock tickers and facing them from yesterday (15-04-2024). Previously, it was working fine.
I get this error:
I am using yahoo-fin - Version: 0.8.9.1.
I am getting the same error for all the stock tickers and facing them from yesterday (15-04-2024). Previously, it was working fine.