Stocks retreated from intraday records on Monday, Oct. 16, as crude oil gains eased and West Texas Intermediate returned to a level below $52 a barrel. 

The Dow Jones Industrial Average was up 0.12% and was trading around 100 points from 23,000, a level it has never touched before. The S&P 500 gained 0.08%, and the Nasdaq increased 0.23%.

Any gains for the Dow and Nasdaq during Monday's session would put the two at new records. The Dow matched a previous record and the Nasdaq topped a new all-time high on Friday, Oct. 13. 

Crude oil prices rallied on Monday morning as the potential for conflict in Iraq threatened to cut off exports. Reports indicated Iraqi forces have descended upon Kirkuk, a major oil-producing region in Iraq. The area had been occupied by Kurdish fighters. Troubles in the region have risen since a referendum in with the Kurds voted for independence. 

Iraq is a member of the Organization of the Petroleum Exporting Countries, a cartel that has agreed to limit production to address a global supply-demand imbalance. 

Prices were also higher after President Donald Trump refused to certify that Iran was complying with a nuclear agreement. Trump also called for new sanctions against Iran. Previous sanctions had taken roughly one million barrels of oil per day out of global supply. 

West Texas Intermediate crude oil rose 0.8% to $51.86 a barrel on Monday. 

The energy sector was the best performer on Monday. Major oil companies were higher, including Chevron Corp. (CVX) , Exxon Mobil Corp. (XOM) , ConocoPhillips (COP) , PetroChina Co. Ltd.  (PTR) , Total SA (TOT) , BP PLC (BP) , and Statoil ASA (STO) . The Energy Select Sector SPDR ETF (XLE) increased 0.5%. 

Federal Reserve Chair Janet Yellen boosted speculation the central bank could raise interest rates for a third time in 2017 in comments over the weekend. Despite persistently low inflation, the U.S. economy is in strong shape, Yellen said at a Group of 30 conference on Sunday, hinting that the Fed's third interest rate hike this year could come in December as many have predicted.

"Economic activity in the United States has been growing moderately so far this year, and the labor market has continued to strengthen," Yellen said, noting that the impact from hurricanes is probably ephemeral. "The ongoing strength of the economy will warrant gradual increases" in interest rates, she added.

Yellen also forecast that soft inflation readings would not persist and higher inflation would come next year on the "ongoing strengthening of labor markets."

Yellen's weekend comments taken in stride.
Yellen's weekend comments taken in stride.

Manufacturing activity in the New York region hit a three-year high in October. The Empire State manufacturing index rose to 30.2 this month from 24.4 in September, according to the New York Federal Reserve. Optimism improved, while new orders fell. 

Viacom Inc. (VIAB) and Charter Communications Inc. (CHTR) agreed on a short-term extension of their renewal deadline, a source familiar with the matter told Reuters, as the companies aim to avoid the immediate blackout of Viacom networks. If no deal is reached, 16.6 million subscribers of Charter's Spectrum service will lose Viacom's networks, such as Comedy Central, MTV and Nickelodeon, Reuters noted. 

Viacom and Charter are working to "reach a mutually beneficial deal," the source said. Viacom stands to lose $760 million, or about 16%, of its annual affiliate revenue if an agreement isn't reached, said an analyst at Gabelli & Co, Viacom's second-largest voting shareholder.

It's a busy week of earnings. Netflix Inc. (NFLX) will report after the bell Monday, while Goldman Sachs Group Inc. (GS) , Harley-Davidson Inc. (HOG) , Johnson & Johnson (JNJ) , Morgan Stanley (MS)  and UnitedHealth Group Inc. (UNH)  are set for Tuesday, Oct. 17. Other earnings of note this week include Alcoa Corp. (AA) , American Express Co. (AXP)  , Verizon Communications Inc. (VZ)  , General Electric Co. (GE) and Schlumberger Ltd. (SLB)  . 

General Electric and Schlumberger are holdings in Jim Cramer's Action Alerts PLUS Charitable Trust Portfolio. Want to be alerted before Cramer buys or sells those stocks? Learn more now.

Just 6% of S&P 500 companies have reported earnings so far, the majority of which have bested profit and sales estimates. Analysts anticipate blended earnings growth of 4.4% in the third quarter, or 2.3% excluding energy, according to Thomson Reuters estimates. Revenue is expected to rise by 4.4%.

Exelixis Inc. (EXEL) surged nearly 21% after the Food and Drug Administration granted priority review status for its supplemental New Drug Application for a kidney cancer treatment. The drug is for untreated advanced renal cell carcinoma. The FDA based its approval on mid-stage trial results.  

Apple Inc. (AAPL) added more than 1% after KeyBanc Capital upgraded its rating on the tech giant to overweight from sector weight, reversing a downgrade in June. Analyst Andy Hargreaves is optimistic over Apple's turn to "subscription-like qualities rather than a regular hardware business" including growth in its App Store. The firm had downgraded Apple midyear as growth in iPhone sales slowed. 

Apple are holdings in Jim Cramer's Action Alerts PLUS Charitable Trust Portfolio. Want to be alerted before Cramer buys or sells AAPL? Learn more now.

Updated from 9:34 a.m. ET, Oct. 16. 

More of What's Trending on TheStreet:

Join us in New York City on Nov. 30 for The Deal Economy Conference, where leading industry experts and other influential members of the deal community will gather to discuss key issues that will confront dealmakers in 2018.

Join Jim Cramer, CNBC's Jon Najarian and Other Experts Oct. 28 in New York

Jim Cramer will host CNBC's Jon Najarian, TD Ameritrade's JJ Kinahan, famed analytics expert Marc Chaikin and other market mavens on Oct. 28 in New York City to share successful strategies for active investors.

You can join them as they discuss how smart investors can make the most of options trading, futures contracts, fundamental and quantitative analysis and great ETFs to buy right now. Participants will also get a chance to meet Jim and other panelists and take photos.

When: Saturday, Oct. 28, 8 a.m.-3 p.m.

Where: The Harvard Club of New York, 35 West 44th St., New York, N.Y.

Cost: $250 per person.

Click here for the full conference agenda or to reserve your seat now.

If you liked this article you might like

What's Behind the Hound of Hades' Stock Market Rampage

What's Behind the Hound of Hades' Stock Market Rampage

Stocks Are Shaky, Tesla Posts Its Largest Loss Ever - 5 Things You Must Know

Stocks Are Shaky, Tesla Posts Its Largest Loss Ever - 5 Things You Must Know

CBS-Viacom Saga Presses On

CBS-Viacom Saga Presses On

How Disney's Deal for Fox Could Drive a Whole New Wave of Media M&A

How Disney's Deal for Fox Could Drive a Whole New Wave of Media M&A

Lions Gate Shares Pop as Vice Chair Discusses Possible Acquirers

Lions Gate Shares Pop as Vice Chair Discusses Possible Acquirers