pyfolio v0.7.0 Release Notes

Release Date: 2017-01-27 // about 7 years ago
  • ๐Ÿš€ 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 or estimate_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.