Skip to main content
pulse.charts ships ready-made Plotly figures for a finished run. Every plot_* function takes the finished strategy and returns a plotly.graph_objects.Figure, so you can display it, tweak its layout, or write it out:
The figures are styled with the Allasso Plotly template already, so they match the look of the HTML report without further setup.

The catalogue

Performance
  • plot_equity
  • plot_cumulative_returns
  • plot_eoy_returns
  • plot_monthly_returns_heatmap
Trades
  • plot_trades_history
  • plot_trades_on_front_future
  • plot_trade_duration_histogram
Distributions
  • plot_distribution_of_daily_pnl
  • plot_distribution_of_daily_returns
  • plot_distribution_of_weekly_pnl
  • plot_distribution_of_weekly_returns
  • plot_distribution_of_monthly_pnl
  • plot_distribution_of_monthly_returns
Rolling
  • plot_rolling_sharpe_ratio
  • plot_rolling_sortino_ratio
  • plot_rolling_volatility
Fees
  • plot_cumulative_fees
  • plot_fee_impact_on_equity
  • plot_pulse_fees_history
Greeks
  • plot_pnl_decomposition
ImportingAll of the above are exported from the pulse.charts package, so from pulse.charts import plot_equity, plot_rolling_sharpe_ratio works directly.

Overlay several strategies on one figure

The built-in plot_* helpers draw a single strategy. To compare runs (for example a parameter sweep), build your own Figure and add one trace per result from its portfolio.datetimes and portfolio.equity_history. Set template="allasso" to keep the house styling:
portfolio.datetimes and portfolio.equity_history are aligned one value per pulse, so they plot directly against each other. equity_history is post-fee (the money in the account); see Portfolio, equity and PnL if you need the gross series instead. Related: Reading results · Run a parameter sweep · Portfolio, equity and PnL
Last modified on November 4, 2026