code: def ma_bias_ratio(self, day1, day2):
          
          data1 = self.moving_average(self.price, day1)
          data2 = self.moving_average(self.price, day2)
          result = [data1[-i] - data2[-i] for i in range(1, min(len(data1), len(data2)) + 1)]
  
          return result[::-1]
docs: Calculate moving average bias ratio