Skip to content

get_expiration_dates returns empty strings instead of dates #116

Description

@Rahul-Holla
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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions