# Equity Curve - Strategy Performance Visualization and Analysis

**Last Updated**: 2026-03-17
**Version**: 1.0.0

## How It Works

### Access the Equity Curve Viewer

Navigate to the Equity Curve page to visualize cumulative returns of your trading strategy over time. The viewer renders an interactive line chart showing how your initial capital would have grown or declined based on strategy performance during the backtest period.

### Load Strategy Backtest Data

Select the strategy and backtest run whose equity curve you want to examine. The viewer loads the complete trade history including entry/exit timestamps, position sizes, realized P&L per trade, and cumulative portfolio value at each time step.

### Examine the Cumulative Returns Line

The primary chart displays the cumulative equity line plotted against time. An upward-sloping line indicates net profitability, while a declining line signals losses. Look for the overall trajectory, the smoothness of the curve (smoother = more consistent returns), and any sudden vertical drops indicating large losing trades.

### Analyze Drawdown Periods

Identify drawdown regions where the equity curve dips below its previous peak. The depth of each drawdown shows maximum percentage loss from peak to trough, while the width shows recovery time. These metrics are critical for assessing whether the strategy's risk profile matches your tolerance.

### Review Key Performance Metrics

Examine summary statistics displayed alongside the chart: total return, annualized return, maximum drawdown, Sharpe ratio, Sortino ratio, win rate, and profit factor. These quantitative metrics complement the visual equity curve by providing precise numerical benchmarks for strategy evaluation.

### Compare Against Benchmarks

Overlay benchmark performance (e.g., buy-and-hold of the underlying instrument) against your strategy equity curve. This comparison reveals whether your strategy adds alpha beyond passive exposure and helps distinguish genuine strategy edge from broad market beta.

### Export or Share Results

Export the equity curve data in CSV format or capture chart screenshots for documentation. Use exports to perform additional analysis in external tools, compare across multiple strategy versions, or create reports for strategy review and optimization workflows.

> The Equity Curve viewer displays cumulative returns from backtesting. Performance metrics are calculated from historical simulations and reflect idealized execution conditions without slippage, commissions, or market impact unless explicitly configured.

## Tips & Best Practices

- Focus on the shape of the equity curve rather than just the final return number. A smooth, steadily rising curve with shallow drawdowns indicates a more robust strategy than one with the same total return achieved through a few large winning trades followed by deep losses.

- Pay close attention to maximum drawdown duration (time to recover from peak), not just drawdown depth. A 15% drawdown that recovers in 5 days is very different from a 15% drawdown that takes 6 months to recover, and your psychological tolerance may differ significantly between the two.

- Compare your strategy equity curve across different market regimes (bull, bear, sideways) by examining sub-periods. A strategy that only performs well in bull markets may be capturing beta rather than generating genuine alpha from its entry and exit logic.

- If the equity curve shows a dramatic improvement only in recent periods, be cautious of look-ahead bias or overfitting to recent data. Robust strategies show relatively consistent performance characteristics across the entire backtest timeline.

## Frequently Asked Questions

### What exactly does the equity curve represent?

The equity curve plots the cumulative value of your portfolio over time, starting from your initial capital. Each point reflects the portfolio value after all trades up to that timestamp are accounted for. It includes both realized profits (closed trades) and unrealized profits (open positions marked to market) to give a complete picture of strategy performance.

### How is maximum drawdown calculated?

Maximum drawdown measures the largest peak-to-trough decline in the equity curve before a new peak is reached. It is expressed as a percentage: (peak value - trough value) / peak value. For example, if your equity peaks at $110,000 then drops to $88,000 before recovering, the maximum drawdown is 20%. This is the single most important risk metric for evaluating strategy viability.

### What is a good Sharpe ratio for a trading strategy?

A Sharpe ratio above 1.0 is generally considered acceptable, above 1.5 is good, and above 2.0 is excellent for a backtest. However, backtest Sharpe ratios typically degrade by 30-50% in real market conditions due to execution costs, slippage, and regime changes. A backtest Sharpe of 2.0 may realistically produce 1.0-1.4 in out-of-sample validation. Compare against the benchmark Sharpe to assess relative performance.

### Can I overlay multiple strategy equity curves for comparison?

Yes, you can visualize multiple equity curves simultaneously on the same chart. This is useful for comparing different parameter sets of the same strategy, entirely different strategies, or your strategy versus a buy-and-hold benchmark. Overlaid curves share the same time axis and capital scale for direct visual comparison.

### Why does my equity curve look different from actual trade results?

Equity curves from backtesting assume idealized execution: instant fills at the signal price, no slippage, and consistent liquidity. Real trading introduces execution delays, bid-ask spreads, partial fills, and market impact. Additionally, the backtest may not account for corporate actions (splits, dividends) or data quality issues. Always treat backtest equity curves as optimistic estimates.

## Important Notes

> Equity curves are based on historical backtesting simulations and do not guarantee future performance. Past results reflect idealized conditions and may not account for execution costs, market impact, liquidity constraints, or regime changes. Always apply appropriate skepticism to backtest results.

---

Source: https://stratcraft.ai/help/equity-curve/