Stock markets near all-time highs! Is it time to switch to f

Stock markets near all-time highs! Is it time to switch to fixed deposits, debt funds?