docstr: Execute the orderlist at 'date'.
  
  Parameters
  ----------
     date : str (YYYY-MM-DD)
         Trade date, that the generated order list will be traded.
     exchange_config: str
         The file path (yaml) of exchange config
     path : str
         Path to save user account.
docstr_tok: ["Execute","the","orderlist","at","'date","'",".","Parameters","--","--","--","--","--","date",":","str","(","YYYY-MM-DD",")","Trade","date",",","that","the","generated","order","list","will","be","traded",".","exchange_config",":","str","The","file","path","(","yaml",")","of","exchange","config","path",":","str","Path","to","save","user","account","."]
code: def execute(self, date, exchange_config, path):
      """Execute the orderlist at 'date'.
  
      Parameters
      ----------
         date : str (YYYY-MM-DD)
             Trade date, that the generated order list will be traded.
         exchange_config: str
             The file path (yaml) of exchange config
         path : str
             Path to save user account.
      """
      um, pred_date, trade_date = self.init(self.client, path, date)
      for user_id, user in um.users.items():
          dates, trade_exchange = prepare(
              um, trade_date, user_id, exchange_config
          )
          executor = SimulatorExecutor(trade_exchange=trade_exchange)
          if str(dates[0].date()) != str(pred_date.date()):
              raise ValueError(
                  "The account data is not newest! last trading date {}, today {}".format(
                      dates[0].date(), trade_date.date()
                  )
              )
  
          # load and execute the order list
          # will not modify the trade_account after executing
          order_list = load_order_list(
              user_path=(pathlib.Path(path) / user_id),
              trade_date=trade_date,
          )
          trade_info = executor.execute(
              order_list=order_list,
              trade_account=user.account,
              trade_date=trade_date,
          )
          executor.save_executed_file_from_trade_info(
              trade_info=trade_info,
              user_path=(pathlib.Path(path) / user_id),
              trade_date=trade_date,
          )
          self.logger.info(
              "execute order list at {} for {}".format(
                  trade_date.date(), user_id
              )
          )
  
imports: import fire
  import pandas
  import pathlib
  import qlib
  import logging
  from ...data import D
  from ...log import get_module_logger
  from ...utils import get_pre_trading_date, is_tradable_date
  from ..evaluate import risk_analysis
  from ..backtest.backtest import update_account
  from .manager import UserManager
  from .utils import prepare
  from .utils import create_user_folder
  from .executor import load_order_list, save_order_list
  from .executor import SimulatorExecutor
  from .executor import save_score_series, load_score_series
label_desc: Use image node_id 6 for calling the Operator obj's underlying member method code with example usage: obj.execute(date, exchange_config, path) without return types