quantopian / alphalens

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

Tutorials Not working - needs updating #355

Open zbanga opened 4 years ago

zbanga commented 4 years ago

Problem Description

Please provide a minimal, self-contained, and reproducible example:

pan = web.DataReader(tickers, "google", datetime.datetime(2015, 1, 1),  datetime.datetime(2017, 1, 1))

Currently, DataReader is depreciated and instead "yahoo" needs to be used. 

pan = pan.transpose( (1, 0, 2)

Currently needs to be changed to tranposed()

Versions