Slashdot Mirror


Wall Street and the Mismanagement of Software

CowboyRobot writes "Last week, a bug in high-frequency trading software from Knight Capital Group resulted in erroneous trades costing almost a half-billion dollars. So, what went wrong and how can they, or any other software developer, prevent something similar from happening again? In hindsight, it's clear that the developers did not verify the code under enough conditions. But the real issue is how these high-frequency trades work in the first place. Robert Dewar at Dr. Dobb's suggests the financial industry needs to take a page from the avionics rulebook, which has very strict guidelines about what code can be implemented due to the high cost of failure in that field. 'High-frequency automated trading is not avionics flight control, but the aviation industry has demonstrated that safe, reliable real-time software is possible, practical, and necessary. It requires appropriate development technology and processes as well as a culture that thinks in terms of safety (or reliability) first. That is the real lesson to be learned from last week's incident. It doesn't come for free, but it certainly costs less than $440M.'"

193 of 267 comments (clear)

  1. That's What We Did by crrkrieger · · Score: 3, Insightful

    Back in the late 90s when I was system admin for a trading company, they recruited me from a place that did 911 computer aided dispatch software. My shop, at least, recognized that some of the same reliability issues were at stake, so some people get it.

    1. Re:That's What We Did by gl4ss · · Score: 2

      loss stop.

      trading is done against other people or other peoples computer algos, so no matter what I guess you had some sort of loss stop? or pre-allocated funds which were manually accepted to go into trading? puzzling thing about knight capital is that they seemingly had neither and the robot had access to whole company credit as if were..

      --
      world was created 5 seconds before this post as it is.
    2. Re:That's What We Did by Anne+Thwacks · · Score: 4, Insightful
      You seem to assume that they want to stop the "accidents". You misunderstand the senario - the whole thing is a distributed Ponzi scheme. It works like a sort of "reverse pass the parcel". Each transaction takes a small percentage in brokerage fees as the underlying "commodity" gains or loses value. However, over time, the brokerage fees exceed the true worth of the commodity has in real life.

      The spectacular "losses" are the path by which the money leaves investors, and is syphoned off to pay the disproportionate brokerage fees.

      As a point of reference see gold - the value of gold traded between speculators each day is 1,000 times the value actually sold into industry/jewelery/etc - so a 0.25% brokerage fee on both buyer an seller is worth 5* the value of the gold that enters or leaves the market each day. Obviously, the additional margin actually paid by real life users for the benefits of a liquid market is a tiny fraction of the value of the gold - sometimes there has to be a "software problem" or "rogue trader" or, to use the colloquial term "scapegoat", to provide the money distributed on brokerage fees.

      I am not suggesting any one person is responsible for this - the banks have colluded to look the other way while this system has developed in an ad-hoc manner. In all probability, many of the so called "masters of the universe" are too stupid to understand what is going on, as it requires an understanding of the laws of maths, which they generally don't have. The few "whizz-kids" who could understand are "highly motivated" to look the other way.

      --
      Sent from my ASR33 using ASCII
    3. Re:That's What We Did by somersault · · Score: 4, Informative

      From the article I read recently, they had just put a new system into place, but they weren't even watching what it did, and had no "kill switch" in place to stop it immediately if it started acting up. Crazy. Maybe the programmers screwed up, but whoever was supervising the installation and running of the thing was a moron.

      --
      which is totally what she said
    4. Re:That's What We Did by Anonymous Coward · · Score: 1

      Not sure you understand market structure. They are a DMM and as such have direct market access. Also, most of their trades don't execute on an exchange. To add to it, US equities settle on a T+3 basis which means money isn't actually exchanged at the time of trade.

    5. Re:That's What We Did by fatphil · · Score: 1

      The weird thing is that I remember hearing about Knight Capital a few weeks before this in a similar context - so I think they must have fucked up the same way before (or this is bad reporing, and not "news" any more).

      --
      Also FatPhil on SoylentNews, id 863
    6. Re:That's What We Did by datavirtue · · Score: 1

      Reminds me of the axiom that software correctness cannot be verified/proved with 100% accuracy. Don't know if applies. Also, it takes me three days to settle trades; during that lag time do all trades act as a batch--with each subsequent stock price evaluated in order when they do settle? So all these trades fly around in a manic flurry, and three days later the piper gets paid based on the net outcome?

      --
      I object to power without constructive purpose. --Spock
    7. Re:That's What We Did by datavirtue · · Score: 2

      Maybe they were not a moron. Maybe they were just technical people detached from the business needs--equally as dangerous.

      --
      I object to power without constructive purpose. --Spock
    8. Re:That's What We Did by datavirtue · · Score: 1

      It seems we need an electronic system that levies no fees, as fees are becoming a dark incentive. Maybe they always have been.

      --
      I object to power without constructive purpose. --Spock
    9. Re:That's What We Did by somersault · · Score: 3, Insightful

      I'm one of the least business interested type techies you can have, but even I would know that the most important thing when doing stock exchange software is making sure that it's not doing anything retarded, and cutting it off immediately if it does. That's the type of thing that terrifies the hell out of me, and why I wouldn't really want to get involved in financial programming without a lot of supervision. Then again, maybe that means that some of the programmers who go to work for these places are idiots who don't think about consequences..

      --
      which is totally what she said
    10. Re:That's What We Did by malkavian · · Score: 3, Interesting

      That's the thing about "not doing anything retarded". There's a lot of things that can fit that description. The frame problem is what killed classic AI, and it's exactly the core of this problem. And it's probably more a problem for financial trading than it is for avionics.
      To get around that, you need a base set of heuristics from the experts. That's what a spec document is for, to determine the limits and boundaries along with the exact operation. I suspect that a fair bit of this gets rushed through in the attempt to get an algorithm out that's better able to play your opposition before your opposition gets their own one out that'll toast yours.
      Political pressure comes from on high to "get things moving now, what's the hold up?", and pressure is applied to the front lines to move it.
      Which comes back to a management failure. Some things take time to get right, and you have the option of managing the environment to allow for the latency until things come out right (which is a fairly meaty task, but means you largely go from stable state to stable state), or you can utilise politics to speed things up (and this frequently means corners are cut; always a risk, hopefully calculated, frequently not). This often means going from a stable state to an uncertain one, with the hope that things won't go bad enough, and you can fix stuff on the fly.
      Programmers aren't the ones in complex enterprises that should decide what's sane and what's not. That's for the people who have the experience in the field. If that info doesn't get passed on, it's pointless blaming a programmer (hey, go program exactly what I'm thinking of without telling you, and get it right!).
      Doing things the right way takes time and money. Financials are usually willing to spend money, but they're very used to getting things "now".
      That's something they may need to re-evaluate, and go back to the more old fashioned way of doing things, and taking time to ruminate, and double check.. They'll lose the maximum possible profit point, but keep things stable and still profitable.. Alas, many of them don't consider that acceptable, and want it all, and want it now.

    11. Re:That's What We Did by timeOday · · Score: 4, Insightful
      I find the comparison to the 911 hotline or avionics (in the summary) almost offensive. This $400,000,000 "loss" is just ownership changing hands in a zero-sum game; nothing was actually destroyed. Even individual investors (who spread their bets) were probably on both the winning and losing sides.

      It's NOT the same as airplane full of people being destroyed or an ambulance failing to show up. In fact, all the money the summary suggests pouring into perfecting HFT software would be a waste and a loss to the economy overall. The real question is how can we fix the incentives to get those HFT developers back working on avionics or 9/11 call centers or something else with real value?

    12. Re:That's What We Did by Anonymous Coward · · Score: 1

      Maybe they were not a moron. Maybe they were just technical people detached from the business needs--equally as dangerous.

      Without meaning any offence, that seems to be a common fallacy amongst some of the more non-technical dev staff in banks, just as much as the heavily technically focused developers often mistakenly believe that "business-focused" developers contribute the vast majority of unmaintainable/buggy code. You can survive in finance as either, but the best developers are both highly technical and spend their nights learning the business.

      In this case I have to agree with the OP - not applying automatic limits is beyond ridiculous. Techies know you don't build a system that exposes you to risk without a way to automatically limit that risk just as business focused-devs know you don't play with matches unless you have a fire extinguisher nearby.

    13. Re:That's What We Did by somersault · · Score: 4, Insightful

      But the real problem issue here isn't even the buggy software IMO. It was the way the software was put into place, not monitored, and nobody was ready to just shut it off if it started going haywire. According to the article I read, Knight hadn't even noticed a problem themselves - it was pointed out to them by the stock exchange that they were doing a very high amount of trades compared to usual, and it still took them half an hour or more to shut everything down. There should have literally been a big red STOP button in place to shut things down if they went wrong.

      --
      which is totally what she said
    14. Re:That's What We Did by mspohr · · Score: 3, Interesting

      I think the problem is that Knight doesn't pay any fees so is free to do as many trades as possible at no cost. This makes programmed trading possible.
      If there was even a very small fee (as some people have proposed), then the high speed programmed trading would not be profitable.
      Knight and others doing this type of trading are profiting from very small changes in price which they can see from their order book. They are "front running" the market and this has been illegal but I guess it is so profitable that the authorities are encouraged to ignore the man behind the curtain.

      --
      I don't read your sig. Why are you reading mine?
    15. Re:That's What We Did by whitroth · · Score: 1

      Oh? What city?

                    mark, Chicago, late nineties

    16. Re:That's What We Did by superflippy · · Score: 3, Informative

      Someone pointed me toward this article on another /. thread about the incident. Apparently, their testing program got packaged in with the code when it was deployed, and it's that test program that wreaked havoc.

      The Knightmare Explained from Nanex Research: http://www.nanex.net/aqck2/3525.html

      --
      Your fantasies contain the seeds of important concepts.
    17. Re:That's What We Did by Anonymous Coward · · Score: 1

      Why don't you think Knight pays fees? Why do you think they are front running customer orders? Can you explain how they do that? Their business model is making markets (being willing to buy or sell a security at any time) which involves risk and adds value to retail customers (by adding liquidity and decreasing spreads).

      Trading is not free, there are small taxes on sales that fund the SEC... This is just so misinformed...

    18. Re:That's What We Did by Dragonslicer · · Score: 1

      Maybe they were not a moron. Maybe they were just technical people detached from the business needs--equally as dangerous.

      Whenever I've done a rollout of a new version of a web site, we have always made sure that we have the ability to quickly revert to the old version in case something goes horribly wrong. It isn't something unique to the business needs of stock trading.

    19. Re:That's What We Did by colinrichardday · · Score: 1

      I thought the OP meant more like freedom from police-state surveillance as a civil right.

    20. Re:That's What We Did by cayenne8 · · Score: 1

      As if Romney's policies will get them jobs, or the Republicans will care about civil rights.

      I think we're all good on the civil rights thing....been in law for a long time now....I think we're all covered there these days.....

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    21. Re:That's What We Did by cayenne8 · · Score: 1

      I thought the OP meant more like freedom from police-state surveillance as a civil right.

      Kinda of like the democrat mayor of NYC, Bloomberg...is setting up a nice little surveillance society there (per article on slashdot yesterday)...?

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    22. Re:That's What We Did by colinrichardday · · Score: 1

      http://en.wikipedia.org/wiki/Michael_Bloomberg

      A Democrat before seeking elective office, Bloomberg switched his registration in 2001 and ran for mayor as a Republican, winning the election that year and a second term in 2005. Bloomberg left the Republican Party over policy and philosophical disagreements with national party leadership in 2007 and ran for his third term in 2009 as an independent candidate on the Republican ballot line.

      Is he really a Democrat now?

    23. Re:That's What We Did by cayenne8 · · Score: 1

      Is he really a Democrat now?

      With his nanny state outlook of govt (no more big soft drinks can be sold), and his recent anti-gun rants....yeah, I'd put him on the democrat side. Granted, he's on the more neo-liberal fringe of the party..but I'd lump him in with the Dems for sure.

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    24. Re:That's What We Did by colinrichardday · · Score: 1

      And given the Republican "nanny-state" treatment of sexuality, shouyld I label them as Democrats?

    25. Re:That's What We Did by Antique+Geekmeister · · Score: 1

      In what _possible_ way is stock trading a zero-sum game? Every transaction has a cost: like even the most efficient transfers of energy cause some gain in entropy. The idea that "oh, it will average out for individual investors" is ludicrous, because large scale "investment gorups" do, indeed, favor certain types of transactions and can have their assets completely ruined by such losses, and the businesses whose stocks are being traded can be destroyed by such chaos. The idea that other investors will gain those assets neglects both the destruction of the livelihood of the losers, but the loss of abilities to invest or loan further caused by the uncertainty.

    26. Re:That's What We Did by cayenne8 · · Score: 1

      And given the Republican "nanny-state" treatment of sexuality,

      Ok..you got me on that one.

      How have the Republicans, or Dems for that matter, regulated how I can have sex???

      I've not seen any laws on that....telling me I can, or cannot have sex (aside from with minors, forcible rape, etc).

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    27. Re:That's What We Did by colinrichardday · · Score: 1

      Republicans requiring vaginal ultrasounds for abortions for the protection of women..

    28. Re:That's What We Did by cayenne8 · · Score: 1

      Republicans requiring vaginal ultrasounds for abortions for the protection of women..

      Which Senators/Congressmen have pushed this bill through to law on this? I missed that.

      Also, you mentioned sexuality...not sure this directly applies to the topic you posed here. It is the results of sex...but not the act itself which you seemed to allude to previously.

      I think if you're talking on a state level...it ain't just republicans....I think that or something like it has Dem support for some bills like that in LA too....just recently put forth.

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    29. Re:That's What We Did by colinrichardday · · Score: 1

      It was the states, such as Virginia.

      http://www.nytimes.com/2012/02/29/us/virginia-senate-passes-revised-ultrasound-bill.html?pagewanted=all

      Alabama

      http://www.care2.com/causes/discomfort-is-the-point-of-transvaginal-ultrasound-bill-sponsor-says.html

      Sorry, I thought there were more. The Democrats opposed the Virginia bill; I'm not sure about the Alabama bill.

    30. Re:That's What We Did by datavirtue · · Score: 1

      Yeah, but the big WTF is that they did not know anything was wrong until it was too late. Sort of like building Frankenstein, then saying "oh shit!" while he chases you around the building. I'm dying to see a technical analysis of this made public.

      --
      I object to power without constructive purpose. --Spock
    31. Re:That's What We Did by EricScott · · Score: 1

      Stupid Article.

      They were watching it. Like a hawk. But it was another executable causing the problems that they didn't realize was running. I'm sure this will all come out eventually.

    32. Re:That's What We Did by Sean+Hederman · · Score: 1

      Actually it has very little to do with fees. HFT results in a very high number of orders, but very few actual trades. Recent research by Nanex actually shows that there are less trades today than there were a few years ago. Fees are based on trades, not orders. So your entire thesis is wrong. But hey, don't let a complete misunderstanding of the problem get in the way of pontificating at length about it.

      The fundamental issue with HFT is that we've taken strategies that were designed for human traders, and allowed them to be used by computers with nanosecond response times. The strategies used to be good ones, designed to advantage the broker who had a presence on the trading floor. Do they make sense now? Probably not. These strategies have the emergent feature of encouraging faster and faster trades. Even before computers took over we saw this in the mobs that used to form on trading floors, and the increased load on the floor brokers. Back then, it didn't matter too much, because the fundamental limit was the reaction time of a human being.

      Now, it's not. These systems are designed to be too fast for a human to monitor, so, more and more, humans are being taken out of the loop. This leads to the insanity at Knight. All their many, many previous deployments had gone off without a hitch, why would this one be any different?

      Disclaimer: I work at a stock exchange

    33. Re:That's What We Did by mcvos · · Score: 1

      I agree. This extremely short-term speculation makes the market too volatile and unreliable.

    34. Re:That's What We Did by cayenne8 · · Score: 1

      Sorry, I thought there were more. The Democrats opposed the Virginia bill; I'm not sure about the Alabama bill.

      I know what you mean...quite often, the national news blows these stories up and makes them think it is sweeping the nation.

      I think that the US requirements is a bit of a crock myself, no reason to push it on people...wish they'd drop it entirely.

      --
      Light travels faster than sound. This is why some people appear bright until you hear them speak.........
    35. Re:That's What We Did by pnutjam · · Score: 1

      Your misplacing the multiplier. He's talking about volume of gold, not price of gold.

      http://shockedinvestor.blogspot.com/2010/03/amount-of-gold-traded-daily-is-almost.html
      http://gata.org/node/8248

      His other speculations sound suspect to me.

  2. Wny not just tax trades? by Anonymous Coward · · Score: 5, Insightful

    First 100 trades in a day: free
    Next 1000, taxed at 0.02%
    Next 1000, taxed at 0.1%

    And so on.

    This would do wonders for the problem.

    1. Re:Wny not just tax trades? by sycodon · · Score: 4, Insightful

      Outlaw HFTs They just pervert the market.

      --
      When Fascism comes to America, it will call itself Anti-Fascism, and tell you to give up your guns.
    2. Re:Wny not just tax trades? by ShieldW0lf · · Score: 5, Funny

      If code like this works better than human judgement does, doesn't that mean we've made rich people obsolete?

      --
      -1 Uncomfortable Truth
    3. Re:Wny not just tax trades? by Anonymous Coward · · Score: 1

      You make a simple rule that "all trades must be initiated by a human", or words to that effect. That is, after all, exactly how it used to work in the past, and it worked just fine.

      Also, Trading Places would have been a far less interesting film if Eddie Murphy were replaced with a HFT algorithm.

    4. Re:Wny not just tax trades? by sourcerror · · Score: 1

      I would be enought to tax them at 0.0001% each, it wouls still seriously discourage HFTs, as they work with very small margins, but high volumes.

    5. Re:Wny not just tax trades? by BadgerRush · · Score: 1

      This is difficult (maybe impossible) to oversee/audit. The traders will just set thousands of subsidiary companies and each one will do only 100 trades/day.

    6. Re:Wny not just tax trades? by digitalaudiorock · · Score: 2

      ...or as others have suggested in the past, put a miniscule tax on each trade. That alone would be enough to make it go away. Either way, you're totally correct, there's just no place in the market for that BS.

    7. Re:Wny not just tax trades? by mister2au · · Score: 1

      HFT by itself does not pervert the market ... it creates liquidity which typically reduces volatility as well

      There are 2 main concerns though:
      1. algorithm errors which can cause runaway price movements
      2. front running

      in the first case, it has no impact on long-term investors and typically little impact on short-term traders but can act as a catalyst for wider sentiment moves .. but then so can many things (major bankruptcies, terrorist attacks, move in debt markets, etc) when the human traders are looking for triggers

      typically, the market will correct straight back to its original level and someone will have profited on the opposite side of the error

      in the second case, this is a major problem which is not strictly HFT but is an add-on to HFT ... it allows the HF traders to effectively take fractions of cents on every deal done at the expense of institutional and private investors (ie investors not traders) in return for increase exchange fees being paid

      so effectively the exchange are taking a small backdoor fee on every deal done while allowing HFT to keep some and assumed the real investors wont notice fractions of cents

      So i'd suggest HFT is fine but front running isn't - every trader/investor should have equal information or a simple trading lag (eg 1 second) would suffice

    8. Re:Wny not just tax trades? by Anonymous Coward · · Score: 1

      The "you're just envious, WAAA!" meme only plays to your base. It doesn't encourage anyone to change their minds AT ALL. It just makes you look more like the dick you are.

      And "Tax the rich!" plays to parasitic idiots dependent on government handouts.

      Does that statement also cover the legion of rich bastards who depended on government taxdollar handouts to avoid bankruptcy not that long ago?

    9. Re:Wny not just tax trades? by BVis · · Score: 1

      What's your point?

      --
      Never underestimate the power of stupid people in large groups.
    10. Re:Wny not just tax trades? by __aaltlg1547 · · Score: 1

      That would make being a large broker unprofitable.

    11. Re:Wny not just tax trades? by __aaltlg1547 · · Score: 2

      They long ago decided that the middle class was obsolete.

    12. Re:Wny not just tax trades? by leonardluen · · Score: 1

      so...GLaDOS operates the system so efficiently that she gets bored and decides to kill everyone, mostly just to see what would happen.

      Wheatley on the other hand manages the system so poorly that it all explodes and kills everyone.

      seems either way you get the same result.

    13. Re:Wny not just tax trades? by leonardluen · · Score: 1

      I thought that basically already existed through SEC fees. at least there is a few cents tacked on to every trade i make (on top of brokerage comissions). if the hft's aren't paying this, why not?

    14. Re:Wny not just tax trades? by sycodon · · Score: 1

      I admit I don't know the capabilities of the HFT software. What does it consider? What does it know? What does it value?

      But it seems to me that the act of placing a value on a company is more than just spreadsheet calculations. Apple is a good example of a company that on paper, would not seem like a good bet. Miniscule market share, higher than average prices for it's products, etc. But Steve Jobs was the intangible asset. Does the software understand these things?

      If not, and it is merely reacting to other trades for the most part, then HFT is bad, bad, bad. And even if it does, the disconnect between an analyst quantifying the intangible, passing it to the coders, testing and then keeping up with changes in the intangible would be a tremendous challenge.

      --
      When Fascism comes to America, it will call itself Anti-Fascism, and tell you to give up your guns.
    15. Re:Wny not just tax trades? by tnk1 · · Score: 1

      HFT doesn't care about companies, that's all long term thinking (relatively). HFT cares about whether the graph line of a particular stock rises above or beyond a certain calculated value against itself or an index or perhaps against other stocks in a segment, as very, very basic examples. In short, they are riding market trends, not tracking actual company value.

      It's like playing cards with cards made out of a variety of different materials: gold, platinum, toilet paper, plastic. The card you are holding might be worth more than all the money in the game, or it could be so worthless that you can wipe your ass with it. It doesn't matter. All that matters to the players is what the value currently printed on the card is and how they can match it with another trade to extract value. A pair of toilet paper aces beats a pair of golden twos every time. Determining if a company is golden or shit is not their job, they are trying to extract value from a side game of very short term price volatility.

    16. Re:Wny not just tax trades? by jedidiah · · Score: 2

      > And "Tax the rich!" plays to parasitic idiots dependent on government handouts.

      You're only a parasite if you're an individual. If you are a corporation then tax breaks and corporate welfare are all perfectly acceptable.

      That's the Republican Way.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    17. Re:Wny not just tax trades? by jedidiah · · Score: 4, Insightful

      As someone that actually stands to lose from Obama's tax policy, I understand the need to do my fair share in tough times. I also freely acknowledge that giving young families and recently graduated students more money will more likely cause money to move around the economy.

      Not everyone with money is a narcissist jackass.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    18. Re:Wny not just tax trades? by tnk1 · · Score: 1

      There are costs in setting up and maintaining companies. Just hiring staff to fulfill SEC reporting requirements alone would probably eat up the miniscule profits of a company only doing a few hundred trades a day.

    19. Re:Wny not just tax trades? by sycodon · · Score: 1

      Yeah...so in that case...outlaw it.

      --
      When Fascism comes to America, it will call itself Anti-Fascism, and tell you to give up your guns.
    20. Re:Wny not just tax trades? by gorzek · · Score: 1

      A random delay attached to each trade would also work. I'm not against the transaction taxes, either, though.

    21. Re:Wny not just tax trades? by datavirtue · · Score: 2

      And besides....when people talk of taxing something to bring about a social result they forget that the money goes to the government. What do they do with it? Where is it to be spent? Paying down debt/deficit? Why is there a deficit to begin with? Should the money be distributed to the "poor?" I would love to know where people picture the money going after it has been taken from someone as a tax. Do people picture it going anywhere? Do they think about allocation at all? Or is to affect a social outcome with no regard for the appropriation of resources. Let us not forget that money should equal resources...it is not a thing of value in and of itself. The lack of answers to these questions makes me nervous as the debate rages on and consequences become real.

      --
      I object to power without constructive purpose. --Spock
    22. Re:Wny not just tax trades? by Minwee · · Score: 1

      First 100 trades in a day: free

      That's okay, I will just make 100 trades every day. Then my coworker, Bob, will make the next 100. After that Bobb down in accounting will make 100 more, and then the intern Bobbb will take over the trading desk. After his 100 trades are completed Bbob from HR will do a little trading and then take off for lunch when the triplits Bbobb, Bobbobb and Booboo will have their turns... Did I mention that we just hired the entire fourth grade class at Bob Roberts Elementary School as Junior Traders for the summer? Little Bobby just can't wait to make a hundred trades.

      The markets are already just two giant foam mallets and a dunk tank away from being a Japanese game show. The more you complicate the rules, the more people will find ways to win by following them to the letter.

    23. Re:Wny not just tax trades? by datavirtue · · Score: 1

      When you figure yourself elite or royal there is no certain class structure, just everything below you. There is no such thing as a middle class to the elite; it holds no practical meaning to them. You should read The Power Broker, 1200 pages of "can't-put-it-down, Pulitzer Prize winning dose of reality." It shows you a real in-depth case of how a person (Robert Moses in this case), who views themselves elite, treats others in their mind and in daily life.

      --
      I object to power without constructive purpose. --Spock
    24. Re:Wny not just tax trades? by ColdWetDog · · Score: 1

      No, you get the cake in the first scenario.

      Moist, delicious, cake.....

      --
      Faster! Faster! Faster would be better!
    25. Re:Wny not just tax trades? by kodomo · · Score: 2

      I think the problem is that we all forget what it all this about:Trading should be about investment. Not especulation.
      A company that need to grow needs money, so it go public to look for investors, that put their money in the company.
      What good makes a company a "trader" that buys a stock and sells it 1 microsecond later for a profit. A speculator is *NOT* interested in supporting a bussines.

      So the focus should be in that. atract more investors and punish the speculator:
      1) No tax for trades kept for 1 month.
      2) 100% tax for trades bought & sold the same day (so you should sell it twice the buying price to don't lose money).
      3) Some nice tax curve in between (1-e^(t) it's my candidate ).

      That way, you should commit to your investments (like real men do)... but give a real movility (after a month) in case you want to capitalize quickly. Current system just feed the greed of some, and don't help the economy.

    26. Re:Wny not just tax trades? by Guavifo · · Score: 1

      What if I'm in favor of eliminating all corporate subsidies while at the same time restructuring our welfare system so that it no longer penalizes poor who work hard. Is that allowed?

    27. Re:Wny not just tax trades? by getSalled · · Score: 2

      For the second case, that is not the definition of front-running. Front-running is when a broker executes trades for its own benefit based on knowing what its customer's plan to do and is illegal. What you've described is someone/something taking on risk and providing liquidity for a small fee. It's also not a backdoor fee. It costs money to trade on the exchange -- that's how they make money and cover their costs. I know I notice the $8.95 it costs me to make a trade (I would much rather pay fractions of a cent per share). You also solve no problems with a trading lag. If you have one, the race is still to see who can get first in line but you just force all the incoming traffic to be at "N time" intervals. Trading has always been about the race in some manner. It's like Christmas shopping in the US -- if you aren't first in line, don't expect the best deals.

    28. Re:Wny not just tax trades? by royallthefourth · · Score: 1

      As if the market is not fundamentally perverse in its shaping of human behavior

    29. Re:Wny not just tax trades? by jedidiah · · Score: 1

      That's a pittance when compared to expensive military hardware even when you are talking one single instance of a particular bit of equipment.

      It's much like whining about the budget for NASA or NPR.

      --
      A Pirate and a Puritan look the same on a balance sheet.
    30. Re:Wny not just tax trades? by sycodon · · Score: 1

      I must have missed the part where High Frequency Traders are average Joes sitting at home in their P.Js runing HFT programs.

      --
      When Fascism comes to America, it will call itself Anti-Fascism, and tell you to give up your guns.
    31. Re:Wny not just tax trades? by mister2au · · Score: 1

      you are completely correct ... I was only suggesting that the impact amounted to fractions of a cent by being able to position ahead of the trades going through

      also didn't mean to suggest that there was actually any fee being taken ... rather that the traders that front-run pay result in in increased exchange fees which is why exchanges wont stamp it out

    32. Re:Wny not just tax trades? by khallow · · Score: 1

      You have a reason? Or are you just outlawing everything that isn't useful to you personally.

    33. Re:Wny not just tax trades? by EricScott · · Score: 1

      The problem is that there will be "exceptions" for certain groups. This is how its always been, and it always seems to go to the groups causing the.. um.. exceptions.

    34. Re:Wny not just tax trades? by pnutjam · · Score: 1

      It's amusing to me that all the comments talking up HFT's are always anonymous. I wish I had some mod points for the guy above me.

  3. Not a bug, but a test harness by Anonymous Coward · · Score: 5, Informative

    Reports have it that rather than releasing a buggy system, the problem was caused by running the test harness in a production environment. More here:
    http://www.theregister.co.uk/2012/08/08/knight_capital_analysis/
    http://www.nanex.net/aqck2/3525.html
    http://www.zerohedge.com/news/what-happens-when-hft-algo-goes-totally-berserk-and-serves-knight-capital-bill

    1. Re:Not a bug, but a test harness by fuzzyfuzzyfungus · · Score: 2

      Running a test system in a production environment sounds like a "buggy system"(albeit a system one level higher in the chain) to me...

    2. Re:Not a bug, but a test harness by Waffle+Iron · · Score: 1

      Reports have it that rather than releasing a buggy system, the problem was caused by running the test harness in a production environment. More here:

      That sounds like the time in 1979 when they mistakenly loaded a nuclear attack simulation tape into NORAD's actual online defense system and nearly started WWIII.

    3. Re:Not a bug, but a test harness by NatasRevol · · Score: 1

      I thought that was 1983?
      http://en.wikipedia.org/wiki/WarGames

      --
      There are two types of people in the world: Those who crave closure
    4. Re:Not a bug, but a test harness by gorzek · · Score: 1

      Yeah, it should be damned difficult to "accidentally" run your test system in a production environment. If it's not, then the separation between your test and production environments isn't nearly strong enough.

    5. Re:Not a bug, but a test harness by datavirtue · · Score: 1

      How do you fucking "mistakenly" do something like that? Really?

      --
      I object to power without constructive purpose. --Spock
    6. Re:Not a bug, but a test harness by Antique+Geekmeister · · Score: 1

      Welcome to Object Oriented Programming (especially Java, which is very popular among these companies). You are not supposed to pay any attention to what is on the other end of the data pipeline, you're just supposed to stream and process the data as absolutely fast as possible. Safety checks, input sanitization, and monitoring of transactions all take precious cycles which are actively discouraged in these high speed envirornments.

  4. So, sue the developer for the cost he caused. by G3ckoG33k · · Score: 2

    So, sue the developer for the cost he caused.

    That should teach him a lesson. ;)

    1. Re:So, sue the developer for the cost he caused. by kraut · · Score: 1

      So, sue the developer for the cost he caused.

      That should teach him a lesson. ;)

      Good luck recovering $400 million from an unemployed coder

      --
      no taxation without representation!
    2. Re:So, sue the developer for the cost he caused. by 140Mandak262Jamuna · · Score: 5, Insightful
      They will sue the unemployed coder for 400 million dollars. Some CXO will certify in good faith he hopes to collect the money. S&P will accept the certificate and rate the credit worthiness of the company AAA. Goldman Sachs will use S&P rating to sell the company to some poor smuck, your 401K mutual fund or my pension fund or our municipalities long term fund at 400 million over the true worth. Everyone involved in the racket will award themselves huge bonus, consultation fee and commissions. That is how 400 million dollars of profits are created, transferred to private individuals and the corresponding 400 million dollar loss for the counter parties are socialized. Either small investors, or government institutionalized investors, or straight forward government bail out. We are always the counterparties who are on the losing end of every such gigantic whoppers.

      America once had a great capitalism. Now we have the system where no matter what risk the rich insiders take, all the profits are theirs and all the losses are ours. A system where the ruling elites are protected from the consequences of their actions, where they can rig the game so that they win no matter what, is how societal collapse begins. Jared Diamond's book "Collapse" discusses specific case studies showing how it collapses. Greenland colonization from Iceland, Pueblo Indians, Easter Island were what he discusses in great detail.

      --
      sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
    3. Re:So, sue the developer for the cost he caused. by TheUnFounded · · Score: 1

      I assume this was tounge-in-cheek, but realistically, we're actually headed that way. Licensing boards for software developers, etc. The problem is, as a software developer, it's much more costly to fix 100% of bugs than it is to fix 98% and not worry about that last 2%. If we held every developer to task for every bug in software, we'd have a whole lot less software written, and what would be written would cost 10x as much.

    4. Re:So, sue the developer for the cost he caused. by Dan+Dankleton · · Score: 3, Interesting

      Oh, for an "I wish it weren't true" moderation.

    5. Re:So, sue the developer for the cost he caused. by BVis · · Score: 1

      So it's OK that out of 100 planes, 2 crash?

      Yes, bug-free software is essentially impossible. But you can get 99.99% of the way there. Yes, it costs a ton, in the short term. In the long term, you save/make money. But, like every other business in America, they're focused on quarterly earnings, not how the company does over 5 years.

      --
      Never underestimate the power of stupid people in large groups.
    6. Re:So, sue the developer for the cost he caused. by Errol+backfiring · · Score: 1

      And it will make it real easy to recruit his replacement.

      Actually, yes. All this HFT has sucked the real money out of the society, which is in a crisis (you might have noticed). So a lot of programmers would do anything for a job. Even high-risk jobs for the companies who caused the crisis...

      --
      Nae king! Nae laird! Nae yurrupiean pressedent! We willna be fooled again!
    7. Re:So, sue the developer for the cost he caused. by dcw3 · · Score: 2

      Do you know it was the developers fault? It could have been poor requirements. Maybe the customer was offered several choices, and decided to go with the cheap one that didn't include all of the needed error checking.

      This is a lesson in risk management, not only for the financial industry, but any company. Whenever your dealing with the possibility of a large financial loss, or potential harm to life, or property, a risk mitigation plan should be implemented. We do this for every project we work on.

      --
      Just another day in Paradise
    8. Re:So, sue the developer for the cost he caused. by datavirtue · · Score: 1

      your 401K mutual fund or my pension fund or our municipalities long term fund at 400 million over the true worth.

      Hold it right there! MY mutual fund manager would never buy that shit!

      --
      I object to power without constructive purpose. --Spock
    9. Re:So, sue the developer for the cost he caused. by jpmorgan · · Score: 1

      A nice story, too bad it's all made up. Knight is being held to the actions of their trading software, and they've had to sell 75% of the company to pay for it.

    10. Re:So, sue the developer for the cost he caused. by EricScott · · Score: 1

      Or a "You read my mind" moderation.

  5. Completely wrong by Anonymous Coward · · Score: 5, Informative

    It wasn't HFT software, it was regular trading software. The developers created a build of the software that included a module that generated lots of silly trades as test data. The software was hooked up to the exchange as a live test to ensure it would talk to the exchange correctly. Unfortunately, they used the software build that included the test trade generator, and those test trades started executing for real.

    It wasn't actually a bug; everything worked perfectly. It was more of a configuration management problem.

    The only relevance it has to HFT is that if the NYSE limited the rate of trades then a lot less money would have been lost.

    1. Re:Completely wrong by Anonymous Coward · · Score: 2, Funny

      Unfortunately, they used the software build that included the test trade generator, and those test trades started executing for real.

      And no one immediately caught the "real" vs "silly" trades bug because NO ONE CAN TELL THE DIFFERENCE!

    2. Re:Completely wrong by Anonymous Coward · · Score: 2, Interesting

      You are correct, this was not HFT. But the test software theory that Nanex put out is I believe wrong. First, it does not match the facts, there were not enough trades and enough spread to justify the losses.

      From parties involved in the matter I heard that their agency router had a latent bug, triggered by the changes introduced to support NYSE's RLP. The agency router incorrectly handled out-of-the-money limits as pegged orders, creating principal positions. The desk saw the principal positions, scanned all the principal strategies, saw no positions there and concluded the positions were errors. They never thought to look at the agency router because, well, it is the agency router, it *never* creates a position.

    3. Re:Completely wrong by DarthVain · · Score: 1

      LOL somehow to me that makes it worse.... WHOOPS!

      I mean it is one thing to get some complicated trading algorithm slightly wrong that takes advanatge of some arcane finincial construct and have it go out of wack making bad trades... That is bad, but I can understand how it might happen.

      Hooking a testing script to production and pressing the "GO" button is just stupid. I can just see the the sysadmin "ohshitohshitohshit, unplug it unplug it now!" ....670,000 trades completed... you made -420,000,000 dollars!... Hello World!

    4. Re:Completely wrong by Minwee · · Score: 1

      I can just see the the sysadmin "ohshitohshitohshit, unplug it unplug it now!"

      And that's what happened, Three different times. Take a look at this graph of trading volume on NYSE (Taken from Nanex's detailed analysis of market activity during the Knightmare on Wall Street). After the market opened at 9:30 the trading system immediately started going berserk. Eyebrows were no doubt raised and meetings quickly called, but it wasn't until 9:48 that the decision to shut down the entire system was made. There's a gap at 9:49 when Knight goes offline and then back up at 9:50 when their insane trading pattern resumes. At 9:52 the "ohshitohshitohshit!" faction regains control and shuts everything down again, but when it comes back at 9:54 nothing has changed. There's a brief pause where everybody heads back to their desks to get their emergency trousers and then the test system is finally killed, staked and put out in the sunlight by 10:00.

      So the lessons here are these:

      1. Don't schedule code promotions for after last call.
      2. Just because your monitoring and tracking system doesn't report something doesn't mean that it isn't happening.
      3. If you work in Capital Markets, always keep an emergency kit including clean pants in your desk. You know you're going to need them, it's just a question of when.
    5. Re:Completely wrong by rhsanborn · · Score: 1

      Also, remember that HFT and regular trade software is highly volatile. It is being changed daily. A trade strategy is only valuable for a relatively short length of time before competitors figure out your trade strategy and build other trade strategies to exploit your trade strategy. This is why treating financial software like avionics won't work. Go look at anything in the aircraft industry. It's all 10 year old technology. It's 10 year old technology for a reason, because it took that long to get it vetted and tested. The financial markets won't adapt to that model, because it eviscerates their general investment strategies, and when you do that, you don't make money.

    6. Re:Completely wrong by EricScott · · Score: 1

      200 times a second?

      For 29 minutes straight?

      Why did some stocks end up with 10s of thousands of wash sales, and other stocks result in principal positions?

  6. Shadow Trading by smtierney · · Score: 1

    Every time I have been involved with re-vamping some site or application that involved the handling of money, we would always shadow the existing system for an undefined period of time to make sure that things were working properly. Can't the trading world implement something similar to real-world test the software without actually launching it live? I always found this invaluable, and a huge stress-reliever.

    1. Re:Shadow Trading by __aaltlg1547 · · Score: 1

      That only works if you're a small time investor that doesn't affect prices significantly. Once you offer and accept trades in the real world the market starts to react to what you're doing in a chaotic fashion.

    2. Re:Shadow Trading by mister2au · · Score: 1

      They could and do with stable core systems, but ...

      suppose someone scatters $1,000,000 of cash in the street ... what do you do?

      plan out the lowest risk way to collect all the cash? well, you just got beaten by all the people who jump on it with elbows and knees flying everywhere and injures to be had

      that's kind of how HFT works !!!

    3. Re:Shadow Trading by tnk1 · · Score: 1

      No, that's not how HFT works. The implication is that HF traders are being beaten senseless in getting the money.

      HFT is more like hiring 1000 robots to stand on the very edges of the melee and watching for situations where the people fighting over the money trip in such a way that the HFT agent can step in and take money that falls out of pockets. Sometimes, the HFT trader will notice someone with a lot of cash that is precariously stuffed in pockets and throw some of his own money in that direction, hoping that a fight will break out that causes more money to fall out of the pockets that he or his robots can pick up. In no way does the HF trader actually get into a fight, as that would take too long and cost too much capital.

      A high frequency trader tries to predict when money will shake out of the system, even if the amount of money is tiny. They will then rely on speed to get at as many of those low value, but easy money trades as possible. The faster they are, the more money they make. The big fish won't be bothered with these scraps as they can actually go after juicy prey in a more direct manner. The HF traders will, under no circumstances, attempt to play with the big fish.

    4. Re:Shadow Trading by tibman · · Score: 1

      I recommend that we never do anything in a ring made of robots who watch our every move.

      --
      http://soylentnews.org/~tibman
  7. And Save What? More Fantasy? by knapper_tech · · Score: 3, Insightful

    It's already such a waste that so much talent is getting thrown at problems that seek to make money while producing absolutely nothing. HFT is cleverly sanding in the middle of a river in an eddy and dipping your hand in to tap power without getting pushed downstream. What does Wall Street actually produce? What is their product? Why should we care that they periodically lose their minds and shirts? If anything HFT should be taxed into oblivion so that excellent minds aren't recruited to deliver nothing of social value.

    --
    "There are some people that if they don't know, you can't tell them." ~ Louis Armstrong
  8. This will slow them down by TVmisGuided · · Score: 2

    Want to stem the flood of HFT software into the Wall Street environment? Pass a law that requires any such software to be written in Ada. Think that one through...

    --
    All the world's an analog stage, and digital circuits play only bit parts.
    1. Re:This will slow them down by Vintermann · · Score: 1

      You did notice the article was written by the president of AdaCore - developers of GNAT, The GNU Ada complier?

      For situations like this, where there's a fixed day the system has to be ready to (due to the opening of a new market) it may actually not be the dumbest thing you could do... but I don't think that is a common constraint for HFT trader programmers. In general, I think Jane Street Capital is more on the right track with their focus on functional programming. It seems you can get a lot of speed, correctness promise and good development time with Haskell/OCaml, if you can find people who are actually good at it (but that's a problem with Ada too).

      --
      xkcd is not in the sudoers file. This incident will be reported.
    2. Re:This will slow them down by TVmisGuided · · Score: 1

      Why do you think I mentioned it? Apparently, my sarcasm didn't translate...

      --
      All the world's an analog stage, and digital circuits play only bit parts.
    3. Re:This will slow them down by Sique · · Score: 1

      Taxing won't work. Instead of outright selling shares, I will give them to you as a security for the money you give to me, which in turn I will lend out and getting other shares as security. You in turn will give my shares to someone else as security for the money he lends to you. Only if you demand your money back I'll be forced to finalize the trade, and I'll do it with whoever has my shares right now as security.

      Instead of hundreds of HFTs, we have only a single one, which will be taxed with $0.01 per share. But we have hundreds of High Frequency Borrowings.

      --
      .sig: Sique *sigh*
    4. Re:This will slow them down by Errol+backfiring · · Score: 2

      Given the nature of finance these days, PLEASE DO write the software in Intercal. Or in Brainfuck.

      --
      Nae king! Nae laird! Nae yurrupiean pressedent! We willna be fooled again!
  9. Not comparable by Vintermann · · Score: 1

    High frequency trading programmers can't just talk to the government to try to convince them to give a bigger budget for safety. HFT programmers work under time pressure unlike anything in Avionics, because it doesn't just have to be ready by a certain fixed date, millions in profits may be gained for every day you can shave off development time.

    It's interesting, from a programming technical point of view, that functional languages like Haskell and OCaml are used in this domain. They don't offer the correctness guarantees of formal methods-style stuff like Misra C and SPARK Ada, but they have another approach to correctness, and probably much better development times.

    From a social point of view, of course, I'm pretty worried about HFT.

    --
    xkcd is not in the sudoers file. This incident will be reported.
    1. Re:Not comparable by MickyTheIdiot · · Score: 5, Insightful

      Is it me or are we continuously using "profits" as a excuse for bad *anything* and pushing that idea to an extreme?

    2. Re:Not comparable by UnknowingFool · · Score: 1

      The problem isn't the software but the culture. Frankly most code has bugs when released. The problem was there was a deadline and instead of delaying the release until the software was fully verified, they went with the release anyways to meet the deadline. The culture of Wall Street rewards risk taking and abhors rules even if the rules are best practices. I firmly believe one of the leading causes of the meltdown of 2008 was the repeal of Glass-Steagall in the 90s. Commercial banks and investment banks have diametrically opposite philosophies when it comes to money. Add in the pressure of shareholders for growth, it was a disaster waiting to happen. Even now after it turns out that the lack of regulation has caused these crises, Wall Street is still opposed to any regulation.

      --
      Well, there's spam egg sausage and spam, that's not got much spam in it.
    3. Re:Not comparable by hierofalcon · · Score: 2

      I'm not sure I'd agree with that part about taking money away from every stockholder, and all. Back in the old days before high frequency trading was in vogue, you would place a stock trade with your broker. Depending on the brokerage firm, it was amazing how many trades that were made claimed to be near the low of the day if you were selling or near the high of the day if you were buying. Of course proving anything was impossible, but the people actually doing the trading were still making a killing.

      Now, when you place a stock order you will in most cases in normal markets get it filled at the price that was being quoted when you hit the sell or buy, even if the stock has moved several dollars per share over the course of the day. This is largely due to HFT. Yes, they are making fractions of a cent each share traded and are making lots of money. But they are also providing the opposite side of trades that you want to make at a price near what is being quoted, That lets you, as an individual investor, get the price you have considered to be fair for the security.

      Yes, I know all about limit orders and other options to try to control the price you pay or receive and that is always an option, but HFT - when working correctly - has largely eliminated the need for them.

      All software trading algorithms are dangerous and can easily cause massive problems when they play against each other or feed on each other. I don't necessarily like them and wouldn't mind them going away. But to say they provide nothing of value is not true -even for a common stock trader who only does a few trades every few months.

    4. Re:Not comparable by NatasRevol · · Score: 1

      That's more likely to average people having the tools to see into the trading, not HFTs. I can (and have been able to since before HFTs) see the bid/ask price, my order and the transaction. All because of etrading tools, not HFTs.

      --
      There are two types of people in the world: Those who crave closure
    5. Re:Not comparable by hierofalcon · · Score: 1

      This was in the before time, before the Internet and e-trading, when you called your broker and talked to him or her to place an order. It was even before they graduated to phone systems where you could do "automated" entries of orders using your telephone handset. Not quite back to sticks and stones, but close.

  10. Warning to execs by jerpyro · · Score: 4, Insightful

    Maybe it should serve as a warning to executives to not release buggy software. I know a lot of shops that push things out the door before they're fully baked.

    In terms of the stock market, I don't see a problem. The long-term market wasn't affected, no value was created or destroyed, and those who played the game improperly lost out big time. Short term trades on the exchange are gambling. Anyone who tells you otherwise just wants your money. Don't forget, there's always a buyer *and* a seller. Just because Knight lost $450m doesn't mean other people didn't gain $450m.

    1. Re:Warning to execs by orlanz · · Score: 1

      THANK YOU. I had to come this far down to read a post where the poster may know SOMETHING about HFT and trading in general. People see "$450m" mistake and instantly think that is a BAD thing and that HFT is the culprit that must be stopped. I was losing faith in Slashdot.

      People, believe it or not, HFT is one of the few things that migrates power from the centralized, connected elites to the little guys (and if you aren't making $500k+ a year, you are the little guy). It is one of the few equalizers that is on your side. Before, being on the trading floor or in the box was worth the massive cost to be, now a days, it is more a symbol of "Wall Street" and "Markets" than anything else of real value. This is because electronic trading & HFT have made the location of the end user and their position in society less relevant.

    2. Re:Warning to execs by jerpyro · · Score: 1

      Managing hysteresis is part of playing the game. It's what turns it from statistics to statistics + psychology. "Too big to fail" is crap. If you wouldn't give someone your money to go to Vegas and play poker for you, then don't give them your money to go to wall street and play day trader for you. Everyone needs to remember that.

  11. maybe some like FAA code reviews by Joe_Dragon · · Score: 1

    maybe some like FAA code reviews there they just don't let any piece of code go in to a autopilot system.

    1. Re:maybe some like FAA code reviews by NatasRevol · · Score: 1

      Who do you think is going to review it?

      Have you seen the SEC and their 'protection' of shareholders?

      --
      There are two types of people in the world: Those who crave closure
  12. Not a problem by fastgriz · · Score: 2, Funny

    The SEC usually gives them a mulligan when a software boo-boo costs a big institution a lot of money. I never get a do-over when I make a bad trade though...

  13. Early-Breaking News: AGILITY! by Tackhead · · Score: 5, Funny

    A "safety culture" has infused the entire industry, with hazard/safety analysis a key part of the overall process. Until the software has been certified as compliant with the standard, the plane does not fly.

    Blair K., Certified Master of the Scrum, responded: "Well, that doesn't sound like a very agile process to me! "Certified" and "compliant with a standard" sound pretty waterfallish. Why not just have a 15-minute standup and decide to launch the plane? At last the aerospace industry could deliver aircraft on time and under budget."

    Customer wants their plane painted hot pink? We can totes do that, bros! Shouldn't take more than 24 hours to get to Home Depot and get a few cans of spraypaint. Delivered! And if bits of paint peel off at altitude and get sucked into the engine, gluing themselves to the turbine blades until catastrophic failure of an engine, well, we can just patch the paint recipe in the next sprint! Paint that's "hot pink" is part of this sprint. The user story about engines that don't fail is part of the next sprint.

    The real problem with aircraft design is that all our little user stories are in a big clunky database. If we printed out the database's contents (by hand!) on little 3x5 index cards, then we'd be using the best practices of both Scrum and Kanban. Our planes would be so damn agile they'd have turning radii measured in inches.

    When a senior engineer piped up that an aircraft with a turning radius measured in inches would kill everyone on board due to G-forces measured in the thousands of Gs, and would likely tear itself apart because the centripetal force far exceeds the tensile modulus of steel, titanium, carbon fiber, or anything else available, he was terminated because "switching from traditional tube-construction to blended-wing-body design made of unobtanium" was part of the next epic.

    1. Re:Early-Breaking News: AGILITY! by Vintermann · · Score: 1

      Very funny, but the avionics industry is based on real specs. As in, non-junk specs from people who actually know what they're talking about. In a perfect world, business software would have that too.

      But since it doesn't, doing enterprise systems in formally verified Ada would be equally much of a disaster in practice.

      --
      xkcd is not in the sudoers file. This incident will be reported.
    2. Re:Early-Breaking News: AGILITY! by Rob+Riggs · · Score: 1

      Very funny, but the avionics industry is based on real specs. As in, non-junk specs from people who actually know what they're talking about. In a perfect world, business software would have that too.

      Exactly. First, imagine a typical American MBA. Now imagine the requirement specs from that MBA.

      If you imagined written specs, you failed.

      --
      the growth in cynicism and rebellion has not been without cause
    3. Re:Early-Breaking News: AGILITY! by 140Mandak262Jamuna · · Score: 1

      You don't work for Fluent, or do you?

      --
      sed -e 's/Chuck Norris/Rajnikant/g' joke > fact
    4. Re:Early-Breaking News: AGILITY! by colinrichardday · · Score: 1

      Acceleration for an object in uniform circular motion is v^2/r, where v is the speed and r is the radius. For an airliner traveling 500 miles per hour (733 feet per second) and a radius of 1 foot, that would be over 500,000 feet per second squared. That is more than 16,000 g's. Good luck with that.

    5. Re:Early-Breaking News: AGILITY! by NatasRevol · · Score: 2

      Solution?

      Kill one trader for every $100M of losses.

      --
      There are two types of people in the world: Those who crave closure
    6. Re:Early-Breaking News: AGILITY! by Fnord666 · · Score: 1

      Blair K., Certified Master of the Scrum, responded: "Well, that doesn't sound like a very agile process to me! "Certified" and "compliant with a standard" sound pretty waterfallish. Why not just have a 15-minute standup and decide to launch the plane? At last the aerospace industry could deliver aircraft on time and under budget."

      That's not a problem. The only passengers on the first flight after each sprint has to be the developers, managers, and QA team though.

      --
      'The tyrant will always find pretext for his tyranny.' - Aesop's Fables
  14. what they really mean by slashmydots · · Score: 2

    What they really mean is they were too lazy to write "catch code." They spend all that time making it hyperintelligent then lazy out and don't write any checks and stops and tests into it. Just a tiny bit of heuristics would have detected that as a trade that maaaaybe might need a human to review for a second first. Even every version of Halo is the same way. Yes, is "shouldn't" happen but put in a check in the movement engine to see if the player is currently moving faster than running or falling should allow. Tada, no "superbounce" glitch. For MW3, if someone gets a score of 15 kills and 0 deaths with 100% accuracy, MAYBE they might be cheating and should be booted from the game. A little AI goes a long way, people. But nope, programmers are just too lazy. Once the product is "done," they're out of there!

    1. Re:what they really mean by Anonymous Coward · · Score: 2, Insightful

      You probably aren't thinking enough about the 'problem area' here. Note that I personally think HFT should be taxed into obscurity as it produces nothing and has the potential to cause real damage. But setting that aside, the whole point of these algorithms is to be HIGH FREQUENCY. Ie: fast. If you can get a quote (order) into the market, one ms faster than your competitor, you can make the profitable trade and your competitor won't. Any checks and balances you put in - will result in slower algorithms. It is a constant balance to squeeze out even a few more nanoseconds of performance versus putting in checks. You can make it perfectly smart and safe - and you will never make any money because its slower than the rest. Put in too few checks, and you risk losing a lot of money when some exceptional circumstance occurs that wasn't covered.

      Clearly Knight erred on the wrong side of the balance here, but within the context of HFT, its not just a matter of being 'too lazy' to write the checks.

      Disclaimer: I worked for a while in a HFT firm.

    2. Re:what they really mean by Walter+White · · Score: 2

      What they really mean is they were too lazy to write "catch code." ...

      Hardly the case.

      Trading systems make money by being the first to respond to incoming bids and offers. Add some "catch code" and the system will lose that race and make no money. Trading system developers routinely examine the code in system calls and libraries to see which calls will execute the fastest and if they can write custom code that will execute faster. It's not laziness but rather a design requirement.

    3. Re:what they really mean by Nrrqshrr · · Score: 1

      Well I don't think it's a programmer's fault. Such checks could of course be easilly made, but the amount needed and the testing time for all of this might add to another day of developement. And as you know, god forbids another of day of developpement if we could be making millions by then.

    4. Re:what they really mean by slashmydots · · Score: 1

      That is pretty true these days. How many games get released with 1000 flaws that are patched over the next couple months just because the parent company sends an e-mail to the programmers that says "WE WANTZ MOAR MONEYZ NOW!" and they use the end users as testers. If there's not even time to finish the product, there certainly isn't time to make it safe once it runs properly...except if you know anything about the SDLC, that'd be considered a "feature creep" unless of course you put checks and safeties into the project from the get go. That would assure it would get done.

    5. Re:what they really mean by dcw3 · · Score: 1

      What they really mean is they were too lazy to write "catch code."

      I'm not saying it isn't the programmers fault but... Unless you know this first hand, I'd suggest that you're pointing a finger w/o enough evidence. Sure, the programmer probably made a coding error, or didn't put in error checking. Do you know that (s)he wasn't handed a poor set of requirements? Do you know that Knight didn't ask/pay for the cheap option instead of one with all the bells & whistles (error checking)?

      I've worked on enough projects to know that there's a constant struggle between engineering and management. Engineers would like to create the best product we can, and management is always trying to get the product out the door as quick and cheaply as possible. At some point, they compromise, or management just says, you have until tomorrow or you can find another job (I'm only slightly exaggerating). I've seen Configuration Management load the wrong version of code into a delivery. I've seen requirements specs where you couldn't begin to guess what the customer really wanted.

      --
      Just another day in Paradise
  15. There's no downside by cellocgw · · Score: 1

    When HFT "works," the trading company makes tons of money. When a "bug" hits -- and said bug causes a loss, rather than an unintended gain --, the trading company writes it off its taxes or gets TARP-III to cover. Why worry about bugs? Or, more accurately, it's like being chased by a bear. You only need to run faster than the other guy. Fewer bugs in your HFT code than Other_Big_Trading_Co and you're ahead of the game.

    --
    https://app.box.com/WitthoftResume Code: https://github.com/cellocgw
  16. Re:And Save What? More Fantasy? by Anonymous Coward · · Score: 1

    Exactly. It's not as if anyone died. A company pushed software to production, it was buggy, and they lost $BIGNUM. Shit happens, move on. This is exactly the microsecond-latency Darwinian survival game that Knight and others helped to create; I don't see why I should shed a tear when it bites them in the ass.

  17. High Frequency Gambling by dutchwhizzman · · Score: 2, Interesting

    It should be called high frequency gambling and taxed as such. It has nothing to do with the (perceived) value but only with a gamble on what the sentiment and competing algorithms will produce as the next stock or derivative price.

    Any derivative trade and any stock trade that is done within 28 days of purchase should be taxed as gambling. It's nothing more or less than that so it's fair if these big online casino's get their profits taxed so the rest of us can profit too.

    --
    I was promised a flying car. Where is my flying car?
    1. Re:High Frequency Gambling by ed1park · · Score: 2

      Warren Buffett suggested a 100% short term capital gains tax to eliminate all market volatility to foster real growth and investment. So simple, it's genius. Short term capital gains is all investments less than 1 year old. We could start off with just securities.

      Occupy Wall Street should make this their top goal.

    2. Re:High Frequency Gambling by Anonymous Coward · · Score: 1

      used to be here that gains on stock owned less that three years were taxed as regular income

    3. Re:High Frequency Gambling by fuzzyfuzzyfungus · · Score: 1

      What I'd like to see, just for giggles, would be a rewrite of the rules for various games commonly gambled on(eg. poker) into the forms and terms of 'legitimate' financial transactions, followed by some test cases in jurisdictions where gambling is tightly regulated; but derivatives trading(that, um, just so happens to be based on the future outcomes of certain playing card distributions...) is not. You might even be able to treat your winnings as capital gains, rather than income, and write off your 'capital losses'(which I'm pretty sure you don't get to do on normal gambling losses)...

    4. Re:High Frequency Gambling by fatphil · · Score: 1

      Argh - you mentioned the i-word. Twice!

      The glorious and magnificent modern *science* (it's true - they've got a formula!) of speculation has nothing at all to do with that old-fashioned i-word.

      --
      Also FatPhil on SoylentNews, id 863
  18. One loss of $500m is another's gain of $500m by Anonymous Coward · · Score: 5, Informative

    This isn't the equivalent of $500m of infrastructure burning down. The money was lost by some investors, but gained by other investors.

  19. Re:And Save What? More Fantasy? by dkleinsc · · Score: 1, Insightful

    In theory, what Wall St is supposed to produce is investment directed at useful activity - for instance, if making solar panels is useful, and making fake cold fusion devices is not, Wall St is supposed to ensure that the solar panel company gets investment capital to make more solar panels while the cold fusion company does not.

    In practice, this doesn't happen as well as it should because many investors are stupid and believe the hype (e.g. Facebook IPO), and even more try to profit off of other people believing the hype by successfully selling securities for more than they're worth.

    --
    I am officially gone from /. Long live http://www.soylentnews.com/
  20. Test People by stuffduff · · Score: 3, Interesting

    "Anyway, no drug, not even alcohol, causes the fundamental ills of society. If we're looking for the source of our troubles, we shouldn't test people for drugs, we should test them for stupidity, ignorance, greed and love of power." -- P. J. O'Rourke

    --
    "Can there be a Klein bottle that is an efficient and effective beer pitcher?"
  21. costing almost a half-billion dollars by bug1 · · Score: 1

    Cost the company half a bil, the rest of the market says Thanks :)

  22. It's all ethically wrong so karma is served. by pointyhat · · Score: 1

    High frequency trading is ethically wrong and high risk so this sort of shit should just be accepted as collateral from the investors. Instead they sue the shit out of each other. Unfortunately, it's survival of the fittest and richest asshole with the best lawyers at the end of the day.

    As for bugs, they happen. HFT/algothmic trading is based on constant optimisation hacks which are rarely tested properly. There are no test. A model is provided, someone codes it and they throw it out. This can take a matter of minutes to hours. Don't expect it to work every time.

    If you piss around with funds via HFT, expect to get burned.

    (I used to work in HFT - it's a scam).

    1. Re:It's all ethically wrong so karma is served. by __aaltlg1547 · · Score: 1

      It doesn't matter how much testing you do if your system doesn't have an absolute failsafe condition that simply stops trading when things start looking dicey. You can never model what other HFT programs are going to do to the market because they keep changing and they are the only thing you're playing with on the HFT bandwidth. Real investors are too slow to respond to make a difference to your program.

  23. Re:And Save What? More Fantasy? by Sique · · Score: 1

    It's just the "law of the great numbers fallacy" in disguise. Yes, long term the coin will flip to each side with about the same rate. But for the next coin flip, it's 50%, whatever the current rates are. Each coin flip is completely independent from all the coin flips that happened in the past.

    Yes, long term, Wall Street will funnel investments to the right companies, and if you calculate an average over all trades you will find that with 99.% certainity it works. But the next trade is more or less random chance, and with random chance, it will produce a negative outcome. That means each trade can be bad, and just because you had a long sequence of bad trades, it doesn't mean the next one will not be bad too.

    --
    .sig: Sique *sigh*
  24. I think the article is premature. by tazan · · Score: 1

    I don't think the problem was a software bug at all, or that they deployed without enough testing. Another article mentioned they deployed their test system with the production software. I think this was probably a packaging issue. Or even a network issue, where they plugged their test system in to the live network accidentally. It's entirely possible the problem is too much software testing.

  25. Can't test this enough. Period. by Delgul · · Score: 1

    Under normal circumstances you can build a test-suite that will present the software with a large number of scenario's and see if it still gives the 'correct' answer after a code update. However, here the 'correct' answer is not really clear. You are trying to test the results in a highly chaotic system of which you do even understand the mechanics, cannot simulate correctly and cannot measure. On top of that, your software is going to actively influence the dynamics of the very system you are working in, making things even more difficult. Impossible to test anything but some basic stuff really...

    You could create software monitoring the actions of the trading software to some extend however. This is probably the only way to go...

  26. Just let them blow up by GlobalEcho · · Score: 1

    It makes no sense for everyone to be so concerned about the survival of companies like Knight -- especially people opposed to algorithmic trading in the first place. Just let firms like Knight blow up! Their loss is others' gain, after all.

    There was half an hour of wacky behavior in certain stock prices during Knight's whole blowup process, but that affected essentially zero long-term investors. Long-term investors don't need protection from this sort of incident.

    Now, a flash crash is a bigger deal since it is more of a market-wide disruption. I still believe that long-term investors have little to worry about in one since the essential characteristic of such an incident is that it is over quickly (certainly none of my personal investments were ultimately affected by the flash crash). But, to the extent it is worth regulating to prevent another flash crash, I think software verification would be an overcomplicated and ineffective means of achieving that goal.

    I'll also state that long-term investors have little to worry about from high-frequency traders. The whole point of HF firms is that they make a few pennies per trade. That's far less than the brokerage fees paid by long-term investors, so why complain about the profits made by HF firms rather than by the grasping brokers?

    1. Re:Just let them blow up by Khashishi · · Score: 1

      But, fundamentally, there isn't really any difference between this and a flash crash, except that a flash crash might have more than one algorithm involved, with multiple firms dumping multiple shares. Ideally, such a crash should only hurt those stupid firms that are involved in the dumping. The problem is that those stupid firms are big banks that own everything and affect anyone with a bank account. And they'll just get bailed out rather than failing.

      The whole problem stems from the fact that the stock market has been perverted (by design) into a system where the focus is on the trade and not the ownership of stocks. The basic idea of a corporation is that people can own a part of a company in a sort of super-partnership, and have some vested interest in how the company performs, and have some say in the direction of the company by serving on the board. Of course, the rules of public trading have totally destroyed any connection between the stockholder and the company. Shares are nothing more than trade-able titles, no different than properties, futures, and sub-prime mortgages. It's all just a gambling game. Except that if you are big, you can't lose.

      I've said this before, and I'll say it again. We need to get rid of stupid rules against "insider trading" as if it were somehow wrong to be knowledgeable about a company that you have a part-ownership in. Shares can't be just gambling chips, but need to regain their status as legitimate interests in a corporation. This is the best defense against these automated trading algorithms, which shouldn't be able to compete against people who actually are involved in the company. A common rebuke is that common proletarians don't have the same access to insider information as elite businessmen meeting in country clubs. This just means that the common person needs to look more local. If ze can't get information about a corporation, ze shoudn't be buying it.

  27. Re:And Save What? More Fantasy? by fuzzyfuzzyfungus · · Score: 4, Interesting

    The really troubling thing (to my mind) is not so much the 'what does Wall St. produce?' question(which, as you note, is ostensibly 'capital allocation'; but the 'how efficiently do they actually produce it?' question.

    In a non-pathological market situation, you would hope to see Wall St.'s share of the economy as a whole be static or declining(as newer technology makes allocating capital easier and less expensive) and the demand for 'capital allocation' exist only so far as other business sectors find that more efficient capital allocation makes them more efficient and productive(in the same way that you would want to see any other support function of a business kept in line with the business overall. You wouldn't want your IT group consuming a greater percentage of your total economic output every year). Trouble is, that isn't what the numbers reflect.

    Instead of acting as other suppliers do, and having their health and size depend on the success of the customers, the financial services sector has managed to capture a steadily increasing share of the value relative to other sectors. Absolute growth would be one thing, if the economy as a whole is growing; but relative growth, in terms of percentage of total output captured, suggests a substantial increase in the market(and regulatory) power of financial services without necessarily any increase in the value of their product to their customers. That is bad.

  28. This is not a S/W development problem. by Walter+White · · Score: 1

    Avionics and trading systems differ in a fundamental way.

    Once the plane leaves the ground (or even reaches significant speed on the runway) any malfunction becomes catastrophic. And it becomes catastrophic to third party participants. This warrants the extreme measures taken to vet avionics S/W, H/W, pilots, manufacturing, maintenance and so on.

    Financial systems have no such characteristic. A problem can result in losses that can run up to catastrophic levels only if allowed to run unchecked. And the losses accrue to the organization operating the S/W. Third parties are harmed only to the extent that they trusted the trading organization. In this case it was not the bug that resulted in $440M loss but rather the lack of oversight that would have shut it down before the loss grew so large. Had someone been watching, it would have been obvious that there was a problem within seconds of the open and the system could have been shut down and rolled back.

    Anyone suggesting that the S/W should have more checks built into it to prevent this problem has a shallow understanding of the domain. In order to maximize profits the trading system must be the first to respond when an order or bid is received. Developers routinely examine the source code for system calls to determine which ones will execute the quickest in order to minimize latency in the system. The systems also reside in closets in the same building that houses the exchange to reduce network latency. They are not going to add additional code to provide sanity checks. And in any case, it is unlikely that sanity checks can be guaranteed to catch all problems so there will always exist the need to monitor system behavior.

    Another facet is 'time to market' for the trading S/W. Having the "next great algorithm" ready in days vs. weeks or months may mean the difference between making money or not.

    This approach entails risks that the business people are aware of and willing to take based on the potential reward. It boggles my mind that the business interests at Knight did not address these risks by putting into place effective monitoring that would have prevented this catastrophe.

    It really has little to do with S/W development and all to do with addressing and managing business risk.

    1. Re:This is not a S/W development problem. by ceoyoyo · · Score: 1

      Ah, someone who thinks that making software perform correctly involves putting in lots of little band-aid... er, sanity checks.

      It's quite possible to write code that is correct in itself. No checks necessary. In the aviation industry "oh, it fails sometimes but the sanity checks catch it" isn't good enough. In this case, if they'd been a little more careful, they wouldn't have had a problem.

      Software failed in a situation where it shouldn't have. Therefore, it is a software development problem.

  29. Avionics != Cutting edge by torkus · · Score: 2

    Sorry but this whole idea doesn't 'fly'. Avionics are *NOT* the type of cutting edge technology used in stock market matching engines or HFT engines. Avionics are designed to be utter reliable to such a degree that they wind up using older tech. The deployment and approval cycle is also long enough that 'new' for a plane is probably years out of date.

    HFTs on the other hand, are bleeding edge systems with essentially a cost-is-no-factor approach. You're talking about a world where microseconds are very litterally counted. 10G and higher network connections - not for data throughput but because it lowers latency but a small but appreciable amount. No, they obviously don't want the FUBAR situaion Knight had because of pushing tech but to assume the stock market is using tech with any resemblance to what's in the DreamLiner shows a lack of understanding of both worlds.

    Let's use a car analogy! Sure you can make a race car utterly reliable and safe - it's called a Volvo.* It will undoubtely get you to the finish line for race after race after race with no maintenance while the cars meant for the race break down, crash, need maintenance and so on. Just like race car accidents, you don't usually hear about trading mistakes unless they're spectacular.

    *substitute your own preferred car mfg

    --
    You can get rich if you own a politician, but you have to be rich to buy one in the first place.
    1. Re:Avionics != Cutting edge by ceoyoyo · · Score: 1

      You're right, but that doesn't mean they couldn't take a few hints from other industries.

      Hooking the new software up to run in parallel with the old for a while, without actually executing trades, might be a good place to start.

  30. Here's a proposal by __aaltlg1547 · · Score: 1

    Assess actual damages to other investors on the exchange caused by high frequency trader actions to the high frequency traders that caused the meltdown. Since nobody can absorb a loss of that size without being destroyed, traders will exercise reasonable caution or other investors will wind up owning all of their assets.

    1. Re:Here's a proposal by torkus · · Score: 1

      You misunderstand...something. I'm not sure what.

      HFT is alleged to be a problem for non-HFT firms. But the 'damage' is impossible to quantify or even justify. They make trades just like joe schmoe, just far faster. Unless you're going to say that me dumping a stock I dislike or buying one that I think is good causes damages this becomes impossible.

      If you're looking at the 440MM loss from this HFT issue - it's not fake or hidden. Knight is very much taking a half-billion dollar hit to their income and portfolio.

      --
      You can get rich if you own a politician, but you have to be rich to buy one in the first place.
    2. Re:Here's a proposal by Khashishi · · Score: 1

      Damage? AFAIK, Knight is the only one who got damaged here by its own stupidity. This is good for everyone else.

  31. Step 1 by ilsaloving · · Score: 2

    Stop bailing these bastards out every time they screw up.

    1. Re:Step 1 by torkus · · Score: 1

      Do people even read the *titles* or just see "wall st" and cry out about bailouts this and unfair 1% that?

      No one is bailing them out. This lesson cost the company a half billion dollars. Is that brutal enough for you?

      --
      You can get rich if you own a politician, but you have to be rich to buy one in the first place.
    2. Re:Step 1 by phantomfive · · Score: 1

      YES, This, 100 times this. I don't care if Wall Street wants to play their little games, but when they fail, they need to fail. If anyone is going to be bailed out, it might be the people who were hurt unfairly by the schemes (for example, keeping the money-markets liquid was probably a good idea in 2008), but let the banks fail.

      --
      "First they came for the slanderers and i said nothing."
    3. Re:Step 1 by ilsaloving · · Score: 1

      Ah, serves me right for not reading more carefully.

      I just got as far as "bail out" and threw my hands up in disgust.

  32. You cannot make competitions 'safe'. by Remus+Shepherd · · Score: 3, Insightful

    The purpose of avionics is to get a plane from one point to another without incident.

    The purpose of automated stock trading software is to make as much money as possible while screwing the other guy if you get the opportunity.

    You'll never make automated stock software 'safe'. Its purpose is inherently risky and combative. You're not up against the laws of physics and the occasional thunderstorm; you're up against other people who have similar software and an urge to hurt you. This is Wall Street PvP (that's Prick-versus-Prick). It's unsafe by its nature.

    You cannot make competitions entirely 'safe'. What you can do is pen them in so that they do not hurt bystanders. Just like putting crash walls around a NASCAR track, we need to put up regulations around Wall Street so their blood combat does not spill out and harm the larger economy. Re-implementing Glass-Steagall is the least that we can do to keep Wall Street's fiery crashes from hurting the common people. There are probably more reforms we could make to wall them off properly.

    --
    Genocide Man -- Life is funny. Death is funnier. Mass murder can be hilarious.
  33. Oh, Really? by RivenAleem · · Score: 1

    So, what went wrong and how can they, or any other software developer, prevent something similar from happening again?

    There one sure fire way of preventing this from happening again, and it is a quite obvious one too. Stop.

  34. It'll Never Happen by Anonymous Coward · · Score: 1

    I'm a Dev in the Finance Industry (NYC). I don't do HFT, but I can speak to this issue of buggy software and releases.
     
    In a nutshell, code releases are driven by the trading desk.
     
    Consider this: You have a desk, say five people. These five people can be (depending on which desk) responsible for making ginormous amounts of money for the firm (I supported one desk that made ~$50 million a day). Our job (the Devs) is to facilitate these five people's trading, mostly by adding new features that the traders demand. There's no spec, no design meetings, no QA, no nothing. If the firm thinks that the desk can make an extra million a week if you add some new bell or whistle, and if you don't deliver, you are out. I can tell you stories of weekly server releases (hence the 60-70 hour weeks we had to work), Dev leadership trying to get the desk to let us spend some time refactoring (resulting in blank, angry stares), and team-mates who tried (and failed) to stand up to the system. I remember being at one of the big banks when one guy said we shouldn't release that week... he didn't last long at all.
     
    I'm not making excuses here, but I thought I'd share my experiences from the inside.

  35. Nothing wrong with the software by Dunbal · · Score: 1

    The software was told to buy stock, and buy stock it did. The problem is not in the software per se, it's in failing to recognize an anomalous situation and continuing blindly on. Those who use the software have to sit down and work out why they would need a program that did what it did, and clearly work out parameters so that the software determine when it needs to switch behavior and go into sleep mode or something. Most biological pathways have some sort of feedback system built in that limits the initial step. It makes no sense to have a program that empties your company's wallet - no, almost its entire net worth - in under 2 hours. There is no situation in the world where this can be advantageous or justified. Sometimes missing out on that "opportunity" is much, much better than losing the whole company.

    I guess we'll never really know if it was bad design, in that there were no failsafes in the program, or bad management, in that they comparmentalized so much that the guy doing the coding had no idea of the impact his code would have because he was never told how it would be used. Still, you learn very early in trading that some days it's better just to stay in bed. Greed is not always good.

    --
    Seven puppies were harmed during the making of this post.
  36. So what? by 1s44c · · Score: 1

    Some guys who don't contibute to the world lost a whole lot of money. Well Boo Hoo for them.

    Don't expect me to care that people who were getting something for nothing lost a load of cash.

  37. What "cost of failure"? by Jawnn · · Score: 1

    FTS...
    "... very strict guidelines about what code can be implemented due to the high cost of failure..."
    It's other people's money, after all. Who gives a shit if we pissed a bunch of it away with one of our toys? It's not like we're writing software that controls airliners or something.

  38. Is the aviation field demonstrably better? by colinnwn · · Score: 1

    There have been several accidents caused by, or a significant contributing factor, of software glitches. Boeing and Airbus and their systems builders do have tight coding and testing controls for flight critical code, at least partly driven by FAA and EASA requirements. Have there been more critical or expensive failures of financial trading code?

  39. Re:And Save What? More Fantasy? by dkleinsc · · Score: 4, Interesting

    This increase in the relative growth of the financial sector was one of the predictions in Karl Marx's Das Kapital: He saw bond markets and stock markets as the natural and predictable outgrowth of the role of a capitalist, which in his view was somebody who made their living not by producing stuff but by buying the means of production and making other people produce stuff. Bonds in particular simply abstract the concept completely away from any actual work: The capitalist now doesn't even do the buying and managing himself, but buys bonds allowing somebody else to do that work and demands a portion of the proceeds of the firm in return. As the capitalist class gains more and more wealth, the trade in bonds and other financial instruments goes up as a percentage of the economy, while the industrial and agricultural production becomes less important.

    (And no, I'm not arguing that workers of the world should unite and revolt, just that Marx was a serious economist who made some good points about how capitalism works.)

    --
    I am officially gone from /. Long live http://www.soylentnews.com/
  40. Safety-Critical Systems programming by erc · · Score: 1

    Can anyone point me to something legible on the subject? We'd like to start moving in the direction of provably correct systems and software, but I haven't been able to find much out there on the subject. Agile certainly isn't it, and every time I mention it, I get accused of "trying to go back to the failed software model, waterfall".

    NASA does it, the aircraft industry does it - why can't we write systems that are robust? There was a similar article about "1,000 programmers furiously writing commands in 1/2 day to send to the Curiosity Rover", but finding details about how this process is done and managed is about as hard as finding out the truth about a political candidate. Where can one find this sort of stuff?

    --
    -- Ed Carp, N7EKG erc@pobox.com PGP KeyID: 0x0BD32C9B What I'm up to: http://intuitives.mine.nu
    1. Re:Safety-Critical Systems programming by codepunk · · Score: 1

      Cost, most of us are fully capable of writing bullet proof however the costs usually out weigh the benefits. Now if you have a 2 billion dollar budget and only one shot at it why yes the engineering and code will be rather robust.

      --


      Got Code?
    2. Re:Safety-Critical Systems programming by LifesABeach · · Score: 1

      I personally would find it interesting to view the code that caused all this comotion.

  41. Ignorance. by Shoten · · Score: 1

    Mr. Dewar is under the incredibly flawed belief that avionics are bug-free, when in fact this is not even close to true. Airbus planes in particular...commercial passenger planes...have been plagued with many software flaws, including one for their fly-by-wire system that, under certain circumstances, gave feedback to the control stick which was 100% in the wrong direction. So the plane would be going into a dive, and the stick pulled at you like you were climbing instead. (Imagine going into a skid, and having the power steering lie to you about the forces acting on your tires, and you get some sense of just how horribly bad this is.) The flaw almost resulted in more than one crash.

    The space shuttle's software was carefully reviewed after the Challenger explosion. Among other things, they noticed that the gravitational effect of the moon was accidentally reversed...the software calculated the moon's effect as being a repulsive force, rather than an attractive one. As one engineer to examine the software in the course of that review put it, "We have been really, really lucky."

    If you're looking for an industry that is fanatical about software quality and safety, the financial sector is where to look. What spurred this discussion is the reason why. These systems move bilions or even trillions of dollars a month, and the survival of the entities that run them depend on the software's reliability and availability. I would point out the sudden discussion about just how much high-frequency trading and high-frequency optioning is going on these days...all of which is run by this kind of software. The amounts involved go into the hundreds of billions of dollars, daily, and it's been building for years. That it took this long for this kind of mistake to happen indicates that the financial industry probably has more to teach than to learn when it comes to software quality.

    --

    For your security, this post has been encrypted with ROT-13, twice.
    1. Re:Ignorance. by LifesABeach · · Score: 1

      Lets have a show of hands, would anyone in the financial sector care to bet their life on what you just said? How about you?

  42. Why not just stop rewarding failure? by khallow · · Score: 1

    If your business fails hard on the stock market due to a programming glitch, then your investors lose their money as do the people who foolishly lent you money, and the remaining pieces of your business get sold off to the highest bidder.

    As to taxing trades, why do it? There's no benefit that government provides per trade. It's just a way to punish active traders for a very deluded reason. No financial crises were caused by the frequency of the trades. There's no demonstrable harm from the activity.

  43. I hate slashdot for financial discussions by tacokill · · Score: 1

    Slashdot is utterly retarded when it comes to financial discussions. Seems like the only point of view represented is that of the occupy crowd and that view has a limited understanding of how the world works.

    Facts:
    1) Nobody is giving Knight a "do over". They are and were held to every single trade they made. Erroneous or not

    2) Knight almost went bankrupt -- as they should have. They were only saved by receiving another round of money from investors (that dilluted the current shareholders by about 70%). In other words, the owners of Knight took a huge loss -- again, as they should have. The general public wasn't affected at all unless you were the person SELLING to Knight and even then, you most likely sold your stock to them at a higher price than you would have otherwise.

    3) Knight had NOTHING to do with high frequency trading. That's not what the firm does or was trying to do.


    But don't let these facts get in the way of a good wall street bashing narrative.....

    There are PLENTY of things that are real issues and need attention but slashdot is tilting at windmills on this.

    1. Re:I hate slashdot for financial discussions by LifesABeach · · Score: 1

      From the parent article: "Yesterday an update to Knight Capital Group's algorithmic trading software caused massive volume buys and sells

      It looks like a little reading could have allowed you to write more informed post. Which in itself says, your responding in the right place. Welcome to our group.

  44. Toyota could have learned from that by gemtech · · Score: 1

    says an owner of a 2007 Avalon.

    --
    Insanity: doing the same thing over and over again and expecting different results. Albert Einstein
  45. Outlaw High-frequency automated trading by iplayfast · · Score: 3, Insightful

    High-frequency automated trading are destroying the stockmarket. With transactions on a stock happening at thousands of times a second, when things go bad they go bad very quickly. When things go well, the normal trader gets reamed.

    IMHO High-frequency automated trading should be outlawed, stocks should be bought and sold at a rate comparable to human interaction. Say 1 per second. Then if things go bad, it goes bad over the course of a day and people can react. Brokers normally buy and sell bulk amounts of stock, so this would be no different.
    It would level the playing field, and put the normal investor at less of a disadvantage compared to the big companies. If a stock is particularly hot, then some trades won't get made by the end of the day. This is in other words reverting to the stock market of old, where the market could be looked at, and expected to stay the same over the course of a minute.

  46. Re:And Save What? More Fantasy? by Sique · · Score: 1

    No, I don't. Please read the post again. I was actually contradicting the previous post which showed a strong belief into the intelligence of the market.
    What I said is that, even if in the long run Wall Street will put the money will be with successful companies which actually provide something useful, in the short run, there can be very bad trades, and there is no warranty that the markets will learn from bad decisions, the next trade can have bad effects again to everyone, inclusive the traders.

    --
    .sig: Sique *sigh*
  47. Do nothing by Pascal+Sartoretti · · Score: 1

    It is impossible to regulate this industry. What should be done is nothing : let Knight Capital Group try to absorb this $440M loss, if they can. If they go bankrupt, it is even better : this will teach a lesson to all other companies which deploy untested software, a lesson given in the only language that they understand : money.

    Trying to enforce stricter guidelines only makes sense in industries where human lives are at stake (airlines, health...). For the financial industry, only the financial incentives make sense.

    1. Re:Do nothing by LifesABeach · · Score: 1

      I prefer the average solution here; Default, Foreclosure, Auction. It is very foolish to think any business is, "to big to fail"; this translates to, "Company A has dirt on Politician B."

  48. #include src thelastbug.txt by RobertLTux · · Score: 1

    they would have to switch out coders every once in a while or they will have the issue of

    "He died at the console,
    Of hunger and thirst.
    Next day he was buried,
    Face down, nine-edge first."

    --
    Any person using FTFY or editing my postings agrees to a US$50.00 charge
  49. Safe Aviation Industry by Alarash · · Score: 1
    I couldn't help put point out the irony here.

    aviation industry has demonstrated that safe, reliable real-time software is possible, practical, and necessary.

    The passengers from Air France Flight 447 might beg to differ.

    1. Re:Safe Aviation Industry by LifesABeach · · Score: 1

      The crash explination doesn't make sense, no pilot pulls up to gain altitude.

    2. Re:Safe Aviation Industry by Areyoukiddingme · · Score: 1

      A terrified junior pilot with insufficient training, insufficient experience in off-optimal conditions, insufficient understanding of basic aerodynamics, and insufficient experience period does. So sayeth the black box, and it's probably right. He panicked, killing himself and everyone else.

  50. Q: HOW DOES THIS AFFECT ME? by uslurper · · Score: 1

    when these automated transactions fail.. or even while they are working .. how does it affect everyone else in the market?

    --
    oldhack: "Security is a waste of money until shit hits the fan. 5 minutes later, it becomes waste of money again. "
    1. Re:Q: HOW DOES THIS AFFECT ME? by LifesABeach · · Score: 1

      It affects two groups of people. Those who profitted from this, aka Winners. And those that didn't, aka Hogs.

  51. You Get What You Pay For by LifesABeach · · Score: 1

    One would assume that when one buys software at 30 cents on the dollar, that there is a reason it is so cheap. I don't think anyone from a BRIC country involved in this software issue is going to be in trouble. Mean while, Knight Cap is looking for someone to buy it.

  52. Simple solution: by kmoser · · Score: 1

    IF ( $profit_or_loss > 10000 ) { exit(); }

  53. Wall street = parasites by PeterWone · · Score: 1

    They don't create food or machinery or build houses. They don't transport materials to people who make things. They don't transport finished products to consumers. They don't get oily gunk out of the ground and turn it into fuel, plastic and lubricants. They don't maintain equipment or search for minerals or invent new ways to make things or new things to make. Even astrophysicists produce understanding of the world.

    Wall street doesn't don't produce anything. They just fiddle with numbers. If they all went broke today, the world would be a better place.