Closed hkopp closed 7 years ago
Thanks for pointing this out - seems like you're right.
If you tell me against which branch I should do my pull-request, then I can fix it myself.
Awesome, thanks! You can just use master, it's up to date.
Went back and investigated this - the issue here is not with rolling
being time-series aware, but that the method wasn't yet added to Series
. This happened in 0.18
, so >=0.18
should be fine, 0.17.0
won't work.
http://pandas.pydata.org/pandas-docs/version/0.18.0/whatsnew.html#window-functions-are-now-methods
Everything works up to the command
pf.create_full_tear_sheet(returns, positions=positions, transactions=transactions, live_start_date='2009-10-22', round_trips=True)
There, i get the following error:
I strongly assume the problem is, that rolling is time-series aware since pandas 0.19.0 see here, but in the setup.py pyfolio only requires 'pandas>=0.18.0'
My current version of pandas is 0.17.0 My version of pyfolio is: