The stock market closed up again for the fourth straight day, reflecting the positive stream of economic data.