NEW YORK/LONDON (Reuters) - The dollar slid and global equity markets marched higher on Wednesday for a second day of gains, on optimism $2 trillion in U.S. fiscal stimulus will dampen the economic shock the coronavirus pandemic has started to inflict.U.S. senators will vote Wednesday. Top aides to Republican President Donald Trump and senior Republican and Democrat senators agreed on the unprecedented bill after five days of marathon talks.

Hopes that the bill, which amounts to nearly half the $4.7 trillion the U.S. government spends annually, will ease an expected recession lifted world stock indexes .MIWD00000PUS for back-to-back gains for the first time since markets sold off a month ago.

Europe’s main markets in London, Frankfurt and Paris struggled to stay positive after ripping 4%-5% higher. Oil prices swung from 3% up to 3% down. Wall Street also teetered, though the Dow industrials and S&P 500 mostly remained more than 1% higher while the Nasdaq closed lower. [.EU][.T][.N]

The Dow Jones Industrial Average .DJI soared more than 11% on Tuesday in its biggest single-day percentage gain since 1933 and the benchmark S&P 500 jumped 9.4% - its tenth biggest daily gain on record since a daily data series started in 1927.

The stimulus package marks progress but the devil is in the details, said Ron Temple, head of U.S. equity at Lazard Asset Management in New York. The legislation is not available to read to know how it will be executed or when money arrives at households and small businesses gain access to funding, he said.

“This is not the all-clear; it’s just material progress,” Temple said.

“Until we know we can go back to work safely, that we can go to restaurants and go to stores and engage with other humans in close proximity, I don’t think you can make an economic or a market call. It’s premature to be trying to call the bottom.”

The stimulus includes a $500 billion fund to help hard-hit industries and a comparable amount for direct payments of up to $3,000 apiece to millions of U.S. families.

It will also include $350 billion for small-business loans, $250 billion for expanded unemployment aid and at least $100 billion for hospitals and related health systems.

FILE PHOTO: The floor of the New York Stock Exchange (NYSE) stands empty as the building prepares to close indefinitely due to the coronavirus disease (COVID-19) outbreak in New York, U.S., March 20, 2020. REUTERS/Lucas Jackson

Countries that have locked down their populations to prevent the spread of the coronavirus need to use the time to find and attack the virus, the World Health Organization said.

As the United States works to screen thousands for the coronavirus, a new blood test offers the chance to find out who may have immunity. That could be a game changer in the battle to contain infections and get the economy back on track.

Over 450,000 people have been infected globally and more than 20,000 have died, according to a Reuters tally.

Data on Wednesday pointed to a fast-slowing economy that analysts said signaled the United States already is in recession.

New orders for key U.S.-made capital goods fell sharply in February as demand for machinery and other products slumped, suggesting a deepening contraction in business investment.

The benchmark S&P 500 is still nearly $8 trillion below its mid-February high, and investors expect more sharp swings.

MSCI's gauge of stocks across the globe .MIWD00000PUS gained 2.88% and emerging market stocks rose 4.40%.

The pan-European STOXX 600 index .STOXX rose 3.09%.

The Dow Jones Industrial Average .DJI rose 495.64 points, or 2.39%, to 21,200.55. The S&P 500 .SPX gained 28.23 points, or 1.15%, to 2,475.56 and the Nasdaq Composite .IXIC dropped 33.56 points, or 0.45%, to 7,384.30.

In the currency markets, the dollar slipped for a third straight session as a scramble for liquidity was soothed by the super-sized U.S. stimulus plan. [/FRX]

The dollar index =USD fell 0.757%, with the euro EUR= up 0.92% to $1.0886. The Japanese yen JPY= strengthened 0.03% versus the greenback at 111.20 per dollar.

The risk-sensitive Australian dollar AUD=D3 jumped over the 60-U.S. cent mark for the first time in a week.

Bond markets were also calmer. Benchmark U.S. Treasuries were yielding 0.7987% while in Europe Germany's 10-year yield DE10YT=RR edged a basis point higher to -0.296%, tailed by other higher-rated government debt. NL10YT=RR, AT10YT=RR

European Central Bank chief Christine Lagarde asked euro zone finance ministers during a videoconference on Tuesday to seriously consider a one-off joint debt issue of “coronabonds”, officials told Reuters.

In metals markets, gold changed hands at $1,608.78 an ounce XAU=, retaining most of Tuesday's gains of almost 5%, its biggest jump since 2008.

U.S. crude prices rose slightly, bolstered by progress on a massive pending U.S. economic stimulus package.

Brent crude LCOc1 gained 24 cents to settle at $27.39 a barrel. U.S. crude CLc1 futures rose 48 cents to settle at $24.49 a barrel.

U.S. gold futures GCcv1 settled 1.5% lower at $1,634.90 an ounce, a day after posting their biggest one-day jump since2009.

GRAPHIC: Global equities post first back-to-back gain during virus sell-off -