performance_metrics#

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

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

Render performance metrics table.

  • 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]) –

    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