Retail investors have poured billions of dollars into stocks over the past 17 months, helping fuel a staggering rally in the secondary and primary equity markets of the country.