You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/source/remote_data.rst
+3-45Lines changed: 3 additions & 45 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -17,15 +17,16 @@
17
17
Remote Data Access
18
18
******************
19
19
20
+
.. warning::
21
+
22
+
Yahoo! Finance and Google Finance hav been immediately deprecated. Endpoints from both providers have been retired
20
23
21
24
.. _remote_data.data_reader:
22
25
23
26
Functions from :mod:`pandas_datareader.data` and :mod:`pandas_datareader.wb`
24
27
extract data from various Internet sources into a pandas DataFrame.
25
28
Currently the following sources are supported:
26
29
27
-
- :ref:`Yahoo! Finance<remote_data.yahoo>`
28
-
- :ref:`Google Finance<remote_data.google>`
29
30
- :ref:`Tiingo<remote_data.tiingo>`
30
31
- :ref:`Morningstar<remote_data.morningstar>`
31
32
- :ref:`IEX<remote_data.iex>`
@@ -45,49 +46,6 @@ Currently the following sources are supported:
45
46
46
47
It should be noted, that various sources support different kinds of data, so not all sources implement the same methods and the data elements returned might also differ.
47
48
48
-
.. _remote_data.yahoo:
49
-
50
-
Yahoo! Finance
51
-
==============
52
-
53
-
.. ipython:: python
54
-
55
-
import pandas_datareader.data as web
56
-
import datetime
57
-
start = datetime.datetime(2010, 1, 1)
58
-
end = datetime.datetime(2013, 1, 27)
59
-
f = web.DataReader('F', 'yahoo', start, end)
60
-
f.ix['2010-01-04']
61
-
62
-
63
-
.. ipython:: python
64
-
65
-
import pandas_datareader.data as web
66
-
aapl = web.get_quote_yahoo('AAPL')
67
-
aapl.loc['AAPL']
68
-
69
-
70
-
.. _remote_data.google:
71
-
72
-
73
-
Google Finance
74
-
==============
75
-
76
-
.. warning::
77
-
78
-
Google'a API has become less reliable during 2017. While the google
79
-
datareader often works as expected, it is not uncommon to experience
80
-
a range of errors when attempting to read data, especially in bulk.
Copy file name to clipboardExpand all lines: docs/source/whatsnew/v0.7.0.txt
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -3,9 +3,14 @@
3
3
v0.7.0 (Xxxxxxx YY, 20ZZ)
4
4
---------------------------
5
5
6
+
.. warning::
7
+
8
+
Google finance for historical price data has been immediately deprecated.
9
+
6
10
7
11
Highlights include:
8
12
13
+
- Immediate deprecation of Google finance for historical price data, as these API endpoints are no longer supported by the provider. Alternate methods are welcome via pull requests, as PDR would like to restore these features.
9
14
10
15
.. contents:: What's new in v0.7.0
11
16
:local:
@@ -42,6 +47,8 @@ Enhancements
42
47
43
48
Backwards incompatible API changes
44
49
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
50
+
51
+
- Deprecation of Google finance daily reader. Google retired the remaining financial data end point in June 2018. It is not possible to reliably retrieve historical price data without this endpoint. The Google daily reader will raise an `ImmediateDeprecationError` when called.
45
52
- When requesting multiple symbols from a DailyReader (ex: google, yahoo, IEX)
46
53
a MultiIndex DataFrame is now returned. Previously Panel or dict of DataFrames
0 commit comments