'Returns a :class:`pyalgotrade.dataseries.DataSeries` with the close or adjusted close prices.'

def getPriceDataSeries(self):

    if self.__useAdjustedValues:
        return self.__adjCloseDS
    else:
        return self.__closeDS
