You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 26, 2022. It is now read-only.
As documented here: #73
You have to use pip install empyrical==0.2.2 otherwise I get the error ImportError: cannot import name information_ratio
So I did and it solved that specific error.
What happened instead?
Now I get the error {AttributeError}module 'empyrical.utils' has no attribute 'default_returns_func'
Reproduction Steps
run pip install pyfolio
run pip install empyrical==0.2.2
Taking perf from catalyst def analyze, run import pyfolio and then pyfolio.create_full_tear_sheet(perf.returns, positions=perf.positions, transactions=perf.transactions)
What steps have you taken to resolve this already?
In this issue quantopian/zipline#1855
It seems they solved this problem, which doesn't require downgrading empyrical.
Dear Catalyst Maintainers,
Description of Issue
Trying to use pyfolio with catalyst.
Specifically, the Full tear sheet report like in this example:
https://quantopian.github.io/pyfolio/notebooks/zipline_algo_example/
As documented here:
#73
You have to use
pip install empyrical==0.2.2
otherwise I get the errorImportError: cannot import name information_ratio
So I did and it solved that specific error.
What happened instead?
Now I get the error
{AttributeError}module 'empyrical.utils' has no attribute 'default_returns_func'
Reproduction Steps
pip install pyfolio
pip install empyrical==0.2.2
perf
from catalystdef analyze
, runimport pyfolio
and thenpyfolio.create_full_tear_sheet(perf.returns, positions=perf.positions, transactions=perf.transactions)
What steps have you taken to resolve this already?
In this issue
quantopian/zipline#1855
It seems they solved this problem, which doesn't require downgrading
empyrical
.Here is another user having the same problem as I do:
quantopian/empyrical#91
Anything else?
Catalyst should have documentation on adding pyfolio as it really seems as a great tool for visualizing the results.
The text was updated successfully, but these errors were encountered: