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

sync dev -> main #1927

Merged
merged 26 commits into from
May 19, 2024
Merged

sync dev -> main #1927

merged 26 commits into from
May 19, 2024

Conversation

ValueRaider and others added 23 commits March 1, 2024 22:03
Fix potential for price repair to discard price=0 rows
Replace dead 'appdirs' package with 'platformdirs'
Drop official support for 'pandas_datareader', tag pdr_override() as deprecated.
Also removed deprecated argument 'download(show_errors)'.
Deprecate 'pandas_datareader', remove a deprecated argument
Fix help(yf.download) not showing the information about the function
Don't price-repair FX volume=0, is normal
Python 3.12 deprecates datetime.datetime.utcnow().
Instead of switching to datetime.datetime.now(datetime.UTC), which won't work in Python 3.11,
just switch to Pandas.utcnow().
- renamed test files conform with standards
- replaced utcfromtimestamp
Session switch logic was not recalculating 'self._session_is_caching'.
Also removed message 'help stress-test cookie & crumb & requests_cache', clearly works now.
Add more specific error thowring base on PR 1918
Fix switching session from/to requests_cache
Original logic for repairing missing split adjustment only checked latest split.
Improved logic checks ALL splits in data, because any can be missing.

Then related changes to 'sudden change detection':
- use prices median not mean, reduce sensitivity to noise.
- handle Kuwait Dinar, which sub-divides into 1000x not 100x.
…-bad-splits

 Price repair: improve 'sudden change' repair for splits & currency
@ValueRaider ValueRaider marked this pull request as ready for review May 19, 2024 10:40
@ValueRaider ValueRaider merged commit e65ca40 into main May 19, 2024
1 check passed
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.

4 participants