When Is the Best Time to Buy Stocks?