Closed yehoshuadimarsky closed 7 years ago
Hi, thanks for the report. Can you try downgrading to empyrical 0.2.2 (pip install empyrical==0.2.2
)? Pyfolio as a whole is buggy right now, since we are waiting for pandas_datareader
to get fixed.
Worked, thanks.
This is still an issue with the latest empyrical.
Using empyrical 0.4.3 and still getting this issue.
0.5.3 still an issue
Hi @sokol11 , information_ratio
was removed from empyrical and then from pyfolio in v0.8.0 (released Aug 23, 2017). It sounds like you have an old version of pyfolio that still depends on information_ratio
.
When calling pyfolio.create_returns_tear_sheet(), I get this AttributeError:
Here's my config:
I looked at the source code of empyrical, can't find a module or actually anything called 'information_ratio.' Closest I could find is in the docstring for the Sharpe ratio mentioning it's a simplified version of information ratio. Looks like a big bug, as create_returns_tear_sheet() is a core function in pyfolio. Please advise.