v0.7.0
This is a major release from 0.6.0
, and all users are recommended to upgrade.
New features
- Adds a transaction timing plot, which gives insight into the strategies' trade times.
- Adds a plot showing the number of longs and shorts held over time.
- New round trips plot selects a sample of held positions (16 by default) and shows their round trips. This replaces the old round trip plot, which became unreadable for strategies that traded many positions.
- Adds basic capability for analyzing intraday strategies. If a strategy makes a large amount of transactions relative to its end-of-day positions, then pyfolio will attempt to reconstruct the intraday positions, take the point of peak exposure to the market during each day, and plot that data with the positions tear sheet. By default pyfolio will automatically detect this, but the behavior can be changed by passing either
estimate_intraday=True
orestimate_intraday=False
to the tear sheet functions (see here). - Now formats zipline assets, displaying their ticker symbol.
- Gross leverage is no longer required to be passed, and will now be calculated from the passed positions DataFrame.
Bugfixes
- Cone plotting location is now correct.
- Adjust scaling of beta and Fama-French plots.
- Removed multiple dependencies, some of which were previously unused.
- Various text fixes.