quantopian / alphalens

Performance analysis of predictive (alpha) stock factors
http://quantopian.github.io/alphalens
Apache License 2.0
3.29k stars 1.14k forks source link

Unable to work with pyfolio integration #403

Open Akshat111111 opened 11 months ago

Akshat111111 commented 11 months ago

Problem Description

/usr/local/lib/python3.10/dist-packages/pandas_datareader/data.py in DataReader(name, data_source, start, end, retry_count, pause, session, api_key) 365 if data_source not in expected_source: 366 msg = "data_source=%r is not implemented" % data_source --> 367 raise NotImplementedError(msg) 368 369 if data_source == "yahoo":

NotImplementedError: data_source='AAP' is not implemented

CODE

import pandas_datareader.data as web pan = web.DataReader(tickers, "AAP", datetime.datetime(2015, 1, 1), datetime.datetime(2017, 1, 1))