code: def sync_account(self, broker_name, account_cookie):
          
          try:
              if isinstance(self.broker[broker_name], QA_BacktestBroker):
                  pass
              else:
                  self.session[account_cookie].sync_account(
                      self.broker[broker_name].query_positions(account_cookie)
                  )
              return True
          except Exception as e:
              print(e)
              return False
docs: 同步账户信息
  
          Arguments:
              broker_id {[type]} -- [description]
              account_cookie {[type]} -- [description]