Trading frenzies and their impact on real investment