Global stocks mostly rose Wednesday after US congressional leaders reached a deal on a mammoth stimulus bill, although the Dow cut its gains on signs the legislation could be delayed.

The US deal is the latest by a major government to try to prop up the economy at a time when officials are freezing activity in an effort to stem the growth of the coronavirus, which has evolved from a China-centered outbreak into a global pandemic.

Germany also moved ahead with an unprecedented stimulus plan Wednesday.

"With a number of major industrial economies now instituting social distancing measures and/or lockdowns... large-scale near-term declines in economic activity are on the way and a global recession is now our baseline," said a note from Oxford Economics.

The $2 trillion measure agreed in the wee hours of Wednesday morning by US Senate leaders would put cash directly into the hands of millions of Americans hit hard by the crisis, provide grants to small businesses and hundreds of billions of dollars in loans for larger corporations including airlines.

But by the close of Wall Street's session, the Senate still hadn't voted on the proposal, and key lawmakers in both the Democrat and Republican parties had objected to various measures included in the bill.

The dissenters included Senator Bernie Sanders, the Vermont independent who is running in the Democratic presidential primary and threatened to hold up the bill unless restrictions were beefed up on funds to corporations.

"All S&P 500 sectors were on pace to close in positive territory, but sentiment soured after Senator Sanders threatened to hold up the coronavirus bill," said Briefing.com.

The Dow finished up 2.4 percent at 21,200.55, more than 800 points below its session peak.

Hopes for the agreement helped boost European markets, lifting London and Paris 4.5 percent.

Frankfurt was the outlier, though it too had added 1.8 percent by the end of the day as Berlin unveiled previously inconceivable measures worth almost 1.1 trillion euros ($1.2 trillion) to help Europe's biggest economy weather the storm.

The new borrowing blasts through a financial crisis-era constitutional rule drastically limiting budget deficits.

"The move shows us the German government means business," remarked David Madden, market analyst at CMC Markets.

Earlier, the Tokyo stock market added eight percent, with Japanese investors also relieved that the 2020 Olympics had been postponed rather than cancelled.

Among individual companies, Boeing rallied for its second day, climbing 24.3 percent as reports emerged that Congress would include loans for the troubled planemaker in its stimulus bill.

New York - Dow: UP 2.4 percent at 21,200.55 (close)

New York - S&P 500: UP 1.2 percent at 2,475.56 (close)

New York - Nasdaq: DOWN 0.5 percent at 7,384.30 (close)

London - FTSE 100: UP 4.5 percent at 5,688.20 (close)

Frankfurt - DAX 30: UP 1.8 percent at 9,874.26 (close)

Paris - CAC 40: UP 4.5 percent at 4,432.30 (close)

Milan - FTSE MIB: UP 1.7 percent at 17,243.68 (close)

Madrid - IBEX 35: UP 3.4 percent at 6,942.40 (close)

EURO STOXX 50: UP 3.1 percent at 2,800.14 (close)

Tokyo - Nikkei 225: UP 8.0 percent at 19,546.63 (close)

Hong Kong - Hang Seng: UP 3.8 percent at 23,527.19 (close)

Shanghai - Composite: UP 2.2 percent at 2,781.51 (close)

Brent North Sea crude: UP 0.3 percent at $27.06 per barrel

West Texas Intermediate: UP 2.0 percent at $24.49 per barrel

Euro/dollar: UP at $1.0883 from $1.0788 at 2100 GMT

Dollar/yen: DOWN at 111.20 yen from 111.23 yen

Pound/dollar: UP at $1.1890 from $1.1762