Ejemplo n.º 1
0
    def xirrrate(self, date=yesterdayobj(), startdate=None, guess=0.01):
        """
        xirr rate evauation of the whole invest combination

        :param date: string or obj of datetime, the virtually sell-all date
        :param startdate: string or obj of datetime, the beginning date of calculation, default from first buy
        """
        return xirrcal(self.totcftable, self.fundtradeobj, date, startdate, guess)
Ejemplo n.º 2
0
 def xirrrate(self, date=yesterdayobj(), guess=0.1):
     '''
     xirr rate evauation of the whole invest combination
     '''
     return xirrcal(self.totcftable, self.fundtradeobj, date, guess)