Investors witnessed the stock market rally to all-time highs last week. Leading indices Nifty and Sensex hit record highs following sustained gains by midcap and smallcap indices. Along with that, profit taking was also seen at a high level.