quantopian / alphalens

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

Unable to work with pyfolio integration #403

Open Akshat111111 opened 1 year ago

Akshat111111 commented 1 year 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))