class_docstr: Base strategy for trading
class_docstr_tok: ["Base","strategy","for","trading"]
docstr: update trade decision in each step of inner execution, this method enable all order
  
  Parameters
  ----------
  trade_decision : BaseTradeDecision
      the trade decision that will be updated
  trade_calendar : TradeCalendarManager
      The calendar of the **inner strategy**!!!!!
  
  Returns
  -------
      BaseTradeDecision:
docstr_tok: ["update","trade","decision","in","each","step","of","inner","execution",",","this","method","enable","all","order","Parameters","--","--","--","--","--","trade_decision",":","BaseTradeDecision","the","trade","decision","that","will","be","updated","trade_calendar",":","TradeCalendarManager","The","calendar","of","the","*","*","inner","strategy","*","*","!","!","!","!","!","Returns","--","--","--","-","BaseTradeDecision",":"]
code: def update_trade_decision(
      trade_decision: BaseTradeDecision,
      trade_calendar: TradeCalendarManager,
  ) -> Optional[BaseTradeDecision]:
      """
      update trade decision in each step of inner execution, this method enable all order
  
      Parameters
      ----------
      trade_decision : BaseTradeDecision
          the trade decision that will be updated
      trade_calendar : TradeCalendarManager
          The calendar of the **inner strategy**!!!!!
  
      Returns
      -------
          BaseTradeDecision:
      """
      # default to return None, which indicates that the trade decision is not changed
      return None
  
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 12 for calling the BaseStrategy obj's underlying member method code with example usage: obj.update_trade_decision(trade_decision, trade_calendar) and returns: None