Releases: ymyke/tessa
Releases Β· ymyke/tessa
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
Symbol
andSymbolCollection
. - Revamp search interface, now supports filtering and
bucketizing, returns Symbol objects. See new
SearchResult
class for more information. - Add much more comprehensive documentation.
- Revamp folder structure.
- Encapsulate everything related to sources in new
Source
class. All symbols have asource
attribute now.
(source
attribute 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
, orPricePoint
to 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.
Make tessa compatible with Python 3.7
This will also make tessa work in Google Colab, see also #7.