The best time to buy stocks from the mining sector is when companies that have strong fundamentals are trading at attractive valuations.