Read Flash Boys: A Wall Street Revolt Online
Authors: Michael Lewis
**
ING, oddly enough, managed IEX’s then thirty-person 401(k) plan. Seeing this, John Schwall returned to his side career in private investigation. After some digging, he developed the opinion that any money manager who arbitrarily denied his clients access to markets might have violated his fiduciary responsibility. On those grounds, Schwall pulled the company’s 401(k) from ING.
††
Sixty percent of the time that this feeding frenzy occurs on a public stock exchange, no trade is recorded. The frenzy comes in response to a trade that has occurred in some dark pool. The dark pools are not required to report their trades in real time; and so, on the official tape, the frenzy appears unprovoked. It isn’t.
‡‡
The Financial Industry Regulatory Authority (FINRA) publishes its own odd ranking of the public and private stock markets, based on how well they avoid breaking the law, presumably inadvertently, by trading outside the National Best Bid and Offer. In its first two months of trading, IEX ranked #1 on FINRA’s list.
§§
The reader might question the characterization of such small-time skimming as scalping. But a penny here, a penny there adds up in the most extraordinary ways in the U.S. stock market. At IEX, the Puzzle Masters made a quick-and-dirty calculation of the likely profits made annually by HFT from dark pool arbitrage. They added up all its instances over a fifteen-day period, then came up with a number: The haul for HFT from the U.S. stock market alone came to more than a billion dollars a year. And this was just a single trading strategy. “They’ve been in business for ten weeks and they’ve now found four of these strategies,” said one big investor of IEX. “Who knows how many more they’ll find?” A billion here, a billion there: It adds up.
T
he trial of Sergey Aleynikov ran for ten days in December of 2010 and was notable for its paucity of informed outsiders. High-frequency trading was a small world, and the people who did it, or knew anything at all about it, apparently had far less interest in testifying at trials than in making their personal fortunes. The one outside expert witness on the subject called by the government was an assistant professor of finance at Illinois Institute of Technology named Benjamin Van Vliet. Van Vliet had become an expert in response to journalists’ need for one. While teaching a computer coding course, he’d cast around for something sexy for the students to program, and landed on high-frequency trading platforms. In mid-2010,
Forbes
magazine called him out of the blue to ask him what he thought about a fiber-optic cable that Spread Networks had strung from Chicago to New Jersey. Van Vliet had never heard of Spread Networks, and knew nothing about the cable, but wound up with his name in print—which, of course, led to more calls from journalists, who needed a high-frequency trading expert. Then came the flash crash, and Van Vliet’s phone rang off the hook. Eventually, federal prosecutors found him and asked him to serve as their expert witness in the trial of a former Goldman Sachs high-frequency programmer. Van Vliet still had never actually done any high-frequency trading himself, and had little to add on the value or the gist of what Serge Aleynikov had taken from Goldman Sachs. About the market itself he was badly misinformed. (He described Goldman Sachs as “the New York Yankees” of high-frequency trading.) He turned out to have testified as an expert witness in an earlier trial involving the theft of high-frequency trading code, after which the judge in the case said that the idea that a high-frequency trading program was some kind of science was “utter baloney.”
The jury in Sergey Aleynikov’s trial consisted mainly of high school graduates; all of the jurors lacked experience programming computers. “They would bring my computer into the courtroom,” recalled Serge incredulously. “They would pull out the hard drive and show it to the jury. As evidence!” Save for Misha Malyshev, Serge’s onetime employer, the people who took the stand had no credible knowledge of high-frequency trading: how the money got made, what sort of computer code was valuable, and so on. Malyshev testified
as a witness for the
prosecution
that Goldman’s code was of no use whatsoever in the system he’d hired Serge to build—Goldman’s code was written in a different programming language, it was slow and clunky, it had been designed for a firm that was trading with its own customers, and Teza, Malyshev’s firm, didn’t have customers, and so on—but when he looked over, he saw that half the jury appeared to be sleeping. “If I were a juror, and I wasn’t a programmer,” said Serge, “it would be very difficult for me to understand why I did what I did.”
Goldman Sachs’s role in the trial was to make genuine understanding even more difficult. Its employees, on the witness stand, behaved more like salesmen for the prosecution than citizens of the state. “It’s not that they lied,” said Serge. “But they told things that were not in their expertise.” When his former boss, Adam Schlesinger, was asked about the code, he said that everything at Goldman was proprietary. “I wouldn’t say he lied, but he was talking about stuff that he did not understand, and so he was misunderstood,” said Serge.
Our system of justice is a poor tool for digging out a rich truth. What was really needed, it seemed to me, was for Serge Aleynikov to be forced to explain what he had done, and why, to people able to understand the explanation and judge it. Goldman Sachs had never asked him to explain himself, and the FBI had not sought help from anyone who actually knew anything at all about computers or the high-frequency trading business. And so over two nights, in a private room of a Wall Street restaurant, I convened a kind of second trial. To serve as both jury and prosecution, I invited half a dozen people intimately familiar with Goldman Sachs, high-frequency trading, and computer programming. All were authorities on our abstruse new stock market; several had written high-frequency code; one had actually developed software for Goldman’s high-frequency traders. All were men. They’d grown up in four different countries between them, but all now lived in the United States. All of them worked on Wall Street, and so, to express themselves freely, they needed to remain anonymous. Among them were employees of IEX.
All were naturally skeptical—of both Goldman Sachs and Serge Aleynikov. They assumed that if Serge had been sentenced to eight years in jail he must have done
something
wrong. They just hadn’t bothered to figure out what that was. All of them had followed the case in the newspapers and noted the shiver it had sent through the spines of Wall Street’s software developers. Until Serge was sent to jail for doing it, it was common practice for Wall Street programmers to take code they had worked on when they left for new jobs. “A guy got put in jail for taking something no one understood,” as one of Serge’s new jurors put it. “Every tech programmer out there got the message: Take code and you could go to jail. It was huge.” The arrest of Serge Aleynikov had also caused a lot of people, for the first time, to begin to use the phrase “high-frequency trading.” Another new juror, who in 2009 had worked for a big Wall Street bank, said, “When he was arrested, we had a meeting for all the electronic trading personnel, to talk about a one-pager they’d drafted to be discussed with their clients around this new topic called ‘high-frequency trading.’ ”
The restaurant was one of those old-school Wall Street places that charge you a thousand bucks for a private room and then more or less challenge you to eat your way back to even. Food and drink arrived in massive quantities: vast platters of lobster and crab, steaks the size of desktop computer screens, smoking mountains of potatoes and spinach. It was the sort of meal cooked decades ago, for traders who spent their days trusting their gut and their nights rewarding it; but this monstrous feast was now being served to a collection of weedy technologists, the people who controlled the machines that now controlled the markets, and who had, in the bargain, put the old school out of business. They sat around the table staring at the piles of food, like a conquering army of eunuchs who had stumbled into the harem of their enemy. At any rate, they made hardly a dent. Serge, for his part, ate so little, and with such disinterest, that I half expected him to lift off his chair and float up to the ceiling.
His new jurors began, interestingly, by asking him lots of personal questions. They wanted to figure out what kind of guy he was. They took an interest, for example, in his job-market history, and noted that his behavior was pretty consistently that of a geek who had more interest in his work than in the money the work generated. They established fairly quickly—how, I do not know—that he was not just smart but seriously gifted. “These guys are usually smart in one small area,” one of them later explained to me. “For a technologist to be so totally dominant in so many areas is just really, really unusual.”
They then began to probe his career at Goldman Sachs. They were surprised to learn that he had “super-user status” inside Goldman, which is to say he was one of a handful of people (roughly 35, in a firm that then had more than 31,000 employees) who could log onto the system as an administrator. Such privileged access would have enabled him, at any time, to buy a cheap USB flash drive, plug it into his terminal, and take all of Goldman’s computer code without anyone having any idea that he had done it. That fact alone didn’t prove anything to them. As one pointed out to Serge directly, lots of thieves are sloppy and careless; just because he was sloppy and careless didn’t mean he was not a thief. On the other hand, they all agreed, there wasn’t anything the least bit suspicious, much less nefarious, about the manner in which he had taken what he had taken. Using a subversion repository to store code and deleting one’s bash history were common practices. The latter made a great deal of sense if you typed your passwords into command lines. In short, Serge had not behaved like a man trying to cover his tracks. One of his new jurors stated the obvious: “If deleting the bash history was so clever and devious, why had Goldman ever found out he’d taken anything?”
To these new jurors, the story that the FBI found so unconvincing—that Serge had taken the files because he thought he might later like to parse the open source code contained within—made a lot of sense. As Goldman hadn’t permitted him to release his debugged or improved code back to the public—even though the original free license often stated that improvements must be publicly shared—the only way for him to get his hands on these files was to take the Goldman code. That he had also taken some code that wasn’t open source, which happened to be in the same files as the open source code, surprised no one. Grabbing a bunch of files that contained both open source and non–open source code was an efficient way for him to collect the open source code, even if the open source code was the only code that interested him. It would have made far less sense for him to hunt around the Internet for the open source code he wanted, as it was scattered all over cyberspace. It was also entirely plausible to them that Serge’s interest was confined to the open source code, because that was the general-purpose code that might be repurposed later. The Goldman proprietary code was written specifically for Goldman’s platform; it would have been of little use in any new system he wished to build. (The two small pieces of code Serge had sent into Teza’s computers before his arrest both came with open source licenses.) “Even if he had taken Goldman’s whole platform, it would have been faster and better for him to write the new platform himself,” said one juror.
Several times Serge surprised the jurors with his answers. They were all shocked, for instance, that from the day Serge first arrived at Goldman, he had been able to send Goldman’s source code to himself weekly, without anyone at Goldman saying a word to him about it. “At Citadel, if you stick a USB drive into your work station, someone is standing next to you within five minutes, asking you what the hell you are doing,” said a juror who had worked there. Most were surprised by how little Serge had taken in relation to the whole: eight megabytes, in a platform that consisted of nearly fifteen hundred megabytes of code. The most cynical among them were surprised mostly by what he had
not
taken.
“Did you take the strats?” asked one, referring to Goldman’s high-frequency trading strategies.
“No,” said Serge. That was one thing the prosecutors hadn’t accused him of.
“But that’s the secret sauce, if there is one,” said the juror. “If you’re going to take something, take the strats.”
“I wasn’t interested in the strats,” said Serge.
“But that’s like stealing the jewelry box without the jewels,” said another juror.
“You had super-user status!” said the first. “You could easily have taken the strats. Why didn’t you?”
“To me, the technology really is more interesting than the strats,” said Serge.
“You weren’t interested in how they made hundreds of millions of dollars?” asked someone else.
“Not really,” said Serge. “It’s all one big gamble, one way or another.”
Because they had seen it before in other programmer types, they were not totally shocked by his indifference to Goldman’s trading, or by how far Goldman had kept him from the action. Talking to a programmer type about the trading business was a bit like talking to the house plumber at work in the basement about the card game the Mafia don was running upstairs. “He knew
so
little about the business context,” one of the jurors said, after attending both dinners. “You’d have to try to know as little as he did.” Another said, “He knew as much as they wanted him to know about how they made money, which was virtually nothing. He wasn’t there for very long. He came in with no context. And he spent all of his time troubleshooting.” Another said he had found Serge to be the epitome of the programmer whose value the big Wall Street banks tried to minimize—by using their skills without fully admitting them into the business. “You see two résumés from the banks,” he said. “You line them up on paper and say maybe there’s a ten percent difference between them. But one guy is getting paid three hundred grand and the other is getting one point five million. The difference is one guy has been given the big picture, and the other hasn’t.” Serge had never been shown the big picture. Still, it was obvious to the jurors—even if it wasn’t to Serge—why Goldman had hired him when it had. With the introduction of Reg NMS in 2007, the speed of any financial intermediary’s trading system became its most important attribute: the speed with which it took in market data and the speed with which it responded to that data. “Whether he knew it or not,” said one juror, “he was hired to build Goldman’s view of the market. No Reg NMS, no Serge in finance.”