pyfolio icon indicating copy to clipboard operation
pyfolio copied to clipboard

UserWarning: Module "zipline.assets" not found; multipliers will not be applied to position notionals.

Open sokol11 opened this issue 5 years ago • 14 comments

This warning seems to come up on import pyfolio:

python3.8/site-packages/pyfolio/pos.py:26: UserWarning: Module "zipline.assets" not found; multipliers will not be applied to position notionals.

I am running python 3.8 and the latest pyfolio installed from master. I do not have zipline installed.

sokol11 avatar Aug 08 '20 07:08 sokol11

Having the same issue.

sorenrood avatar Sep 17 '20 18:09 sorenrood

Same issue here and I have tried to install zipline as well but can't solve it.

wuxx1016 avatar Oct 01 '20 02:10 wuxx1016

Same issue here

pseudonaut avatar Oct 16 '20 06:10 pseudonaut

Same issue here

>>> import pyfolio as pf
/usr/local/lib/python3.8/site-packages/pyfolio/pos.py:26: UserWarning: Module "zipline.assets" not found; multipliers will not be applied to position notionals.
  warnings.warn(

Victorcorcos avatar Oct 25 '20 19:10 Victorcorcos

I'm currently fixing this annoying warning message with this...

>>> import warnings
>>> warnings.filterwarnings('ignore')
>>> 
>>> import pyfolio as pf

But I know it is definitely not ideal.

Victorcorcos avatar Oct 25 '20 19:10 Victorcorcos

This warning seems to come up on

pf.create_full_tear_sheet(portfolioreturns,benchmark_rets=benchmarkreturns)

Do you have any ideas how to fix the issue?

matteo971 avatar Oct 27 '20 13:10 matteo971

Having the same issue!

Is anyone even tracking this?!

rkohli3 avatar Dec 04 '20 02:12 rkohli3

same issue here, using backtrader pf.create_full_tear_sheet(returns, positions=positions, transactions=transactions, gross_lev=gross_lev, live_start_date='2008-12-12', round_trips=True)

rarepepi avatar Dec 13 '20 16:12 rarepepi

Quantopian's Zipline needs to be installed first.... unfortunately the version is not for Python 3.8 but 3..7 and below.

mpanduran avatar Dec 25 '20 02:12 mpanduran

Same issue here. Zipline can't be installed for Python 3.8

Northern125 avatar May 05 '21 12:05 Northern125

Having the same issue.

schefizer avatar Aug 17 '21 05:08 schefizer

same issue here

jpestavillo avatar Apr 12 '22 17:04 jpestavillo

Having the same issue!

Is anyone even tracking this?!

Having the same issue!

pyfolio/pos.py:26: UserWarning: Module "zipline.assets" not found; mutltipliers will not be applied to position notionals.

Yonv1943 avatar Jan 27 '23 04:01 Yonv1943

same issue, Would be very helpful if any geek share his experience. Thanks

Manigandankk avatar Oct 31 '23 06:10 Manigandankk