Bank of America made money off Swiss move: CEO

BofA Moynihan's world growth picture

Bank of America CEO Brian Moynihan told CNBC Tuesday that his bank benefited from the Swiss currency shock that rocked markets and companies last week.

"We made money in the last few days and we helped our customers," he said. "It hasn't been a big impact on us but it caught everybody by surprise."

Speaking from the World Economic Forum in Davos, Switzerland, Moynihan said that his bank made money in the currency markets and trading in the wake of Thursday's announcement that the Swiss franc would no longer be pegged to the euro.

Read MoreSwiss franc soars,stocks tank as euro peg scrapped

He said the Swiss National Bank decision was good even though it caused some "dislocation in the system."

"The volatility helps activity, and if you keep your exposures low, any activity actually helps generate revenue," he said. "We were fine, and we look forward to letting the economy adjust."

Read MoreFirst big banks disappoint, now regional bank earnings are lower than expected