Skip to content

Commit 308d2e2

Browse files
authored
Merge branch 'master' into tiingo-add-iex
2 parents e4b3ad6 + c714918 commit 308d2e2

29 files changed

+206
-991
lines changed

.coveragerc

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ include = */pandas_datareader/*
66
omit =
77
*/_version.py
88
*/yahoo/*
9-
*/google/options.py
10-
*/google/quotes.py
11-
*/tests/google/test_options.py
129

1310

1411
[report]
@@ -25,7 +22,4 @@ include = */pandas_datareader/*
2522
omit =
2623
*/_version.py
2724
*/yahoo/*
28-
*/google/options.py
29-
*/google/quotes.py
30-
*/tests/google/test_options.py
3125
ignore_errors = True

docs/source/readers/econdb.rst

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
Econdb
2+
--------
3+
4+
.. py:module:: pandas_datareader.econdb
5+
6+
.. autoclass:: EcondbReader
7+
:members:
8+
:inherited-members:

docs/source/readers/enigma.rst

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
Engima
1+
Enigma
22
------
33

44
.. py:module:: pandas_datareader.enigma

docs/source/readers/index.rst

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,15 +8,14 @@ Data Readers
88
fred
99
famafrench
1010
bank-of-canada
11+
econdb
1112
enigma
1213
eurostat
1314
iex
1415
moex
15-
morningstar
1616
nasdaq-trader
1717
oecd
1818
quandl
19-
robinhood
2019
stooq
2120
tiingo
2221
tsp

docs/source/readers/morningstar.rst

Lines changed: 0 additions & 8 deletions
This file was deleted.

docs/source/remote_data.rst

Lines changed: 20 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -17,9 +17,11 @@
1717
Remote Data Access
1818
******************
1919

20+
2021
.. warning::
2122

22-
Yahoo! Finance, Google Finance, and Morningstar have been immediately deprecated. Endpoints from these providers have been retired
23+
Robinhood has been immediately deprecated. Endpoints from this provider
24+
have been retired.
2325

2426
.. _remote_data.data_reader:
2527

@@ -29,7 +31,6 @@ Currently the following sources are supported:
2931

3032
- :ref:`Tiingo<remote_data.tiingo>`
3133
- :ref:`IEX<remote_data.iex>`
32-
- :ref:`Robinhood<remote_data.robinhood>`
3334
- :ref:`Alpha Vantage<remote_data.alphavantage>`
3435
- :ref:`Enigma<remote_data.enigma>`
3536
- :ref:`Quandl<remote_data.quandl>`
@@ -94,21 +95,6 @@ A third interface to the deep API is exposed through
9495
f[:10]
9596
9697
97-
.. _remote_data.robinhood:
98-
99-
Robinhood
100-
=========
101-
`Robinhood <https://www.robinhood.com>`__ is a stock trading platform with an
102-
API that provides a limited set of data. Historical daily data is limited to 1
103-
year relative to today.
104-
105-
.. ipython:: python
106-
107-
import pandas_datareader.data as web
108-
from datetime import datetime
109-
f = web.DataReader('F', 'robinhood')
110-
f.head()
111-
11298
.. _remote_data.alphavantage:
11399

114100
Alpha Vantage
@@ -211,6 +197,23 @@ performances through the top-level function ``get_sector_performance_av``.
211197
212198
.. _remote_data.enigma:
213199

200+
Econdb
201+
======
202+
203+
`Econdb <https://www.econdb.com>`__ provides economic data from 90+
204+
official statistical agencies. Free API allows access to the complete
205+
Econdb database of time series aggregated into datasets.
206+
207+
.. ipython:: python
208+
209+
import os
210+
import pandas_datareader.data as web
211+
212+
f = web.DataReader('ticker=RGDPQNO', 'econdb')
213+
f.head()
214+
215+
.. _remote_data.econdb:
216+
214217
Enigma
215218
======
216219

docs/source/whatsnew.rst

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@ What's New
1818

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

21+
.. include:: whatsnew/v0.8.0.txt
2122
.. include:: whatsnew/v0.7.0.txt
2223
.. include:: whatsnew/v0.6.0.txt
2324
.. include:: whatsnew/v0.5.0.txt

docs/source/whatsnew/v0.8.0.txt

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,19 @@ v0.8.0 (TBD)
55

66
Highlights include:
77

8+
- A new connector for Econdb was introduced. Econdb provides
9+
aggregated economic data from 90+ official statistical agencies
10+
(:issue:`615`)
11+
- Removal of Google finance and Morningstar, which were deprecated in 0.7.0.
12+
- Immediate deprecation of Robinhood for quotes and historical data. Robinhood
13+
ended support for these endpoints in 1/2019
14+
15+
816
.. contents:: What's new in v0.8.0
917
:local:
1018
:backlinks: none
1119

20+
1221
.. _whatsnew_080.enhancements:
1322

1423
Enhancements
@@ -21,6 +30,9 @@ Enhancements
2130
Backwards incompatible API changes
2231
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
2332

33+
- Immediate deprecation of Robinhood for quotes and historical data. Robinhood
34+
ended support for these endpoints in 1/2019. The Robinhood quotes and daily
35+
readers will raise an ``ImmediateDeprecationError`` when called.
2436

2537

2638
.. _whatsnew_080.bug_fixes:

pandas_datareader/__init__.py

Lines changed: 10 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,25 +1,24 @@
11
from ._version import get_versions
22
from .data import (DataReader, Options, get_components_yahoo,
33
get_dailysummary_iex, get_data_enigma, get_data_famafrench,
4-
get_data_fred, get_data_google, get_data_moex,
5-
get_data_morningstar, get_data_quandl, get_data_stooq,
6-
get_data_yahoo, get_data_yahoo_actions, get_iex_book,
7-
get_iex_symbols, get_last_iex, get_markets_iex,
8-
get_nasdaq_symbols,
9-
get_quote_google, get_quote_yahoo, get_recent_iex,
10-
get_records_iex, get_summary_iex, get_tops_iex,
11-
get_data_tiingo, get_iex_data_tiingo, get_data_alphavantage)
4+
get_data_fred, get_data_moex, get_data_quandl,
5+
get_data_stooq, get_data_yahoo, get_data_yahoo_actions,
6+
get_iex_book, get_iex_symbols, get_last_iex,
7+
get_markets_iex, get_nasdaq_symbols, get_quote_yahoo,
8+
get_recent_iex, get_records_iex, get_summary_iex,
9+
get_tops_iex, get_data_tiingo, get_iex_data_tiingo,
10+
get_data_alphavantage)
1211

1312
__version__ = get_versions()['version']
1413
del get_versions
1514

1615
__all__ = ['__version__', 'get_components_yahoo', 'get_data_enigma',
17-
'get_data_famafrench', 'get_data_google', 'get_data_yahoo',
18-
'get_data_yahoo_actions', 'get_quote_google', 'get_quote_yahoo',
16+
'get_data_famafrench', 'get_data_yahoo',
17+
'get_data_yahoo_actions', 'get_quote_yahoo',
1918
'get_iex_book', 'get_iex_symbols', 'get_last_iex',
2019
'get_markets_iex', 'get_recent_iex', 'get_records_iex',
2120
'get_summary_iex', 'get_tops_iex',
2221
'get_nasdaq_symbols', 'get_data_quandl', 'get_data_moex',
23-
'get_data_fred', 'get_dailysummary_iex', 'get_data_morningstar',
22+
'get_data_fred', 'get_dailysummary_iex',
2423
'get_data_stooq', 'DataReader', 'Options',
2524
'get_data_tiingo', 'get_iex_data_tiingo', 'get_data_alphavantage']

pandas_datareader/av/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ def __init__(self, symbols=None, start=None, end=None, retry_count=3,
2828
if not api_key or not isinstance(api_key, str):
2929
raise ValueError('The AlphaVantage API key must be provided '
3030
'either through the api_key variable or '
31-
'through the environment varaible '
31+
'through the environment variable '
3232
'ALPHAVANTAGE_API_KEY')
3333
self.api_key = api_key
3434

0 commit comments

Comments
 (0)