The yen kept the euro and the Australian dollar pinned down near lows on Wednesday, after a heavy round of leveraged trade unwinding, and the euro also struggled above a record low on the safe-haven Swiss franc.

While doubts about a global recovery were playing out, traders said, the rush towards safe-haven currencies may prove to be short lived once quarter-end hedging and repatriation flows have dried up, although the euro remained vulnerable longer term.

Some said real money investors had been sellers of riskier currencies and equities, while moves were exaggerated by thin trading conditions.

Focus is on a three-month tender by the European Central Bank ahead of the expiry of a 12-month operation on Thursday when euro zone banks must repay 442 billion euros ($539 billion) borrowed at low rates as part of ECB efforts to boost liquidity.

The market is waiting to see what the take-up at the three-month operation will be and what that would signify for the funding situation at European banks. Investors fear Thursday's expiry could leave some banks facing a liquidity shortfall.

The event risk is probably overdone. Yes there is a risk that a huge number would worsen sentiment but it would have to be a large number in the region of 350-400 billion euros to have a lasting effect, said Robert Ryan, FX strategist at BNP Paribas in Singapore.

But at this stage everybody knows the banks are reliant on the ECB.

The euro EURJPY=R edged up 0.2 percent to 108.14 yen but remained well within sight of its 8-½ year low of 107.30 yen on trading platform EBS struck on Tuesday.

Against the Swiss franc, it clawed 0.2 percent higher to 1.3216 francs EURCHF=R after hitting a lifetime low of 1.3165 on Tuesday. It is down nearly 11 percent on the franc this year.

The Australian dollar gained 0.3 percent to 75.25 yen AUDJPY=R after a drop of nearly 4 percent on Tuesday and was 0.1 percent up on the dollar at $0.8501 AUD=D4 after falling more than 2.5 percent in the previous session.

Support for the Aussie is seen at around $0.8425, the low struck on June 11.

There's still very little liquidity in the markets. Hedge funds are still licking their wounds after some very nasty moves in May so all these turns in sentiment are being exaggerated by a lack of liquidity, Ryan said.

Dollar/yen JPY= was subdued at 88.57 yen, having lost nearly 1 percent on Tuesday as the rush to safety pushed U.S. two-year Treasury yields to record lows. Support is seen at around 88.00 yen, the low struck on May 6.

An official at a Japanese FX margin broker said there was talk of bids in dollar/yen from real money investors near 88.00 yen and short-covering interest around that level but with stop-loss sell orders then expected below that figure.

The dollar also got some support from Japanese importers, a trader said, with current levels possibly looking attractive to Japanese investors, especially as Japanese authorities may start trying to talk the yen lower if the dollar neared 85.00 yen.

Others said the dollar could benefit from month-end buying after a fall in Wall Street .SPX this month left many non-U.S. investors needing dollars to rebalance their portfolios.

It is worth emphasizing that the fall in global equities this month biases today's month-end fix towards U.S. dollar buying, JP Morgan said in a morning note.

The rationale is threefold -- non-U.S. investors hedge global equity exposure more than U.S. investors do; a fall in U.S. equities during the month leaves non-U.S. investors overhedged on their S&P holdings; thus hedge rebalancing requires dollar purchases at the fix.

The S&P-500 index has lost over 4 percent this month and was looking increasingly bearish on the charts.

The dollar index .DXY was flat at 86.013, with resistance expected in the 86.42 to 86.48 region. The latter is the 38.2 percent of the index's decline from a high of 88.71 to its recent low of 85.09.

The euro edged up 0.2 percent to $1.2213 EUR=, not far from a two-week low of $1.2152 EUR=, struck in the previous session. Technical analysts noted $1.2150 as a key level, saying a break would open the way for a retest of the psychologically important $1.2000 mark and its four-year low at $1.1876 set earlier in June. (Additional reporting by Anirban Nag and Reuters FX analyst Krishna Kumar in Sydney and Masayuki Kitano in Tokyo; Editing by Joseph Radford)