Releases: ymyke/tessa
Releases · ymyke/tessa
Update yfinance, python, improve rate limiting
- Require Python 3.10+ (drop 3.9 support)
- Require yfinance >=0.2.58 for curl_cffi (fixes Yahoo rate limiting)
- Update dependencies: pendulum >=3.0, pycoingecko >=3.0, seaborn >=0.12
- Fix infinite retry loop when rate limited (add max_tries check)
- Catch yfinance YFRateLimitError and convert to RateLimitHitError
- Replace deprecated raise_errors param with yf.config setting
- Convert Yahoo caching test to mocked unit test (faster, more reliable)
- Fix pyproject.toml section name typo
- Update documentation
v0.9.0
- Deactivate disfunctional yahoo search and warn as not implemented.
- Make coingecko work properly again:
- Retrieve 365 days of historical data only, since this is what the public api allows.
- Introduce new exception in cases where the limit is exceeded.
- Make
price_pointmore robust by raisingValueErrorif requested date and available date are more thanmax_date_deviation_daysapart.
v0.8.1
Support for Python 3.10!
What's Changed
- Remove some dev dependencies to prevent readline issue with Python 3.10 on Windows
- Python-latest by @DouweM in #15
New Contributors
Full Changelog: v0.7.1...v0.8.0
Fix a couple of minor issues
v0.7.1 Bump version
Handle rate limiting (error 429) in coingecko source
The coingecko source will now by default retry (applying exponential back-off) when it encounters a 429.
Make data retrieval more persistent
- Add and use
get_price_history_bruteforcefully. It ignores certain server-side error conditions and simply retries data retrieval a number of times. This helps to automatically work around intermittent issues with the underlying APIs. - Improve lru_cache wrapper in order to expose
get_price_history's signature.
Use yfinance's new metadata feature to substantially improve performance
- Use of new metadata feature in yfinance massively speeds up price retrieval because the currency can now be retrieved via the history's metadata instead of additional calls to the Yahoo API.
- yfinance made timezones more accurate. Adjusted a number of tests accordingly.
- Fixes #13
- Fixes #14 (and similar issues)
- Requires update to yfinance >=v0.2.3
Major updates: remove broken investpy, add yfinance, add symbols interface, improve search, improve codebase in general
- Remove investpy because it is no longer working, see
alvarobartt/investpy#600 and
alvarobartt/investpy#610 - Add yfinance / Yahoo Finance support instead(simplifying a
number of things in the interfaces such as type_, country
and _querytype). - Add the symbol functionality/interface, namely new classes
SymbolandSymbolCollection. - Revamp search interface, now supports filtering and
bucketizing, returns Symbol objects. See new
SearchResultclass for more information. - Add much more comprehensive documentation.
- Revamp folder structure.
- Encapsulate everything related to sources in new
Source
class. All symbols have asourceattribute now.
(sourceattribute is roughly a replacement for the old
type_attribute.) - Signatures of most/all
price_*functions changed. - Add a number of types such as
SourceType,
PriceHistory, orPricePointto make the code clearer
and help with autocomplete suggestions in the IDE.
Increase investing timeout to 2 seconds
Their rate limiting seems to have become more sensitive lately, triggering 429s with a 1 second timeout.