The stock market continued its upward trajectory on Thursday, with the S&P 500 celebrating its fourth straight day of record-high closes. Economic data helped support the theory that stocks are the best investment option among major asset classes, and many investors took an unexpectedly strong rise in the Producer Price Index as evidence that interest rates won’t be able to remain low forever.