(Sharecast News) - US stock inched higher on Tuesday with the S&P 500 and Nasdaq eking out new record highs on the back of yet more gains from Nvidia, which surpassed Microsoft as the world's most valuable listed company.

Nvidia was up 3.5% at yet another record closing high of $135.58, having risen 24% so far in June alone. The rise pushed its market cap to $3.34trn, topping Microsoft's $3.32trn and Apple's $3.29trn.

Nvidia's gains helped push the S&P 500 up 0.25% to a new high of 5,487.03, while the Nasdaq edged just 0.03% higher to a fresh record of 17,862.23. The Dow, meanwhile, rose 0.15% to 38,834.86.

However, gains were limited ahead of the Juneteenth US public holiday on Wednesday, with comments from a number of Federal Reserve policymakers likely also weighing on sentiment.

The head of the Richmond Federal Reserve, Tom Barkin, said it wasn't useful for the central bank to give forward guidance to the markets over interest rates. Barkin acknowledged that May's inflation report was "very encouraging", but said more data is needed before the Fed makes any decisions.

In a separate speech, St Louis Fed president Alberto Musalem said rates should only be cut after "months, and more likely quarters" of falling inflation.

Investors were having to contend with scheduled speeches from six members of the Fed on Tuesday, along with a mixed batch of economic data from May.

US retail sales rose by just 0.1% last month, missing the 0.2% growth expected, while April's change was revised to -0.2% from 0%. Michael Pearce, deputy chief US economist at Oxford Economics, said the figures "leave real consumer spending on track for a gradual slowdown in Q2".

Meanwhile, US industrial production increased by 0.9% last month, following no change in April and beating the 0.3% reading expected.

Market movers

Chip stocks were continuing to outperform, with Nvidia, Micron Technology and Qualcomm all putting in gains.

Micron was being lifted by comments from Bank of America, which added the stock to its US 1 List - the collection of the bank's best investment ideas.

"While everyone is still talking about Nvidia being the superstar stock to own, Micron has been putting up a great fight," said Dan Coatsworth, investment analyst at AJ Bell. "A 133% advance in its share price over the past 12 months might be slightly less than Nvidia's 204% return over the same period, but it has put Micron on the map of big stock market success stories."

Banks were also in demand, with Bank of America, Wells Fargo, Citigroup and JPMorgan Chase all on the rise.

Meanwhile, electric car stocks like Tesla and Nikola were in reverse after the bankruptcy of Fisker prompted a sell-off across the sector.

Apple was inching lower after the news that the tech giant is ending its buy now, pay later service which it launched in March 2023.

Adobe rebounded slightly following falls on Monday after the software group was accused by Justice Department on Monday of making it too difficult for customers to cancel their subscriptions.

McDonald's was lower after the fast food giant ended a two-year experiment to use automated order taking at its drive-through stations.

Dow Jones - Risers

Walgreens Boots Alliance, Inc. (WBA) $16.11 6.34%

Goldman Sachs Group Inc. (GS) $457.44 1.61%

Verizon Communications Inc. (VZ) $40.08 1.57%

Home Depot Inc. (HD) $354.29 1.25%

JP Morgan Chase & Co. (JPM) $197.01 1.04%

Visa Inc. (V) $273.62 0.90%

Amgen Inc. (AMGN) $305.99 0.89%

Caterpillar Inc. (CAT) $324.91 0.85%

Procter & Gamble Co. (PG) $168.64 0.63%

International Business Machines Corporation (CDI) (IBM) $170.54 0.62%

Dow Jones - Fallers

Boeing Co. (BA) $174.98 -1.91%

Unitedhealth Group Inc. (UNH) $481.05 -1.67%

Intel Corp. (INTC) $30.63 -1.13%

Apple Inc. (AAPL) $214.29 -1.10%

McDonald's Corp. (MCD) $250.79 -1.07%

Microsoft Corp. (MSFT) $446.34 -0.45%

Nike Inc. (NKE) $94.79 -0.23%

Johnson & Johnson (JNJ) $145.65 -0.21%

Walt Disney Co. (DIS) $101.50 -0.02%

Dowdupont Inc. (DWDP) $0.00 0.00%

S&P 500 - Risers

Walgreens Boots Alliance, Inc. (WBA) $16.11 6.34%

United Rentals Inc. (URI) $644.89 4.13%

Micron Technology Inc. (MU) $153.45 3.80%

Corning Inc. (GLW) $40.21 3.77%

Nvidia Corp. (NVDA) $135.58 3.51%

Jefferies Financial Group Inc. (JEF) $46.51 3.43%

Foot Locker Inc. (FL) $25.06 3.25%

Henry Schein Inc. (HSIC) $68.28 3.17%

Cardinal Health Inc. (CAH) $104.29 3.11%

Vornado Realty Trust (VNO) $26.17 3.03%

S&P 500 - Fallers

Ball Corp (BALL) $62.24 -6.29%

Lennar Corp. Class A (LEN) $148.72 -4.98%

Ipg Photonics Corp. (IPGP) $82.71 -4.10%

Estee Lauder Co. Inc. (EL) $111.01 -3.56%

Charter Communications Inc. (CHTR) $277.62 -2.91%

Whirlpool Corp. (WHR) $89.12 -2.88%

Fortinet Inc. (FTNT) $59.15 -2.87%

PulteGroup Inc. (PHM) $111.07 -2.86%

Lamb Weston Holdings, Inc. (LW) $84.79 -2.79%

D. R. Horton Inc. (DHI) $139.41 -2.69%

Nasdaq 100 - Risers

Walgreens Boots Alliance, Inc. (WBA) $16.11 6.34%

Sirius XM Holdings Inc (SIRI) $2.77 4.53%

Micron Technology Inc. (MU) $153.45 3.80%

Nvidia Corp. (NVDA) $135.58 3.51%

Henry Schein Inc. (HSIC) $68.28 3.17%

Microchip Technology Inc. (MCHP) $93.45 2.67%

eBay Inc. (EBAY) $54.55 2.65%

QUALCOMM Inc. (QCOM) $227.09 2.19%

Applied Materials Inc. (AMAT) $247.83 2.05%

KLA-Tencor Corp. (KLAC) $863.31 1.70%

Nasdaq 100 - Fallers

Qurate Retail Inc. (QRTEA) $0.66 -4.22%

Charter Communications Inc. (CHTR) $277.62 -2.91%

Liberty Global plc Series C (LBTYK) $17.57 -2.71%

Workday, Inc. (WDAY) $207.69 -2.25%

Incyte Corp. (INCY) $61.44 -1.99%

NetEase Inc. Ads (NTES) $90.63 -1.99%

Gilead Sciences Inc. (GILD) $63.15 -1.74%

Ulta Salon, Cosmetics & Fragrance Inc. (ULTA) $382.59 -1.69%

Paypal Holdings Inc (PYPL) $59.12 -1.68%

Liberty Global plc Series A (LBTYA) $17.25 -1.54%