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

RLS: Release 0.10.0 #888

Merged
merged 1 commit into from Jul 13, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
3 changes: 3 additions & 0 deletions docs/source/cache.rst
Expand Up @@ -27,12 +27,15 @@ passing a ``requests_cache.Session`` to ``DataReader`` or ``Options`` using the
Below is an example with Yahoo! Finance. The session parameter is implemented for all datareaders.

.. ipython:: python
:okexcept:

import pandas_datareader.data as web
from pandas_datareader.yahoo.headers import DEFAULT_HEADERS
import datetime
import requests_cache
expire_after = datetime.timedelta(days=3)
session = requests_cache.CachedSession(cache_name='cache', backend='sqlite', expire_after=expire_after)
session.headers = DEFAULT_HEADERS
start = datetime.datetime(2010, 1, 1)
end = datetime.datetime(2013, 1, 27)
f = web.DataReader("F", 'yahoo', start, end, session=session)
Expand Down
2 changes: 1 addition & 1 deletion docs/source/conf.py
Expand Up @@ -80,7 +80,7 @@

# Write version and build date
with open("_version.txt", "w") as version_file:
doc_date = dt.datetime.now().strftime("%B %-d, %Y")
doc_date = dt.datetime.now().strftime("%B %d, %Y")
version_file.write(f"Version: **{version}** Date: **{doc_date}**\n")

# The language for content autogenerated by Sphinx. Refer to documentation
Expand Down
6 changes: 3 additions & 3 deletions docs/source/remote_data.rst
Expand Up @@ -704,8 +704,8 @@ MOEX Data
=========
The Moscow Exchange (MOEX) provides historical data.

pandas_datareader.get_data_moex(*args) is equivalent to
pandas_datareader.moex.MoexReader(*args).read()
``pandas_datareader.get_data_moex(*args)`` is equivalent to
``pandas_datareader.moex.MoexReader(*args).read()``

.. ipython:: python

Expand Down Expand Up @@ -739,7 +739,7 @@ Naver Finance Data

Yahoo Finance Data
==================
`Yahoo Finance provides stock market data
Yahoo Finance provides stock market data

The following endpoints are available:

Expand Down
1 change: 1 addition & 0 deletions docs/source/whatsnew.rst
Expand Up @@ -18,6 +18,7 @@ What's New

These are new features and improvements of note in each release.

.. include:: whatsnew/v0.10.0.txt
.. include:: whatsnew/v0.9.1.txt
.. include:: whatsnew/v0.9.0.txt
.. include:: whatsnew/v0.8.0.txt
Expand Down
31 changes: 31 additions & 0 deletions docs/source/whatsnew/v0.10.0.txt
@@ -0,0 +1,31 @@
.. _whatsnew_0100:

v0.10.0 (July 11, 2021)
---------------------------

Highlights include:

Bug Fixes
~~~~~~~~~

- Fixed Yahoo readers which now require headers
- Fixed other reader
- Improved compatibility with pandas

Contributors
~~~~~~~~~~~~
Thanks to all of the contributors for the 0.10.0 release (based on git log):

- Igor Molnar
- Kevin Sheppard
- galashour
- David Kim
- Kim Philipp Jablonski
- Tim Gates
- Jeff Hale
- Lukas Halim
- Simon Garisch
- Dmitry Alekseev

These lists of names are automatically generated based on git log, and may not
be complete.
43 changes: 7 additions & 36 deletions docs/source/whatsnew/v0.9.0.txt
@@ -1,39 +1,3 @@
.. _whatsnew_091:

v0.9.1 (TBD)
------------

.. contents:: What's new in v0.9.1
:local:
:backlinks: none


.. _whatsnew_091.enhancements:

Enhancements
~~~~~~~~~~~~
- Added the method ``test`` to the package to simplify running tests from an
installation using

.. code-block:: shell

python -c "import pandas_datareader; pandas_datareader.test()"

.. _whatsnew_091.api_breaking:

Backwards incompatible API changes
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

- Immediately deprecated old symbol names for TSP to reflect the new website API

.. _whatsnew_091.bug_fixes:

Bug Fixes
~~~~~~~~~
- Update TSP web scraper to new site (:issue:`740`)

.. _whatsnew_090:

v0.9.0 (July 10, 2020)
----------------------

Expand All @@ -54,6 +18,12 @@ Enhancements
- Added AlphaVantage endpoint to get historical currency exchange rates (:issue:`764`)
- Improved logging when rate limited (:issue:`745`)
- Added daily historical data from Naver Finance (:issue:`722`)
- Added the method ``test`` to the package to simplify running tests from an
installation using

.. code-block:: shell

python -c "import pandas_datareader; pandas_datareader.test()"

.. _whatsnew_090.api_breaking:

Expand All @@ -72,6 +42,7 @@ Bug Fixes
~~~~~~~~~
- Fix Yahoo Splits for change in format (:issue:`756`)
- Fixed reading bond yields from Stooq (:issue:`752`)
- Update TSP web scraper to new site (:issue:`740`)
- Fixed EconDB reader to use session (:issue:`737`)
- Fix reading futures data from Stooq (:issue:`718`)
- Correct NASDAQ symbols fields link (:issue:`715`)
Expand Down
2 changes: 1 addition & 1 deletion docs/source/whatsnew/v0.9.1.txt
Expand Up @@ -20,7 +20,7 @@ Enhancements
from every trading board (ver. 0.9.0 behaviour)
- Docs for MOEX reedited

.. _whatsnew_080.bug_fixes:
.. _whatsnew_091.bug_fixes:

Bug Fixes
~~~~~~~~~
Expand Down
2 changes: 1 addition & 1 deletion pandas_datareader/yahoo/daily.py
Expand Up @@ -8,7 +8,7 @@

from pandas_datareader._utils import RemoteDataError
from pandas_datareader.base import _DailyBaseReader
from pandas_datareader.yahoo._headers import DEFAULT_HEADERS
from pandas_datareader.yahoo.headers import DEFAULT_HEADERS


class YahooDailyReader(_DailyBaseReader):
Expand Down
File renamed without changes.
2 changes: 1 addition & 1 deletion pandas_datareader/yahoo/quotes.py
Expand Up @@ -5,7 +5,7 @@

from pandas_datareader.base import _BaseReader
from pandas_datareader.compat import string_types
from pandas_datareader.yahoo._headers import DEFAULT_HEADERS
from pandas_datareader.yahoo.headers import DEFAULT_HEADERS

_DEFAULT_PARAMS = {
"lang": "en-US",
Expand Down