class_docstr: The correctness of the metrics of Account in nested execution depends on the shallow copy of `trade_account` in
  qlib/backtest/executor.py:NestedExecutor
  Different level of executor has different Account object when calculating metrics. But the position object is
  shared cross all the Account object.
docstr: reset freq and report of account
  
  Parameters
  ----------
  freq : str, optional
      frequency of account & report, by default None
  benchmark_config : {}, optional
      benchmark config of report, by default None
  port_metr_enabled: bool
docstr_tok: ["reset","freq","and","report","of","account","Parameters","--","--","--","--","--","freq",":","str",",","optional","frequency","of","account","&","report",",","by","default","None","benchmark_config",":","{","}",",","optional","benchmark","config","of","report",",","by","default","None","port_metr_enabled",":","bool"]
code: def reset(
      self,
      freq: str | None = None,
      benchmark_config: dict | None = None,
      port_metr_enabled: bool | None = None,
  ) -> None:
      """reset freq and report of account
  
      Parameters
      ----------
      freq : str, optional
          frequency of account & report, by default None
      benchmark_config : {}, optional
          benchmark config of report, by default None
      port_metr_enabled: bool
      """
      if freq is not None:
          self.freq = freq
      if benchmark_config is not None:
          self.benchmark_config = benchmark_config
      if port_metr_enabled is not None:
          self._port_metr_enabled = port_metr_enabled
  
      self.reset_report(self.freq, self.benchmark_config)
  
imports: from __future__ import annotations
  import copy
  from typing import Dict, List, Optional, Tuple, cast
  import pandas
  from qlib.utils import init_instance_by_config
  from .decision import BaseTradeDecision, Order
  from .exchange import Exchange
  from .high_performance_ds import BaseOrderIndicator
  from .position import BasePosition
  from .report import Indicator, PortfolioMetrics
label_desc: Use image node_id 5 for calling the Account obj's underlying member method code with example usage: obj.reset(freq, benchmark_config, port_metr_enabled) without return types