Skip to content

Conversation

@phantom-voltage
Copy link

Fixes #118
Introduces random jitter with exponential backoff.

Tested via:

$ python beanprice/price.py --no-cache -e "USD:yahoo/AAPL"
2025-06-10 price AAPL                               202.67 USD

@izackwu
Copy link

izackwu commented Sep 7, 2025

Thanks for the fix and it works perfectly for me!

It seems that the fix will take quite some more time to get merged, so for those who want to use it, you can tell pip to install from this specific commit using:

$ pip install "beanprice @ git+https://github.com/phantom-voltage/beanprice.git@d465ce5798a9ccf7173f83a0d85d8cf51e9be951" --force-reinstall

@xuhcc
Copy link
Collaborator

xuhcc commented Sep 7, 2025

@phantom-voltage Please address pylint warnings and fix tests

pylint beanprice
pytest beanprice

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

Successfully merging this pull request may close these issues.

Yahoo source results in HTTP 429 error code

3 participants