quantopian / pyfolio

Portfolio and risk analytics in Python
https://quantopian.github.io/pyfolio
Apache License 2.0
5.71k stars 1.78k forks source link

Empyrical backwards compat #628

Closed richafrank closed 4 years ago

richafrank commented 4 years ago

@twiecki It looks like the only effect of a downgraded empyrical is that newer columns ('tilt_returns', 'timing_returns') are missing from perf_attrib output. pyfolio itself works fine with the older empyrical (except for the tests that need compat here).

Adding the backwards compat enables some of our existing environments to use newest pyfolio without yet upgrading empyrical. We'll do that too, but this decouples the two tasks.