def holding_pnl(self):
        """
        [float] 浮动盈亏
        """
        return sum(position.holding_pnl for position in six.itervalues(self._positions))
def holding_pnl ( self ) : return sum ( position . holding_pnl for position in six . itervalues ( self . _positions ) )
[float] 浮动盈亏