Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Empty symbol results in Retry Error #290

Open
Wermeling opened this issue Oct 1, 2024 · 1 comment
Open

Empty symbol results in Retry Error #290

Wermeling opened this issue Oct 1, 2024 · 1 comment

Comments

@Wermeling
Copy link

from yahooquery import Ticker

ticker_list = ['0398.HK']

Fetch data asynchronously

tickers = Ticker(ticker_list, asynchronous=True)
data = tickers.history(period='1d')

Ensure the event loop is working correctly

print(data)

Try the script. It results in retry error.

@Wermeling
Copy link
Author

It seems to work with asynchronous=FALSE. Why is that?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant