class_docstr: Base strategy for trading
class_docstr_tok: ["Base","strategy","for","trading"]
docstr: - reset `level_infra`, used to reset trade calendar, .etc
  - reset `common_infra`, used to reset `trade_account`, `trade_exchange`, .etc
  - reset `outer_trade_decision`, used to make split decision
  
  **NOTE**:
  split this function into `reset` and `_reset` will make following cases more convenient
  1. Users want to initialize his strategy by overriding `reset`, but they don't want to affect the `_reset`
  called when initialization
docstr_tok: ["-","reset","`","level_infra","`",",","used","to","reset","trade","calendar",",",".etc","-","reset","`","common_infra","`",",","used","to","reset","`","trade_account","`",",","`","trade_exchange","`",",",".etc","-","reset","`","outer_trade_decision","`",",","used","to","make","split","decision","*","*","NOTE","*","*",":","split","this","function","into","`","reset","`","and","`","_reset","`","will","make","following","cases","more","convenient","1",".","Users","want","to","initialize","his","strategy","by","overriding","`","reset","`",",","but","they","do","n't","want","to","affect","the","`","_reset","`","called","when","initialization"]
code: def reset(
      self,
      level_infra: LevelInfrastructure = None,
      common_infra: CommonInfrastructure = None,
      outer_trade_decision: BaseTradeDecision = None,
      **kwargs,
  ) -> None:
      """
      - reset `level_infra`, used to reset trade calendar, .etc
      - reset `common_infra`, used to reset `trade_account`, `trade_exchange`, .etc
      - reset `outer_trade_decision`, used to make split decision
  
      **NOTE**:
      split this function into `reset` and `_reset` will make following cases more convenient
      1. Users want to initialize his strategy by overriding `reset`, but they don't want to affect the `_reset`
      called when initialization
      """
      self._reset(
          level_infra=level_infra,
          common_infra=common_infra,
          outer_trade_decision=outer_trade_decision,
      )
  
imports: from __future__ import annotations
  from abc import ABCMeta, abstractmethod
  from typing import Any, Generator, Optional, TYPE_CHECKING, Union
  from typing import Tuple
  from ..backtest.decision import BaseTradeDecision
  from ..backtest.utils import CommonInfrastructure, LevelInfrastructure, TradeCalendarManager
  from ..rl.interpreter import ActionInterpreter, StateInterpreter
  from ..utils import init_instance_by_config
label_desc: Use image node_id 8 for calling the BaseStrategy obj's underlying member method code with example usage: obj.reset(level_infra, common_infra, outer_trade_decision) without return types