code: def settle_order(self):
          
  
          if self.if_start_orderthreading:
  
              self.order_handler.run(
                  QA_Event(
                      event_type=BROKER_EVENT.SETTLE,
                      event_queue=self.trade_engine.kernels_dict['ORDER'].queue
                  )
              )
docs: 交易前置结算
  
          1. 回测: 交易队列清空,待交易队列标记SETTLE
          2. 账户每日结算
          3. broker结算更新