Until now, an illegal trading technique called "spoofing" has been associated with two-bit commodities outfits and lone wolf traders operating in the shadows of the markets.

But prosecutors revealed on Monday that their investigations have hit the big time.

Deutsche Bank, UBS and HSBC will collectively pay nearly $47 million to settle civil regulatory charges that some of their traders engaged in spoofing in precious metals. Deutsche Bank will pay $30 million and UBS $15 million of that total in a wide-reaching investigation by the Commodity Futures Trading Commission that also names six individuals. HSBC will pay $1.6 million. All three banks cooperated with the probe.

In addition, the Justice Department said Monday it has charged eight individuals with crimes related to deceptive trading, including seven who have been charged with spoofing. Five of these people were employees of global financial institutions, two were traders at large commodities trading firms and one owned a technology consulting firm.

Spoofing involves placing buy and sell orders with the intent to cancel them before completing the transactions. The orders create the illusion of demand, which distorts prices in a way that benefits the trader's positions. So-called high-frequency trading, in which traders use computers to rapidly trade in and out of positions, has been a focus of investigators.

The traders named individually, ranging in age from 30 to 55, face accusations they manipulated various futures markets, including S&P index and precious metals, by placing hundreds, in some cases thousands, of "spoof" orders to induce other market participants to trade at prices, quantities or times they otherwise would not have traded, the Justice Department said.

They traded from their workplaces scattered around the world, from Chicago, New York, London, Zurich, Sydney and Singapore. Six of the individuals were named in both the CFTC and criminal charges. Two others were named in a criminal case.

"Spoofing is a particularly pernicious example of bad actors seeking to manipulate the market through the abuse of technology," said James McDonald, the CFTC's enforcement director. "The technological developments that enabled electronic and algorithmic trading have created new opportunities in our markets."

In a separate statement, John Cronan of the criminal division of the Justice Department said, "Conduct like this pose significant risk of eroding confidence in U.S. markets and creates an uneven playing field for legitimate traders and investors."

A spokesman for Deutsche Bank said in a statement, "The bank has provided substantial and proactive cooperation with the government's investigation and has enhanced controls and surveillance to help ensure that the underlying conduct does not occur in the future."

An HSBC spokesman said, "We are pleased to have resolved this issue." A UBS spokesman said, "UBS is pleased to have resolved this several-year-old matter. As the CFTC recognizes in the settlement, UBS self-reported this alleged conduct to the CFTC, cooperated fully in the investigation, and has long since remediated the conduct."

High-frequency trading, which gained steam as a strategy more than a decade ago with the popularity of electronic and computer-driven trading, brought with it a modern twist on trading abuses that have long affected financial markets. Though traders in past eras faced similar accusations of price manipulation, high-speed trading made it possible to carry out a scheme on a grander level.

Anti-spoofing rules were spelled out in the 2010 Dodd-Frank financial reforms, designed to clean up Wall Street after the financial crisis. Prosecutors and the CFTC set out to find cases but until now had only named traders working for smaller outfits or for themselves.

Michael Coscia, a New Jersey-based trader, was the first person to be tried. He was sentenced to three years in prison in 2016 for spoofing and commodities fraud, and his conviction was upheld on appeal last year. Prosecutors said Coscia made more than $1 million manipulating the prices of gold and other commodity futures using computer-generated trading strategies.