equity_curve#

API documentation for tradeexecutor.strategy.chart.standard.equity_curve.equity_curve Python function.

equity_curve(input, max_benchmark_count=4, benchmark_token_symbols=None)[source]#

Render equity curve for the strategy.

  • Render the backtesting or live trade equity curve based on the state

Parameters:
  • max_benchmark_count – Max number of benchmark assets

  • benchmark_token_symbols (list[str] | None) –

    What tokens we wish to show in the equity curve as a benchmark.

    Must have a corresponding price data loaded in the strategy universe.

  • input (ChartInput) –

Returns:

Equity curve figure

Return type:

Figure