(John Kemp is a Reuters market analyst. The views expressed are his own)

LONDON- Hedge funds appear to have completed the recent wave of liquidation, with bullish positions increased slightly last week after heavy falls the week before, helping to steady the main crude oil benchmarks.

Hedge funds and other money managers raised their net long position in the six most important petroleum futures and options contracts by 37 million barrels in the week to July 24.

The boost was a marked turnaround from the previous week, when net long positions were cut by 178 million barrels, one of the heaviest bouts of liquidation on record.

In the most recent week, portfolio managers raised net long positions in Brent (+14 million barrels), U.S. gasoline (+11 million), U.S. heating oil (+12 million) and European gasoil (+11 million).

The only selling came in NYMEX and ICE WTI, where net long positions were reduced by 11 million barrels last week, according to data published by regulators and exchanges.

The recent wave of liquidation, which started in late April, and accelerated in mid-July, has blown off some of the froth from the top of the market.

Portfolio managers remain exceptionally bullish on the outlook, but some of the momentum-chasing and more tactical long positions have been squared up.

Long positions in the petroleum complex outnumber short ones by more than 1 billion barrels, but that is down from a net long position of more than 1.4 billion barrels three months ago.

Long positions still outnumber shorts by a ratio of more than 9:1, leaving the market stretched, but that is down from almost 14:1 at the peak.

For now, bullishness about supply disruptions, the impact of Iran sanctions, and strong growth in oil consumption is outweighing concerns about the global economic outlook and the impact of high prices on oil demand.

(Editing by David Evans) ((john.kemp@thomsonreuters.com; +44 207 542 9726 and on twitter @JKempEnergy))