Skip to main content

plot_cumulative_returns

Creates a cumulative returns chart using Plotly.

plot_distribution_of_daily_pnl

Histogram of the strategy’s daily PnL.

plot_distribution_of_daily_returns

Histogram of the strategy’s daily returns.

plot_distribution_of_monthly_pnl

Histogram of the strategy’s monthly PnL.

plot_distribution_of_monthly_returns

Histogram of the strategy’s monthly returns.

plot_distribution_of_weekly_pnl

Histogram of the strategy’s weekly PnL.

plot_distribution_of_weekly_returns

Histogram of the strategy’s weekly returns.

plot_eoy_returns

Plots cumulative returns for each year starting from 0. Parameters Returns

plot_equity

Create an equity chart with equity and drawdown on the same x-axis. Parameters Returns: go.Figure: A Plotly figure with equity and drawdown.

plot_cumulative_fees

Line chart of cumulative fees over the life of the simulation. Parameters Returns

plot_fee_impact_on_equity

Overlay post-fee equity with its no-fee counterfactual. The no-fee curve is synthesised from a single strategy run as initial_equity + cumsum(pulse_total_pnl_history), since pulse_total_pnl_history is the gross (pre-fee) per-pulse PnL. The gap between the two curves at any point equals the cumulative fees charged up to that pulse. Parameters Returns

plot_pulse_fees_history

Bar chart of per-pulse fees charged across the simulation. Parameters Returns

plot_monthly_returns_heatmap

Generates a heatmap of monthly returns per year. Parameters Returns

plot_pnl_decomposition

Cumulative PnL by greek, with the actual cumulative PnL drawn over it. Each line is the running sum of one pnl_decomposition driver, so where it ends is what that greek (or the unexplained residual) contributed over the run. The legend carries those totals, largest first, and the drivers add up to the actual line. Parameters Returns

plot_trade_duration_histogram

Plot a histogram of trade durations for a strategy. Parameters Returns: go.Figure: The Plotly figure object.

plot_trades_history

Plot the history of trades for a strategy. Parameters Returns

plot_trades_on_front_future

Plot trades on the front future of a strategy. Parameters Returns

plot_rolling_sharpe_ratio

Create a rolling Sharpe ratio chart using Plotly. Parameters Returns: go.Figure: A Plotly figure with rolling Sharpe ratio.

plot_rolling_sortino_ratio

Create a rolling Sortino ratio chart using Plotly. Parameters Returns: go.Figure: A Plotly figure with rolling Sortino ratio.

plot_rolling_volatility

Create a rolling volatility chart using Plotly. Parameters Returns: go.Figure: A Plotly figure with rolling volatility.
Last modified on November 4, 2026