Stocks ended Friday's session in the red, but ended the week in the green as market optimism about a short-term debt ceiling deal in Washington outweighed a lackluster jobs report for September.

All major Wall Street averages ended the week higher, with the Dow Jones Industrial Average rising 1.2% for its best week since June. The S&P 500 increased by about 0.8%, posting its best week since August after a volatile September, and the Nasdaq climbed up 0.1% higher.

Here's how the market settled to close out the week:

S&P 500 Index (SPY  ): -0.19% or -8.34 points to 4,391.42

Dow Jones Industrial Average (DIA  ): -0.02% or -8.23 points to 34,746.71

Nasdaq Composite Index (QQQ  ): -0.51% or -74.48 points to 14,579.54

OECD agrees on 15% corporate tax rate:

The Organization for Economic Cooperation and Development on Friday announced a major breakthrough on corporate tax rates, agreeing to a global minimum corporate tax rate of 15%.

"The landmark deal, agreed by 136 countries and jurisdictions representing more than 90% of global GDP, will also reallocate more than USD 125 billion of profits from around 100 of the world's largest and most profitable MNEs to countries worldwide, ensuring that these firms pay a fair share of tax wherever they operate and generate profits," the OECD said in a statement Friday.

U.S. crude futures rise above $80 per barrel:

U.S. West Texas Intermediate (USO  ) crude oil futures rose to $80 per barrel for the first time since November 2014, extending its one month and year-to-date rally in energy and commodity prices, which are both up around 15% and 65%, respectively.

WTI crude settled at $79.35 on the day, pushing energy stocks like Exxon Mobil (XOM  ), Chevron (CVX  ) and ConocoPhillips (COP  ) higher.

U.S. economy added less jobs than expected in September:

The United States economy created jobs at a much slower-than-expected rate in September, as a sharp decline in government employment outweighed gains in other industries.

Nonfarm payrolls rose by 194,000 last month, according to the Labor Department's monthly report published Friday, dramatically falling short of consensus economists expectations of 500,000. However, the unemployment rate fell to a better-than-expected 4.8%, which is the lowest level since February 2020.

Beneath the headline, government paypalls slid by 123,000, while private payrolls added 317,000 positions. Leisure and hospitality led job creation, adding 74,000 positions, as the unemployment rate for the sector decreased to 7.7% from 9.1%.

Here's how market benchmarks started trading soon after opening bell:

S&P 500 Index: +0.15% or +6.75 points to 4,406.51

Dow Jones Industrial Average: +0.01% or +2.63 points to 34,757.57

Nasdaq Composite Index: +0.28% or +40.70 points to 14,694.72