docstr: init state when each trading date begin
      Parameter
          date : pd.Timestamp
docstr_tok: ["init","state","when","each","trading","date","begin","Parameter","date",":","pd.Timestamp"]
code: def init_state(self, date):
      """
      init state when each trading date begin
          Parameter
              date : pd.Timestamp
      """
      self.account.init_state(today=date)
      self.strategy.init_state(
          trade_date=date, model=self.model, account=self.account
      )
      return
  
file_path: qlib/qlib/contrib/online/user.py
imports: import logging
  from ...log import get_module_logger
  from ..evaluate import risk_analysis
  from ...data import D
label_desc: Use image node_id 2 for calling the User obj's underlying member method code with example usage: obj.init_state(date) without return types