The dollar gained against the yen on Tuesday, buoyed by U.S. trade deficit data that could inflate estimates for fourth-quarter growth in the world's largest economy.
The U.S. trade deficit fell to its lowest level in four years in November as exports hit a record high and weak oil prices restrained import growth, the latest evidence of strengthening economic fundamentals.
The measure goes into the calculation of gross domestic product, so the decline could prompt economists to bump up their growth estimates for last quarter.
(Read more: After taper talk in 2013, this will dominate 2014)
Signs of more robust growth could also prompt the Federal Reserve to speed up the tapering of its monthly bond purchases, but most contend the U.S. central bank will gradually wind down its monetary stimulus.
Boston Federal Reserve Bank President Eric Rosengren, one of the Fed's most dovish policymakers, on Tuesday said the economy remains vulnerable the longer inflation remains too low and he again warned that policy stimulus should be removed "only gradually.''
In midday trade, the dollar was 0.3 percent higher at 104.47 yen, but remained below a five-year peak of 105.44 yen set last week. The dollar fell as low as 103.88 yen on Monday, its lowest since Dec. 23.
The dollar index, which tracks the greenback against a basket of six major currencies, was last up 0.2 percent at 80.82.
The Swiss franc, meanwhile, fell to its lowest against the euro since October, with some analysts arguing global economic optimism had laid the ground for a retreat for the one of the world's safe-haven currencies.
Data on Tuesday also showed Swiss National Bank foreign currency reserves fell by almost 700 million francs in December, suggesting pressure on its cap on the franc—which previously forced it to buy billions of euros—had eased.
The euro rose 0.4 percent to 1.237 francs, its highest since October and above the 1.20-per-euro cap which the SNB has held in place for more than two years. Against the dollar, the franc gained 0.5 percent to $0.9084.
UBS pointed to signs that Swiss funds and banks are beginning to invest and loan money abroad again - something they have not done since 2008 and an important precondition for the franc falling back.
(Read more: Contrarian call: US dollar to weaken further in 2014)
UBS has a near-term target of 1.25 francs to the euro, Siegenthaler noted.
Looking ahead, currency trading will likely be swayed by Friday's U.S. jobs report, which may give a clue as to how quickly the Fed will taper its bond buying. Overall the outlook on interest rates is against the euro.
Ahead of the jobs data, market participants will focus on minutes from the Fed's last monetary policy meeting, scheduled for release on Wednesday.
Meanwhile, the euro was helped by a euro zone inflation number which was not expected to be low enough to force the European Central Bank into more action immediately to loosen monetary policy. The ECB meets on Thursday.
German retail sales and unemployment data were also better than expected, while Ireland's successful bond issue offered more optimism on countries in the bloc under sovereign bailout programs.
The euro rose as high as $1.3656, but last traded flat at $1.3618, remaining above Monday's one-month low of $1.3570, according to Reuters data.