Skip to content

Commit c47efbe

Browse files
authored
Merge pull request #798 from bashtage/remove-robinhood
MAINT: Remove robinhood
2 parents 102febb + 4d88ab4 commit c47efbe

File tree

6 files changed

+4
-294
lines changed

6 files changed

+4
-294
lines changed

.travis.yml

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -40,15 +40,13 @@ matrix:
4040
install:
4141
- source ci/pypi-install.sh;
4242
- pip list
43-
- python setup.py install
43+
- pip install . --no-build-isolation -v
4444

4545
script:
4646
- if [[ -n "${TEST_TYPE+x}" ]]; then export MARKERS="-m ${TEST_TYPE}"; fi
4747
- pytest -v -s -r xX "${MARKERS}" --cov-config .coveragerc --cov=pandas_datareader --cov-report xml:/tmp/cov-datareader.xml --junitxml=/tmp/datareader.xml
48-
- |
49-
if (( $(echo "$TRAVIS_PYTHON_VERSION > 3.5" | bc -l) )); then
50-
black --check pandas_datareader
51-
fi
48+
- black --version
49+
- black --check pandas_datareader
5250
- flake8 --version
5351
- flake8 pandas_datareader
5452
- |

README.rst

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -22,17 +22,6 @@ Up to date remote data access for pandas, works for multiple versions of pandas.
2222
:target: https://github.com/psf/black
2323

2424

25-
.. warning::
26-
27-
v0.8.0 is the last version which officially supports Python 2.7. Future versions of
28-
``pandas_datareader`` will end support for Python 2.x.
29-
30-
.. warning::
31-
32-
As of v0.8.0 Robinhood has been immediately deprecated due to
33-
large changes in their API and no stable replacement.
34-
35-
3625
Usage
3726
-----
3827

docs/source/remote_data.rst

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,10 +21,6 @@ Remote Data Access
2121

2222
The ``access_key`` keyword argument of ``DataReader`` has been deprecated in favor of ``api_key``.
2323

24-
.. warning::
25-
26-
Robinhood has been immediately deprecated. Endpoints from this provider have been retired.
27-
2824
.. _remote_data.data_reader:
2925

3026
Functions from :mod:`pandas_datareader.data` and :mod:`pandas_datareader.wb`

pandas_datareader/data.py

Lines changed: 1 addition & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -32,20 +32,14 @@
3232
from pandas_datareader.nasdaq_trader import get_nasdaq_symbols
3333
from pandas_datareader.oecd import OECDReader
3434
from pandas_datareader.quandl import QuandlReader
35-
from pandas_datareader.robinhood import (
36-
RobinhoodHistoricalReader,
37-
RobinhoodQuoteReader,
38-
)
3935
from pandas_datareader.stooq import StooqDailyReader
4036
from pandas_datareader.tiingo import (
4137
TiingoDailyReader,
4238
TiingoIEXHistoricalReader,
4339
TiingoQuoteReader,
4440
)
4541
from pandas_datareader.yahoo.actions import YahooActionReader, YahooDivReader
46-
from pandas_datareader.yahoo.components import (
47-
_get_data as get_components_yahoo,
48-
)
42+
from pandas_datareader.yahoo.components import _get_data as get_components_yahoo
4943
from pandas_datareader.yahoo.daily import YahooDailyReader
5044
from pandas_datareader.yahoo.options import Options as YahooOptions
5145
from pandas_datareader.yahoo.quotes import YahooQuotesReader
@@ -71,8 +65,6 @@
7165
"get_iex_book",
7266
"get_dailysummary_iex",
7367
"get_data_stooq",
74-
"get_data_robinhood",
75-
"get_quotes_robinhood",
7668
"DataReader",
7769
]
7870

@@ -129,14 +121,6 @@ def get_last_iex(*args, **kwargs):
129121
return IEXLasts(*args, **kwargs).read()
130122

131123

132-
def get_data_robinhood(*args, **kwargs):
133-
return RobinhoodHistoricalReader(*args, **kwargs).read()
134-
135-
136-
def get_quotes_robinhood(*args, **kwargs):
137-
return RobinhoodQuoteReader(*args, **kwargs).read()
138-
139-
140124
def get_data_tiingo(*args, **kwargs):
141125
return TiingoDailyReader(*args, **kwargs).read()
142126

@@ -367,7 +351,6 @@ def DataReader(
367351
"nasdaq",
368352
"quandl",
369353
"moex",
370-
"robinhood",
371354
"tiingo",
372355
"yahoo-actions",
373356
"yahoo-dividends",
@@ -530,15 +513,6 @@ def DataReader(
530513
pause=pause,
531514
session=session,
532515
).read()
533-
elif data_source == "robinhood":
534-
return RobinhoodHistoricalReader(
535-
symbols=name,
536-
start=start,
537-
end=end,
538-
retry_count=retry_count,
539-
pause=pause,
540-
session=session,
541-
).read()
542516
elif data_source == "tiingo":
543517
return TiingoDailyReader(
544518
symbols=name,

pandas_datareader/robinhood.py

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

pandas_datareader/tests/test_robinhood.py

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

0 commit comments

Comments
 (0)