NEW YORK (AP) -- The S&P 500 teeter-tottered around its record on Tuesday, as investors mull what exactly will come of the latest truce in the U.S.-China trade war.
Trading was relatively quiet in markets around the world ahead of Wednesday's half day of trading for U.S. markets and Thursday's closure for Independence Day. It was a return to reticence for the S&P 500, which had jumped to a record a day earlier after presidents Donald Trump and Xi Jinping of China agreed to resume trade negotiations.
The United States agreed not to impose additional tariffs on the world's second-largest economy, and the detente is good news for markets. But tariffs in place have already hurt global economic growth, and investors see that the two side still face the same differences that caused talks to break down earlier.
U.S. stock indexes bobbed up and down, and European and Asian markets were mixed. Treasury prices and gold both edged higher, while crude oil gave up its gains from a day earlier.
KEEPING SCORE: The S&P 500 was up 0.1%, as of 10:45 a.m. Eastern time, after flitting between small losses and gains earlier in the morning. If it stays that high, it would close at a record for the seventh time this year.
The Dow Jones Industrial Average was down 2 points, or less than 0.1%, at 26,715, and the Nasdaq composite was virtually flat.
WHAT'S NEXT: Companies are lining up to tell investors in the next few weeks how much profit they made during the spring. Expectations are generally low, and analysts say second-quarter earnings for S&P 500 companies may end up being weaker than a year earlier.
This could be the first back-to-back decline in earnings for the S&P 500 in three years, according to FactSet.
Besides the earnings reports, the next big milestone for markets may be the Federal Reserve's meeting at the end of July. There, many investors expect the Fed to cut interest rates for the first time since the Great Recession in 2008 in the face of slowing economic momentum around the world.
BEEN HERE BEFORE? "Yesterday's optimism in equity markets is beginning to look a little over-eager, with some already drawing worrying parallels to the November 2018 G-20 summit, which was followed up by a dramatic fall for equities," said Chris Beauchamp, chief market analyst at IG.
"The past is not prologue, and the central bank outlook is very different to the end of 2018, as easing comes back on to the agenda, but with volumes drying up ahead of Independence Day and the next earnings season rapidly approaching equities are looking vulnerable to some near-term weakness."
YIELDS: The yield on the 10-year Treasury note dipped to 2.00% from 2.03% late Monday. Yields have been falling since last autumn on worries about a slowing economy and as expectations have climbed for a rate cut by the Federal Reserve.
When bonds are offering lower yields, the regular payments of high-dividend stocks start to look more attractive. Real-estate stocks and utilities were the biggest gainers in the S&P 500, with each sector up at least 1%.
DIM SALES: Lighting company Acuity Brands sank 9.6% despite reporting stronger profit for its latest quarter than analysts expected. Revenue was below expectations, and the company cited "ongoing angst generated by trade policy issues" in the market.
TAKING OFF: Delta Air Lines climbed 1.5% after it gave a profit forecast for the just-completed quarter that was stronger than analysts had been expecting. The carrier said revenue was at the high end of its initial expectations during the quarter, while costs outside of fuel were up just 1% to 2%.
MARKETS OVERSES: In Europe, the French CAC 40 edged up 0.2%, and the German DAX was up 0.1%. The FTSE 100 in London rose 0.8%.
In Asia, Japan's Nikkei 225 gained 0.1%, South Korea's Kospi slipped 0.4% and Hong Kong's Hang Seng rose 1.2%.
COMMODITIES: Benchmark U.S. crude oil slumped $1.48, or 2.5%, to $57.61 per barrel. Brent crude, the international standard, lost $1.37 to $63.69.
The drop for crude hurt oil stocks, which had the market's biggest drops. Energy stocks in the S&P 500 fell 1.5%, triple the loss of any of the other 10 sectors that make up the index.