Esempio n. 1
0
    def evaluation(self, start=None):
        '''
        give the evaluation object to analysis funds properties themselves instead of trades

        :returns: :class:`xalpha.evaluate.evaluate` object, with referenced funds the same as funds
            we invested
        '''
        case = evaluate(*[fundtrade.aim for fundtrade in self.fundtradeobj], start=start)
        return case
Esempio n. 2
0
    def evaluation(self, start=None):
        """
        give the evaluation object to analysis funds properties themselves instead of trades

        :returns: :class:`xalpha.evaluate.evaluate` object, with referenced funds the same as funds
            we invested
        """
        if self.is_in:
            raise NotImplementedError()
        case = evaluate(*[fundtrade.aim for fundtrade in self.fundtradeobj],
                        start=start)
        return case