class_docstr: Base strategy for trading
class_docstr_tok: ["Base","strategy","for","trading"]
docstr: Generate trade decision in each trading bar
  
  Parameters
  ----------
  execute_result : List[object], optional
      the executed result for trade decision, by default None
  
      - When call the generate_trade_decision firstly, `execute_result` could be None
docstr_tok: ["Generate","trade","decision","in","each","trading","bar","Parameters","--","--","--","--","--","execute_result",":","List","[","object","]",",","optional","the","executed","result","for","trade","decision",",","by","default","None","-","When","call","the","generate_trade_decision","firstly",",","`","execute_result","`","could","be","None"]
code: def generate_trade_decision(
      self,
      execute_result: list = None,
  ) -> Union[BaseTradeDecision, Generator[Any, Any, BaseTradeDecision]]:
      """Generate trade decision in each trading bar
  
      Parameters
      ----------
      execute_result : List[object], optional
          the executed result for trade decision, by default None
  
          - When call the generate_trade_decision firstly, `execute_result` could be None
      """
      raise NotImplementedError(
          "generate_trade_decision is not implemented!"
      )
  
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 10 for calling the BaseStrategy obj's underlying member method code with example usage: obj.generate_trade_decision(execute_result) without return types