def Ret_everyndays(DF,n):
    """ This function takes in the SnP data, calculates the returns every n days, returns a list"""
    df = DF.copy().drop('Return', axis = 1).iloc[::n, :]
    ret = df['Adj Close'].pct_change().to_list()
    return ret