def calRR(pre_close, prepre_close):
    """
    :param pre_close: 昨天的收盘价
    :param prepre_close: (returnPeriod+1)天前的收盘价
    :return: 收益率
    """
    return 1.0 * (pre_close - prepre_close) / prepre_close