Algorithmic Trading Glitch Costs Firm $440 Million
alstor writes "Yesterday an update to Knight Capital Group's algorithmic trading software caused massive volume buys and sells, resulting in large price swings on the New York Stock Exchange. As a result, the NYSE canceled some of the trades, but today the loss to Knight has been calculated at $440 million. Ignoring adjustments for inflation, this makes the cost of this glitch almost as much as the $475 million charge Intel took for the Pentium FDIV Bug, which might warrant adding this bug to the list of worst bugs. In light of this loss and the May 6, 2010 Flash Crash, perhaps investors will demand changes from firms using algorithmic trading, since the SEC is apparently too antiquated to do anything about it (PDF)."
Here http://www.youtube.com/watch?v=dOO9XxH5Nyo&list=UU6NBj2q25QL4kN8tqwU9c-A&index=2&feature=plcp
This space for rent.
For those not interested in going through all of the links just to find the one that links to the relevant article:
http://www.forbes.com/sites/steveschaefer/2012/08/02/knight-capital-trading-disaster-carries-440-million-price-tag/
A common defense of flash-trading is that it provides market liquidity in that it provides counterparties to the desired transactions of the rest of the market.
But I've yet to see someone discuss how the added-value of millisecond liquidity is substantially superior to having exchanges post transactions in 1-sec. intervals to discourage millisecond arbitrage during which no new events have occured and no new market analysis has taken place, only speculation and playing the system against proper investors? Can someone illuminate me on this point?
It's always a loss, never a gain.
I worked at one of the fine SXs - this happened to cover something up.
CAPTCHA = dodged
I'd tell the firm "too bad". It shouldn't be up to the NYSE to make sure companies don't do something stupid. Back in time a ways, when someone tried to game the system and then failed hard they would be ignored and forgotten. Now, with bailouts and do-overs and participation trophies, we ignore hard working americans who don't expect handouts and reward those who don't want to take responsibility for their actions.
-SaNo
Yesterday an update to Knight Capital Group's algorithmic trading software caused massive volume buys and sells, resulting in large price swings on the New York Stock Exchange. As a result, the NYSE canceled some of the trades...
So if I were to write an auto-trading script using the eTrade API, and as a result of a bug it made bizarre trades and I lost a lot of money, would the NYSE agree to cancel those trades? Didn't think so. Why should the big boys get a second bite at the apple? If you write an algorithm to do trading, then from the POV of the stock markets, that algorithm is you. (Just like the way user permissions work in Unix/Windows.)
Allowing mulligans and do-overs when well-connected firms make mistakes is only going to reinforce the perception that Wall Street is a casino rigged in favor of the rich.
If one of these bugs made hte company money, would there also be a retraction of the trades?
This is such horse snot. Why can't I as an investor be compensated for losses?
On the one hand, algorithmic trading can screw up royally and cost hundreds of millions in a matter of hours. On the other hand, human traders can screw up royally and cost billions over a few months.
I'm not sure which is worse. And of course in combination they can crash national economies.
I am officially gone from
Today, after the stock dropped 50%, analysts are beginning to downgrade the stock from buy to hold. Excellent analysis there!!!
http://finance.yahoo.com/news/knight-capital-downgraded-hold-buy-155956204.html
Apparently, losing 70% of their market cap in one day and shopping themselves around frantically hoping to be "acquired" before they go bankrupt is just "day-to-day minutia" for their CEO.
I am so against this robotic, automated, whatever-you-want-to-call-it trading that it serves Knight Capital Group right. I'm dancing a jig in the streets.
Why not just a single trade resolution per day ?
Currently it is a race to be fast and their are all sorts of manipulations about being fast and doing algorithmic trading.
Dropping back to a single trade resolution per day would make it so much cleaner. Or may as many as 4 just to keep the traders occupied.
Trades would be done with 2 parts. The trade info which would be encoded and a seprate unlock key. The trade and key are kept separate until resolution begins. That way trades can be logged, verified and locked yet unknown before the resolution point And fully published to all after the resolution.
Not only HST should be forbidden, but the whole day trading "buy now sell tomorrow" thing. I wonder how any government can think this kind of "trading" (more like gambling) does any good to the world. A very small tax would stop this insanity instantly.
The issue is canceling otherwise valid trades after the fact.
If you want to put computers in charge of your trading, then it's up to you to make sure that the programmers know what they're doing.
A $440M loss would make Knight Capital take a hard look at their trading platform. If they can't write decent computer programs, maybe they shouldn't put computer programs in charge of their trading.
But if Knight Capital gets a "do-over" because their programmers made mistakes, then Knight Capital has no incentive to improve.
Once again we get heads I win, tails you lose.
Some programmer's going to lose their job over this error that resulted in a $440 million loss. If the programmer had done the job properly, Knight would have lost $1 billion and been eligible for a government bailout.
common commodity prices like crude oil, foodstuffs, and energy, thus screwing you out of more of your money (remember, we bailed them out so they could screw us over with our own money!)
What's not to like?
Don't cancel the trades. If some idiotic "investment" firm lets a computer program spend hundreds of millions of dollars in seconds then good for them. They get to keep the profits and the losses.
If one of your human trader makes a typo or a computer program has a bug then bad luck, they should have had checks and limits to make sure it doesn't do too much damage to them.
The rest of us don't get do-overs.
Heck just last month I when trying to limp in $2 poker game I picked up two $100 chips and threw them forward by mistake - I didn't get do-over even though everyone at the table new I made a mistake, my $198 raise into a $5 pot plays.
I'm pretty sure if I accidentally typed 100 instead of 10 when making a trade on schwab.com I'm not getting a do-over if the trade completes.
This is Karma in action. The little guy gets some payback!
-Matt
You gotta wonder about the stability of the whole banking/investment/trading when a single bug can jack a major exchange around....
Yesterday an update to Knight Capital Group's algorithmic trading software caused massive volume buys and sells, resulting in large price swings on the New York Stock Exchange. As a result, the NYSE canceled some of the trades...
So if I were to write an auto-trading script using the eTrade API, and as a result of a bug it made bizarre trades and I lost a lot of money, would the NYSE agree to cancel those trades? Didn't think so. Why should the big boys get a second bite at the apple? If you write an algorithm to do trading, then from the POV of the stock markets, that algorithm is you. (Just like the way user permissions work in Unix/Windows.)
Allowing mulligans and do-overs when well-connected firms make mistakes is only going to reinforce the perception that Wall Street is a casino rigged in favor of the rich.
The reason they cancelled Knight's trades was not to save Knight from its incompetence; it was because those large, erratic transactions were radically altering the price of securities for everyone, including small traders. Those cancellations did not, necessarily, save Knight any money.
Your eTrade script could only influenece the market that if it was able to buy or sell huge volumes, which it probably can't since you probably don't have that much money in your eTrade account.
If they didn't sufficiently analyze the code they were going to turn loose in real time trading, and it did something they didn't expect it to do, then that's their screwup, and theirs alone, and they need to own it. Period.
I can see NYSE cancelling some trades because the volume of trading was getting people confused about what the pricing should be, but I can't see it as fair that they'd cancel trades as a favor to the company. If a day trader screws up and takes a bath on a stock due to poorly-thought-out trade orders, they don't get a do-over, those trades are placed and cleared and they're done, no going back. I don't see any reason wild program trades should be held to any lesser standard, and I see plenty of reasons why they shouldn't be. What the company needs to do is get some competent programmers in to code their algorithms properly, and get some competent analysts in to double check the coders' work and validate the algorithms, and be prepared to own their own s**t if the code does something like this. Sorry, no sympathy, these guys should d**n well know better.
Did this cause any of my limit orders to pay more than I wanted, or sell for less than I wanted?
No.
Did I lose any money?
No.
Did their poor strategy cost them a lot of money?
Yes, but it was completely preventable BY THEM.
I don't see why anyone should care.
I wouldn't want to be the developer whose bug caused a loss this big.
Wow, if you wanted to hand a juicy target to the Chinese or anyone else (Iran), here's a big fat target. Anyone know the the EFT systems are air gapped?
I am not a big tax guy, but someone (I don't remember the name) proposed a small tax on a per trade value basis. While this would increase my tax burden somewhat (I am of course an evil republican stock holder) it may also help reign in this high volume microsecond (nano) trading that these large firms use to basically game the system.
Conservative, mod down for violating
You couldn't ask for a louder "demand" than a $440M loss.
Warning: this article may contain humor, sarcasm, parody, and perhaps even irony. Read at your own risk.
Somehow, "Oops" doesn't quite cover it.
Why make a comparison with an event 15 years ago and ignore the different in value of the dollar?
Intels FDIV bug costs of $475M in 1994 is equivalent to $735M in today's dollars. I guess it's just not as impressive as saying "The cost of this glitch was a bit over half of the $475 million charge Intel took for the Pentium FDIV Bug."
If you want to make it sound more impressive, go back further in time "This loss was greater than the entire GDP of the united states in 1955 (ignoring adjustments for inflation)"
No way any of these trades should be unwound. You want to give an algorithm your wallet and let it make lightning trades on your behalf? Fine, but learn to live with the consequences.
This is exactly why I prefer writing games that sell for 99 cents on iTunes over writing either financial or healthcare (which I did for years) software. Much more fun, and more importantly, greatly reduced ramifications if something does go wrong.
Better known as 318230.
Okay if a stock moves over 15% within a couple minutes then that stock should be set to trade at 5 minute intervals for the next 4 hours (so you have to hold the stock for 3:59.00 minutes if you buy it when this trips). Any trading house attempting to trade outside Normal Limits gets put on a 1 hour delay (so they do a trade and it takes 1 hour to commit).
In short subsecond trading should not be able to cause wide swings in values (that multisecond trades can't also do)
Any person using FTFY or editing my postings agrees to a US$50.00 charge
... die by the sword, obviously.
I only post comments when someone on the internet is wrong.
made a few million dollars in seconds and is very happy - assuming this isn't just some emergent behavior "bug."
Please do not read this sig. Thank you.
If Iran was responsible it would have been nuked from orbit. Just more US double standards.
Why don't exchanges batch up all of the trades received in one second (or 5 or 10 or 60 second) intervals and execute them in random order?
There's no sane reason in a fair market why someone whose computers are located a few milliseconds (or nanoseconds) closer to the exchange should get his trades served before the guy who lives a bit farther away and is constrained by the speed of light.
Does HFT help the markets in any way?
Though I guess one benefit side effect of high frequency trading is that it'll help drive science since they'll be the first in line to pay for quantum entanglement enabled communication to get instantaneous data transfer.
bite the dust!
Twitter: @dainsanefh
The NYT link for the claim that NYSE "canceled some of the trades" makes no mention of any cancellations. Sounds like these were matter-of-course cancellations -- stocks whose prices swung more than 30% were subject to the canceled trades. Sadly, details about how the cancellations were done are not widely available in the press, so it is unclear whether these cancellations constitute corporate favoritism.
Us regular folk don't get to trade on the millisecond, hopefully Knight's loss helped balance that scale a little bit.
Is it possible at least some companies have money due to bugs? Even in this case, it is a zero sum game. Every trade has a counter party. So some group of traders collectively made 440 million due to this bug. If there is any reason to ban such high frequency algorithmic trading this is it. How long will it be before the programmers who are familiar with the behavior of the code in simulations, use their knowledge of bugs and failure modes, and collude with the counter parties to profit? How do we know it is not already happening?
sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
> Algorithmic trading glitch costs firm $440 million
Algorithmic trading glitch dumps $440 million into someone else's pocket.
Live by the sword, die by the sword.
(-1: Post disagrees with my already-settled worldview) is not a valid mod option.
Can someone illuminate me on this point?
I'll give it a try. High Frequency Traders (HFTs) are not investors, they are market makers. They find a willing buyer and a willing seller, arrange the transaction, and execute the trade. They make a profit on the spread between the buy price and the sell price. The problem is that once they locate the buyer and seller, they need to buy the stock from the seller first, then turn around and sell it to the buyer, but the buyer may have cancelled they transaction, or they may have already bought the stock from someone else, in which case the HFT is stuck with the stock and may have to sell it to someone else at a loss. If transactions are granulated to one second intervals, instead of say, millisecond intervals, then the risk of this happening is a thousand times higher, and the HFTs will insist on higher spreads, resulting in lower liquidity and higher transaction costs for both buyer and seller.
Since the introduction of high frequency trading, transaction costs have fallen considerably, saving plenty of people a lot of money. The only losers are the old market makers that used to have lucrative sweetheart deals with the exchangs Many of those old market makers are now bankrupt. Good riddance.
Now, let me turn the question around. What is wrong with high frequency trading? Other than people ranting about something they have made no effort whatsoever to understand, I haven't seen a single good argument against it. HFT was originally blamed for the 2010 "flash crash" but the full investigation found that HFTing actually made is less severe. Some HFTs have lost money because they screwed up their algorithms or fat-fingered a trade, but that is their own fault, they lost their own money, and for every penny they lost, someone else gained.
I have no personal interest in HFT, but I find desire of so many willfully ignorant people to control the behavior of others to be pretty disgusting. The advantages of HFT are pretty obvious to me.
Don't trade with money you can't afford to lose.
Apparently they can afford to lose $440million.
Not a single f was given this day.
Because having too many links in one paragraph is both visually annoying and just plain fucking stupid.
The bug could have had less affects if the operators actually used their minds like set a limit on number of transactions allowed per day. Or, this will blow high speed traders minds, actually hold securities for weeks/months/years and issue transactions recommended by the software by using real people. Maybe it is the value investor in me showing, but in my mind if your investment strategy isn't "this is a great company to own" but instead is "I think I can sell this to another sucker for more even though I have no clue if the company is good" you have a problem.
This is like driving on the freeway at 150mph on non-VR tires. While they may not blow, it is inevitable that they will and the results at that speed will not be pretty.
When Fascism comes to America, it will call itself Anti-Fascism, and tell you to give up your guns.
It becomes "rogue" when someone's flash trading scheme starts losing a shitload of money. Classic case where government has to come in and regulate. These traders will destroy themselves and the economy if left to their own devices; and if operating under the assumption that Daddy will come in and fix things if they screw up too big.
I swear to God...I swear to God! That is NOT how you treat your human!
Back in the 1990s I worked as a software developer at a company that monitored a large amount of data in real time. Not stock market data or particle accelerator data, but telephone switching data (SS7). They began selling the hardware/software package in the late 1980s.
If this amount of data can be monitored and displayed in real time using 1980s technology, why can't the SEC do it now for stock market data?
Contrast this to a very similar sized loss suffered by the Navy (or a shipyard insurance company?) when a guy got depressed and set a nuclear sub on fire the other day to get out of work... it is much easier for me to see a real loss in that case.
the tires are both blown and not blown until you actually try it.
Do you think Goldman Sachs pays themselves?
Non-Kinght people noticed the huge volume increase on the NYSE, but not the Knight people, Maybe they gave the job to a summer intern.
It's Robot Unicorn Attack for spoiled self-entitled jerks who have more money than they should.
"Worked on my dev box..."
Wow, I thought I was crazy trying to make money by throw a pair of dice.
With the sub-millisecond needs, this is plain overkill. Gamble away my friends.
New rule: any share of any stock must be owned by a single person and cannot be owned THROUGH others, and after purchase shall belong exclusively to the person who bought it until sold. Any share can only be sold ONCE PER DAY. Every share shall have a unique serial number, and THAT share shall bear with it a history of every person who ever owned it.
No more margins, derivatives, bundled-this or junk-that. What a glorious day that would be...
Contrary to TFS, Knight was not running algorithmic trading. They are a "market maker" for retail brokerages, like Fidelity, Vanguard, E-Trade and, in particular, Scottrade. (About 40% of Scottrade's traffic was going through Knight). The NYSE had just brought a new retail trading interface on-line, and Knight's software did not conform correctly to the protocol. As a result, it kept re-entering the same orders, over and over. These were small retail orders, just a few hundred shares each, but they were submitted to the exchange thousands of times.
The two outstanding questions are: Why was their interface not tested properly and why did it take them over 30 minutes to pull the plug?
measuretwicetradeonce
It is surprising that the best article on KCG's trades was not shared yet. Check out http://www.nanex.net/aqck2/3522.html for a fascinating look at the trades. Chart 3 shows a millisecond interval chart with around 40 trades happening in under a second, each buying at the offer and immediately selling at the bid. As Nanex put it "you now have a system that's very efficient at burning money".
https://en.wikipedia.org/wiki/Information_asymmetry#Adverse_selection has solution to this menace.
Casteism
If Knight took it in the chin, who were the winners?
First, let me state that I've created a petition for the Whitehouse with respect to this article:
Specifically, Knight Capital Group was operating a High-Frequency Trading algorithm (HFT), which, due to a purported bug, incurred large losses on Wednesday morning, August 1st, 2012. These losses were to the tune of 440 million. The NYSE Euronext (operator of the New York Stock Exchange) has agreed to cancel trades for everyone on on the six out of the 150 stocks for which Knight's HFT algorithm operated during the times of 9:30 to 10:15 am (ET). These trades are canceled for Knight, which lost money, as well as any other trader (large or small), which lost or made money (according to WSJ, possible paywall, link http://blogs.wsj.com/marketbeat/2012/08/01/nyse-to-cancel-trades-in-six-stocks-after-trading-snafu/).
While it may be true that Knight's HFT changed the value of those six stocks during that interval of time, any trade in fact, by individual or institution, will affect the value of any stock. The magnitude of those changes were larger than that which could be done by an individual, because Knight is an institution with a large market position and HFT technology. However, canceling trades because a large institution inccured a loss is, simply put, preferential treatment. In contrast, if their HFT technology had netted Knight 440 million that day, the NYSE Euronext would not be cancelling any trades.
It is my contention that any individual or institution who runs high-frequency trading programs cannot be allowed to keep winnings and then *also* be forgiven any losses. To give such perferential treatment is to violate the free-market assumptions of a fair exchange. It is already unfair that firms with HFT algorithms are given preferential information (e.g., the ability to see individual non-HFT trades before they are active), which alows them to make money in arbitrage positions. If HFT firms are given preferential treatment based upon outcome, then the markets are truely no longer fair.
Link to Petition:
https://petitions.whitehouse.gov/petition/address-preferential-treatment-stock-exchanges-supporting-high-frequency-trading-hft-over/Bm45mL2V
First, let me state that I've created a petition for the Whitehouse with respect to this article:
Specifically, Knight Capital Group was operating a High-Frequency Trading algorithm (HFT), which, due to a purported bug, incurred large losses on Wednesday morning, August 1st, 2012. These losses were to the tune of 440 million. The NYSE Euronext (operator of the New York Stock Exchange) has agreed to cancel trades for everyone on on the six out of the 150 stocks for which Knight's HFT algorithm operated during the times of 9:30 to 10:15 am (ET). These trades are canceled for Knight, which lost money, as well as any other trader (large or small), which lost or made money (according to WSJ, possible paywall, link http://blogs.wsj.com/marketbeat/2012/08/01/nyse-to-cancel-trades-in-six-stocks-after-trading-snafu/).
While it may be true that Knight's HFT changed the value of those six stocks during that interval of time, any trade in fact, by individual or institution, will affect the value of any stock. The magnitude of those changes were larger than that which could be done by an individual, because Knight is an institution with a large market position and HFT technology. However, canceling trades because a large institution inccured a loss is, simply put, preferential treatment. In contrast, if their HFT technology had netted Knight 440 million that day, the NYSE Euronext would not be cancelling any trades.
It is my contention that any individual or institution who runs high-frequency trading programs cannot be allowed to keep winnings and then *also* be forgiven any losses. To give such perferential treatment is to violate the free-market assumptions of a fair exchange. It is already unfair that firms with HFT algorithms are given preferential information (e.g., the ability to see individual non-HFT trades before they are active), which alows them to make money in arbitrage positions. If HFT firms are given preferential treatment based upon outcome, then the markets are truely no longer fair.
Link to Petition:
https://petitions.whitehouse.gov/petition/address-preferential-treatment-stock-exchanges-supporting-high-frequency-trading-hft-over/Bm45mL2V
Re-posting to attach Slashdot ID.