In a statement, Barclays spokesman Mark Lane said the bank was cooperating with the attorney general.
"We take these allegations very seriously. ... The integrity of the the market is a top priority at Barclays," Lane said.
The lawsuit alleges Barclays, which has headquarters in London, deceived investors about its dark pool, an electronic trading operation intended to shield them from the high-frequency traders who use sophisticated computer programs to get early access to pending orders and other market-moving information. The bank promoted a service it claimed was a "surveillance" system that would identify and hold accountable "toxic," "predatory" and "aggressive" traders, the lawsuit says.
Instead, the service "was essentially a sham," Schneiderman said. "Barclays has never prohibited any trader from participating in its dark pool, regardless of how predatory or aggressive its behavior was determined to be."
Information from former high-level insiders at Barclays and email evidence show that Barclays was determined to raise profits by making its dark pool, referred to internally as The Franchise, the largest on Wall Street, New York authorities said.
To help reach that goal, the firm "disclosed detailed, sensitive information to major high frequency trading firms in order to encourage those firms to increase their activity in Barclays dark pool," the complaint says.
The lawsuit also accuses the bank of misleading investors by telling them that it would spread orders around to various trading exchanges based on performance. In reality, it says, the bank was routing the vast majority of trades, 75 percent, to its dark pool.
The complaint says a Barclays executive was instructed to doctor a presentation to an institutional investor by lowering the figure to 35 percent. The change was made over the executive's protests, and he later resigned, it says.
The lawsuit asks the court to order Barclays to halt the behavior and pay unspecified damages.