With selloffs of Japanese stocks by foreign investors weighing heavily on its value, the yen has given up much of its recent gains against the dollar.

After having bought 10 trillion yen more than they sold on the Japanese equity markets last year, international investors have turned net sellers in recent months, alerted by the volatility on Wall Street and other markets overseas.

Foreign investors returned to the Tokyo stock market in search of potential gains early last month ahead of the June 25 general election but soon turned net sellers again.