Exemple #1
0
    def v_tradevolume(self, **vkwds):
        '''
        visualization on trade summary of the funds combination

        :param vkwds: keyword argument for pyecharts Bar.add()
        :returns: pyecharts.Bar()
        '''
        return vtradevolume(self.totcftable, **vkwds)
Exemple #2
0
    def v_tradevolume(self, freq="D", rendered=True):
        """
        visualization on trade summary of the funds combination

        :param freq: one character string, frequency label, now supporting D for date,
            W for week and M for month, namely the trade volume is shown based on the time unit
        :returns: ``pyecharts.Bar()``
        """
        return vtradevolume(self.totcftable, freq=freq, rendered=rendered)