Stocks jumped to new records on Monday, Jan. 22, after the Senate reached agreement on a deal that would end the government shutdown that began at midnight on Friday.

The deal would allow thousands of furloughed federal workers to return to work and others to expect their next paychecks to arrive on time.

The Senate advanced a bill reopening federal agencies through Feb. 8 after Democrats relented and lifted their blockade against the legislation, the Associated Press reported.

The Dow Jones Industrial Average finished up 0.55% to 26,214. The S&P 500 rose 0.81% and the Nasdaq rose 0.98% -- both indexes posted new record closes.

Celgene Corp. (CELG)  said Monday it reached a deal to buy Juno Therapeutics Inc. (JUNO) for $87 a share in cash, or $9 billion. Juno shares rallied 26% on Monday to $85.76.

Sanofi SA (SNY)  reached an agreement to buy Waltham, Massachusetts-based Bioverativ Inc. (BIVV) , a hemophilia specialist, in a move that will boost the French company's profile for fighting rare diseases. Sanofi said Monday it will pay $105 a share in cash, a 64% premium to Bioverativ's closing price on Friday, Jan. 19, of $64.11. Bioverativ shares jumped 62%.

American International Group Inc. (AIG) said Monday it was buying insurance firm Validus Holdings Ltd. (VR) in an all-cash deal for $5.56 billion. Validus shareholders will receive $68 for each share they own. Validus shares rose 44%. 

Shares of Xerox Corp. (XRX) rose 2.6% on Monday after Carl Icahn and Xerox's third-largest shareholder, Darwin Deason, formed a group to target the document technology company and shake up the business.

Amazon Go, a cashier-free convenience store concept, will finally swing open its doors to the public on Monday in Seattle. The store has been in test form by employees at Amazon.com Inc. (AMZN)  since 2016.

Around 300 companies will publish quarterly earnings this week as the season revs into high gear. Halliburton Co.  (HAL)  highlighted Monday's slate, posting higher-than-expected fourth-quarter profit and revenue. NetFlix Inc.  (NFLX) , TD Ameritrade Holding Corp.  (AMTD)  and Logitech International SA  (LOGI) will publish fourth-quarter figures after the close of trading. Later this week, Dow components Johnson & Johnson (JNJ) , Procter & Gamble Co.  (PG) , General Electric Co.  (GE) , Travelers Cos.  (TRV) ,  3M Co.  (MMM) and Caterpillar Inc. (CAT)

GE is a holding in Jim Cramer's Action Alerts PLUS Charitable Trust Portfolio. Want to be alerted before Jim Cramer buys or sells GE ? Learn more now .

With just more than 10% of S&P 500 companies reporting fourth-quarter figures so far this year, earnings have fallen by 0.2% from the same period in 2016, according to data from FactSet, as banks reduced the value of their tax credits following the December passage of the Tax Cuts and Jobs Act by Republican lawmakers. Stripping away bank earnings, however, would lift the growth rate to 11.2%, FactSet data indicated, a figure that will likely balloon to 18.6% for all of 2018.

In Europe, the Stoxx 600 benchmark gained 0.31% while stocks in Asia finished Monday's session with gains.

West Texas Intermediate crude oil, the U.S. benchmark, rose 0.05% to $63.40 a barrel.

More of What's Trending on TheStreet:

If you liked this article you might like

Quick Tips: Now What Should Investors Do?

Quick Tips: Now What Should Investors Do?

How Did Caterpillar Get Its Name?

How Did Caterpillar Get Its Name?

Jim Cramer: These 4 Stocks Seem Attractive Right Here

Jim Cramer: These 4 Stocks Seem Attractive Right Here

Caterpillar Rallying as Big Machinery Is Moving Again

Caterpillar Rallying as Big Machinery Is Moving Again