class_docstr: Nested Executor with inner strategy and executor
  - At each time `execute` is called, it will call the inner strategy and executor to execute the `trade_decision`
      in a higher frequency env.
docstr: reset infrastructure for trading
      - reset inner_strategy and inner_executor common infra
docstr_tok: ["reset","infrastructure","for","trading","-","reset","inner_strategy","and","inner_executor","common","infra"]
code: def reset_common_infra(
      self,
      common_infra: CommonInfrastructure,
      copy_trade_account: bool = False,
  ) -> None:
      """
      reset infrastructure for trading
          - reset inner_strategy and inner_executor common infra
      """
      # NOTE: please refer to the docs of BaseExecutor.reset_common_infra for the meaning of `copy_trade_account`
  
      # The first level follow the `copy_trade_account` from the upper level
      super(NestedExecutor, self).reset_common_infra(
          common_infra, copy_trade_account=copy_trade_account
      )
  
      # The lower level have to copy the trade_account
      self.inner_executor.reset_common_infra(
          common_infra, copy_trade_account=True
      )
      self.inner_strategy.reset_common_infra(common_infra)
  
imports: from __future__ import annotations
  import copy
  from abc import abstractmethod
  from collections import defaultdict
  from types import GeneratorType
  from typing import Any, Dict, Generator, List, Tuple, Union, cast
  import pandas
  from qlib.backtest.account import Account
  from qlib.backtest.position import BasePosition
  from qlib.log import get_module_logger
  from ..strategy.base import BaseStrategy
  from ..utils import init_instance_by_config
  from .decision import BaseTradeDecision, Order
  from .exchange import Exchange
  from .utils import CommonInfrastructure, LevelInfrastructure, TradeCalendarManager, get_start_end_idx
label_desc: Use image node_id 2 for calling the NestedExecutor obj's underlying member method code with example usage: obj.reset_common_infra(common_infra, copy_trade_account) without return types