Open gusgordon opened 7 years ago
@kitovh has expressed interest in looking into this! Duplicate of #456.
I took a cursory glance at the code, and this issue looks like it'll take more reading than writing code. Unfortunately I'm not free right now to whip up a PR, but I'd be happy to help anyone who wants to take this up.
returns.plot()
, and then adding legends, colors, etc. afterwards if necessary. This way, all graphs will have x tick labels with the correct time period. It looks like most pyfolio functions are already doing this, but it would be good to make sure they all did.freq
argument of the DatetimeIndex
in the input dataframes.Thoughts?
Currently, we only officially support daily returns and positions streams. Some tear sheets and plots work okay with other frequencies of data (e.g. monthly). Other plots and performance functions, namely the beta and Fama-French factors, will fail to compute accurate measures because they compare their daily reference data to whatever is thrown at them.
It would definitely be useful to support different frequencies if we can do it in a way that's elegant. I'm not sure what the best way to do this is, open for input and help.