Skip to content

Commit acc4c6c

Browse files
committed
Removed morningstar
1 parent a336a8e commit acc4c6c

File tree

9 files changed

+9
-391
lines changed

9 files changed

+9
-391
lines changed

docs/source/readers/index.rst

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,6 @@ Data Readers
1212
eurostat
1313
iex
1414
moex
15-
morningstar
1615
nasdaq-trader
1716
oecd
1817
quandl

docs/source/readers/morningstar.rst

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

pandas_datareader/__init__.py

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,12 @@
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_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, get_quote_yahoo, get_recent_iex,
9-
get_records_iex, get_summary_iex, get_tops_iex,
10-
get_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_data_alphavantage)
1110

1211
__version__ = get_versions()['version']
1312
del get_versions
@@ -19,6 +18,6 @@
1918
'get_markets_iex', 'get_recent_iex', 'get_records_iex',
2019
'get_summary_iex', 'get_tops_iex',
2120
'get_nasdaq_symbols', 'get_data_quandl', 'get_data_moex',
22-
'get_data_fred', 'get_dailysummary_iex', 'get_data_morningstar',
21+
'get_data_fred', 'get_dailysummary_iex',
2322
'get_data_stooq', 'DataReader', 'Options',
2423
'get_data_tiingo', 'get_data_alphavantage']

pandas_datareader/data.py

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,6 @@
2020
from pandas_datareader.iex.tops import LastReader as IEXLasts, \
2121
TopsReader as IEXTops
2222
from pandas_datareader.moex import MoexReader
23-
from pandas_datareader.mstar.daily import MorningstarDailyReader
2423
from pandas_datareader.nasdaq_trader import get_nasdaq_symbols
2524
from pandas_datareader.oecd import OECDReader
2625
from pandas_datareader.quandl import QuandlReader
@@ -42,7 +41,7 @@
4241
'get_tops_iex', 'get_summary_iex', 'get_records_iex',
4342
'get_recent_iex', 'get_markets_iex', 'get_last_iex',
4443
'get_iex_symbols', 'get_iex_book', 'get_dailysummary_iex',
45-
'get_data_morningstar', 'get_data_stooq','get_data_robinhood',
44+
'get_data_stooq', 'get_data_robinhood',
4645
'get_quotes_robinhood', 'DataReader']
4746

4847

@@ -98,10 +97,6 @@ def get_last_iex(*args, **kwargs):
9897
return IEXLasts(*args, **kwargs).read()
9998

10099

101-
def get_data_morningstar(*args, **kwargs):
102-
return MorningstarDailyReader(*args, **kwargs).read()
103-
104-
105100
def get_data_robinhood(*args, **kwargs):
106101
return RobinhoodHistoricalReader(*args, **kwargs).read()
107102

@@ -293,7 +288,7 @@ def DataReader(name, data_source=None, start=None, end=None,
293288
expected_source = ["yahoo", "iex", "iex-tops", "iex-last",
294289
"iex-last", "bankofcanada", "stooq", "iex-book",
295290
"enigma", "fred", "famafrench", "oecd", "eurostat",
296-
"nasdaq", "quandl", "moex", "morningstar", 'robinhood',
291+
"nasdaq", "quandl", "moex", 'robinhood',
297292
"tiingo", "yahoo-actions", "yahoo-dividends",
298293
"av-forex", "av-daily", "av-daily-adjusted",
299294
"av-weekly", "av-weekly-adjusted", "av-monthly",
@@ -375,10 +370,6 @@ def DataReader(name, data_source=None, start=None, end=None,
375370
return MoexReader(symbols=name, start=start, end=end,
376371
retry_count=retry_count, pause=pause,
377372
session=session).read()
378-
elif data_source == "morningstar":
379-
return MorningstarDailyReader(symbols=name, start=start, end=end,
380-
retry_count=retry_count, pause=pause,
381-
session=session, interval="d").read()
382373
elif data_source == 'robinhood':
383374
return RobinhoodHistoricalReader(symbols=name, start=start, end=end,
384375
retry_count=retry_count, pause=pause,

pandas_datareader/mstar/__init__.py

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

pandas_datareader/mstar/daily.py

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

pandas_datareader/tests/mstar/__init__.py

Whitespace-only changes.

0 commit comments

Comments
 (0)