US and European stocks were higher Friday, recovering from a rout the previous day caused by rising coronavirus cases in the United States and data denting hopes for a strong recovery from the pandemic's devastation.

The scale of the damage was highlighted by news that the British economy shrank 20.4 percent month-on-month in April, a sharp reality check after markets rallied significantly from their March lows.

Analysts said the figures were awful but unsurprising and will hopefully represent the bottom as far as economic activity.

On that score, US consumer confidence figures were surprisingly good, bolstered as states moved to begin easing coronavirus restrictions.

The University of Michigan consumer sentiment index jumped to 78.9 from 72.3 in May, much better than economists had expected.

"Consumer sentiment posted its second monthly gain in early June, paced by gains in the outlook for personal finances and more favorable prospects for the national economy due to the reopening," said Richard Curtin, chief economist of the Survey of Consumers.

Curtin cautioned, however, that while consumers are expecting things to get better, few anticipate a return to normalcy "anytime soon."

Wall Street stocks finished a topsy-turvy session solidly higher, but lower for the week overall.

Art Hogan, chief market strategist at National Securities, said the trend in coronavirus cases added to worries about excess stock valuations and still-weak economic data.

"We thought we had peaked" on coronavirus, Hogan said, adding that higher cases numbers will slow the phased reopening of the economy following shutdowns to contain the virus.

"Going from phase two to phase three is going to take longer if we're seeing an increase in cases," he said.

In Europe, markets finished well off their highs and Frankfurt closed in the red, shedding 0.2 percent to 11,949.28.

London's FTSE 100 index finished up 0.5 percent at 6,105.18 points while in Paris, the CAC 40 added 0.5 percent to 4,839.26 points.

"As if it was not already clear that we are living through extraordinary times, investors are piling back into stock on Friday after a sharp sell-off a day earlier," Craig Erlam, analyst at trading group OANDA, said earlier in the European trading day.

Asian markets fell but losses were relatively modest by the close.

While some key US states are seeing signs of a second wave of infections, Treasury Secretary Steven Mnuchin said there would be no return to an economy-strangling lockdown
While some key US states are seeing signs of a second wave of infections, Treasury Secretary Steven Mnuchin said there would be no return to an economy-strangling lockdown AFP / MANDEL NGAN

New York - Dow: UP 1.9 percent at 25,605.54 (close)

New York - S&P 500: UP 1.3 percent at 3,041.31 (close)

New York - Nasdaq: UP 1.0 percent at 9,588.81 (close)

London - FTSE 100: UP 0.5 percent at 6,105.18 (close)

Frankfurt - DAX 30: DOWN 0.2 percent at 11,949.28 (close)

Paris - CAC 40: UP 0.5 percent at 4,839.26 (close)

EURO STOXX 50: UP 0.3 percent at 3,153.74 (close)

Tokyo - Nikkei 225: DOWN 0.8 percent at 22,305.48 (close)

Hong Kong - Hang Seng: DOWN 0.7 percent at 24,301.38 (close)

Shanghai - Composite: FLAT at 2,919.74 (close)

West Texas Intermediate: DOWN 0.2 percent at $36.26 per barrel

Brent North Sea crude: UP 0.5 percent at $38.73 per barrel

Euro/dollar: DOWN at $1.1258 from $1.1299 at 2100 GMT

Dollar/yen: UP at 107.39 yen from 106.87 yen

Pound/dollar: DOWN at $1.2531 from $1.2602