@staticmethod
def calculate_trendsrating(datas):
    """
        Calculates the analysts rating ala Levermann
        :param datas: analysts data
        :return: the rating score
        """
    nominator = 0
    denominator = 0
    for data in datas:
        nominator += data['Recommendation'] * data['NumberOfAnalysts']
        denominator += data['NumberOfAnalysts']
    return nominator / denominator
