def get_annual_return(fund_ts, years):
    lf_ret=[]
    for year in years:
        year_vals = []
        for date in fund_ts.index:
            if(date.year ==year):
                year_vals.append([fund_ts.ix[date]])
        day_rets = tsu.daily1(year_vals)
        ret = tsu.get_ror_annual(day_rets)
        ret=float(ret)
        lf_ret.append(ret*100) #" %+8.2f%%" % (ret*100)
    return lf_ret
@summary prints annual return for given fund and years to the given stream
dataset/ETHPy150Open tucker777/QSTK/Bin/report.py/get_annual_return