code: def moving_average_value(self, date):
          
          val, conti = self.__calculate_moving_average(date, 1)
          val = (round(i / 1000, 3) for i in val)
          return list(val), conti
docs: 計算 n 日成交股數均量與持續天數
  
              :param int date: n 日
              :rtype: tuple (序列 舊→新, 持續天數)