code: def close_positions_order(self):
          
  
          order_list = []
          time = '{} 15:00:00'.format(self.date)
          if self.running_environment == RUNNING_ENVIRONMENT.TZERO:
              for code, amount in self.hold_available.iteritems():
                  order = False
                  if amount < 0:
                      # 先卖出的单子 买平
                      order = self.send_order(
                          code=code,
                          price=0,
                          amount=abs(amount),
                          time=time,
                          towards=ORDER_DIRECTION.BUY,
                          order_model=ORDER_MODEL.CLOSE,
                          amount_model=AMOUNT_MODEL.BY_AMOUNT,
                      )
                  elif amount > 0:
                      # 先买入的单子, 卖平
                      order = self.send_order(
                          code=code,
                          price=0,
                          amount=abs(amount),
                          time=time,
                          towards=ORDER_DIRECTION.SELL,
                          order_model=ORDER_MODEL.CLOSE,
                          amount_model=AMOUNT_MODEL.BY_AMOUNT
                      )
                  if order:
                      order_list.append(order)
              return order_list
          else:
              raise RuntimeError(
                  'QAACCOUNT with {} environments cannot use this methods'.format(
                      self.running_environment
                  )
              )
docs: 平仓单
  
          Raises:
              RuntimeError -- if ACCOUNT.RUNNING_ENVIRONMENT is NOT TZERO
  
          Returns:
              list -- list with order