Stock-Picking Computers 218
eldavojohn writes "A while ago, Slashdot ran an article on Algorithms used to augment or replace analysts. Today, the NY Times is running an article on stock-picking computers with quotes from the lovable Ray Kurzweil." From the article: "'Investment firms fall over themselves advertising their latest, most esoteric systems,' said Mr. Lo of M.I.T., who was asked by a $20 billion pension fund to design a neural network. He declined after discovering the investors had no real idea how such networks work. 'There are some pretty substantial misconceptions about what these things can and cannot do,' he said. 'As with any black box, if you don't know why it works, you won't realize when it's stopped working. Even a broken watch is right twice a day.'"
Efficient markets (Score:5, Insightful)
Re:Efficient markets (Score:3, Insightful)
Re:Efficient markets (Score:3, Interesting)
As another poster has already mentioned...read the story of LTCM [wikipedia.org]. The notable quotes from the article are
Re:Efficient markets (Score:4, Insightful)
Anyway, it's already being done, ergo it's possible!
Re:Efficient markets (Score:5, Insightful)
And this fact is EXACTLY what stabilizes the market!
As soon as there's a discernable pattern, somebody's going to exploit that pattern in order to make more money, and as soon as that happens, the original pattern gets interrupted, thus stabilizing the marketplace. Perfect? No. But damned good. Some regulation is needed to keep these market forces from being overwhelmed - but the cost of this regulation is a pittance compared to the benefits gained!
Money is an awfully effective invention for distributing wealth, which is why the Star-Trek "utopia" where nobody needs money is not going to happen anytime soon. So long as there is differentiation between different people (and thus resource distribution potential) there will be money.
Re:Efficient markets (Score:2)
People seem to forget that stock prices do, at least occasionally, reflect reality. So the "original pattern" might not get interrupted. Imagine the classical example of company that pretend to have found gold. At some point the truth comes out and the stock price of the company has nowhere to go but down.
Which reflects the wider problem with computers trading. They do not take reality into account. Maybe once you have an AI engine that can crawl the internet and other news sources faster then humans, then you might be onto something.
Re:Efficient markets (Score:2)
If you RTFA, this is exactly what they are doing/trying to do now.
Re:Efficient markets (Score:2)
Yes, but it is even more effective at concentrating wealth.
There are just so many cows and sheep you can accumulate and keep
Re:Efficient markets (Score:3, Insightful)
Yes, but it is even more effective at concentrating wealth.
While you probably didn't intend it, that is one of the benefits of money and banking. Back two thousand years ago, almost no one could plan ahead 20 years except the wealthy. Any savings you might have accumulated could easily be stolen. IMHO, that was one of the reasons land was so valuable. Someone couldn't break in and take it and it still had use even if everything on it was destroyed. Now, anyone can concentrate wealth, not just the extremely powerful.Re:Efficient markets (Score:3, Insightful)
While this thread has passed all bounds of decency or on-topicness, I do happen to think that money still is far more effective at distributing wealth than concentration. First, money forms a small part of the actual wealth out there which also consists of real estate, labor and education, equities and other securities, savings, etc. Sure one can often trade real estate or stock directly for someething else, but these things aren't in themselves money (unless you're about to claim everything with value is money). Second, money reduces transaction costs. That's it's true value.
I claim money actually reduces concentration of wealth. By reducing transaction costs, it reduces barriers to entry for new businesses and the day to day costs for people with little or no wealth. In the developed world, that is a key factor in reducing wealth disparity. There are many factors by which the wealthy can get concentrate more wealth (eg, corruption of government, rent-seeking), but the presence of money isn't one of them.Re:Efficient markets (Score:3, Interesting)
The communist ideal of Star Trek, as I see it, is possible only because of the replicator.
Consider what happens when it is possible, given an example of a given product, to duplicate it en mass at near-zero cost. Suddenly nearly everything's free. Manufacturing costs nothing, so it's all in the pattern that tells the replicator what to build. This makes it difficult for the capitalists to retain control. They can attempt to retain monopolies on their own replicator patterns, but once the workers, owning their own replicators, begin designing their own replicator patterns, and sharing them amongst themselves and building on each other's work, then the capitalists could end up totally sidelined, made irrelevant by a proliferation of free replicator patterns, put to use to create free products. Would the workers' collective creations be as good as the capitalists' refined and expensive designs? Probably not in every case, but they'd be good enough, and it's hard as all hell to compete with free.
This is happening in one segment of the market right now, and the capitalists there are getting desperate: look at Trusted Computing and the idea of Software Patents, as the bosses try desperately to wrest back control of the means of production. Sadly it can't go all the way; the workers distributing their free software still need to eat! But if we could duplicate material goods as easily as we duplicate software, we could GPL the entire economy and let the workers' socialist revolution really get going.
Re:Efficient markets (Score:4, Insightful)
Sure you can create programs that handle arbitrage opportunities, or detect shortterm effects (market movements lasting less than 1 hour), and these make lots of money for those lucky people who have realtime prices and no brokerage costs (I.e. investment banks, etc).
Stock prices for a company will move on news. Prices may drift around on speculation, but eventually a company will post its trading figures and you will know exactly how much that company is worth at that point in time. Unless these technical analysis programs know which comanies are moving product, who is about to sue who, which companies are in secret negotiations, what the future price of oil will be, etc, then they are going to miss price movements caused by events external to the markets.
Re:Efficient markets (Score:2)
$1 says it won't work. (Score:2)
Trader 1 (on the phone): Buy May belly contracts at...
STOCKBOT:- That's a big mistake, Sir.
Trader 2: Why shouldn't we buy now, STOCKBOT?
STOCKBOT:- The price is going to keep going down.
Trader 1: Randolph, this isn't Monopoly money we're playing with.
Trader 2 (on the phone): This is Randolph. Hold that belly order a moment.
Trader 2: Tell me why you think the price of pork bellies is going down.
STOCKBOT:- It's Christmas time. Everybody's uptight.
Trader 1: Could we please buy now?
STOCKBOT:- If you want to lose money go ahead.
Trader 2: What are you trying to say? Please Explain.
STOCKBOT:- Pork belly prices have been dropping all morning. So everybody's waiting for them to hit rock bottom so they can buy cheap. The people with pork belly contracts are thinking, "Hey, we're losing all our money and Christmas is coming. I won't be able to buy my son the GI Joe with the Kung Fu grip, and my wife won't make love to me 'cause I ain't got no money." They're panicking, screaming, "Sell, sell." They don't want to lose all their money. They are panicking right now. I can feel it. Look at this graph.
Trader 2: He's right, Mortimer, my God, look at it.
STOCKBOT:- I'd wait till you get to 0.35 then buy. You'll have cleared out all the suckers by then.
Trader 2: Do you realise how much money he just saved us?
Trader 1: Money isn't everything, Randolph.
Re:Efficient markets (Score:2)
Re:Efficient markets (Score:2)
While he cannot say the nature of the programmed trading algorithms, he does not that all their best years are when the market goes DOWN, because their algorithms are better picking good times to short than vice versa.
C//
Re:Efficient markets (Score:3, Informative)
Um, that IS beating the market: all investments are a combination of risk and expected reward (e.g. treasuries are low-risk and low-return, junk bonds are higher risk and higher return.) If you can reduce risk without reducing return, you can make buckets of money (people will line up outside your door wanting to give you capital.)
That said, don't trust any academic studies on this topic. There are probably only 50 people on the planet who actually deeply understand this topic, and they aren't talking. E.g. when I was running a hedge fund in the early 90s, most of the techniques described in the article were already widespread (yes, we had real-time newswire scrubbers running back then.)
As the article touches on, speed is important: a 5 millisecond advantage lets you make real money without needing to predict anything. The predictors do make excess profits, but most either don't understand the risks they are taking, or actively hide those risk from their investors. D.E.Shaw, mentioned in the article, basically blew itself up back in 1999 or so. LTCM did the same thing.
Re:Efficient markets (Score:2)
While the idea of stock picking algorithms is neat; ...
The article is actually talking about at least two different different techniques:
Or you could say that the job of technical analysts is to make an inefficient market work more like the idealized efficient market. Sixty years ago, people used to use various graphical techniques to try to do technical analysis; it probably worked, until enough people did it that it started to eliminate the very correlations that they were trying to detect. Then computers became able to detect more subtle correlations, but by exploiting those more subtle correlations, they removed those as well. Now the arms race continues, and the whole process is presumably a good thing, because it's getting rid of more and more of the effects of inefficient and irrational behavior, and makes the market more and more like the textbook idealization of the efficient market.
Re:Efficient markets (Score:2)
I sort of thought up how one would basically create such a program. You couldn't simply write one but you would have to "evolve" it.
First take a computer program and have it randomly pick One million criteria from Google news. Then based off that criteria, randomly pick and choose a stock to buy or sell. Now repeat a few billion times. Then kill off the programs that fail to "virtually" make any money (you would not be able to make money off this for a while).
Then duplicate the programs that "made" money and then have each of the billion program have code to modify the criteria and or subtract or add how many criteria you are going to look at on Google. (I mean we don't know if the optimal information the program has to look at is less or more)
So rinse, repeat, and eventually after a few hundred trillion instances you will eventually evolve a program that can look at the information on Google and decide what stocks to pick.
However... My idea will take a very expensive super computer and a direct connection to Google data center so I think the only people who would pull this off would be Google themselves...
Hey wait a minute!
Re:Efficient markets (Score:2)
Re:Efficient markets (Score:3, Informative)
If the Efficient Market Hypothesis were true, stock pickers like Cramer should have been driven out of the market by now. Some investors do, on average, beat the market. See Warren Buffet. Now. The hard part is figuring out if your analyst is the next WB, or just some MBA who isn't too stupid and had good luck on top of not being too stupid... for the last 5 years until he regresses to the mean for the next 10 years. So. If you could write software that picked *analysts* then maybe you'd have something. Trouble is, they're humans. They get divorced, get sick, die, decide they've made enough and want to drop out and do Yoga, etc. Anyway. Bottom line? Not everybody agrees that the market is efficient. I know I don't. No way. Not by a long shot. It's like poker. You'd think that skill is only a small part of the game, and that it's mostly chance. For many players, it is... or at least that's what I thought until I saw a truly skilled player take out an entire table. It was amazing to watch this guy know exactly how to play every hand. Amazing. Never saw it before. Might not see it again, since I'm not a big poker guy. I suspect investing is a lot like that--there are a handful of guys that belong in the investing equivalent of the big poker tourneys. Everybody else is a loser.
Re:Efficient markets (Score:2)
You know...I've wondered why that would not exactly be a good thing to do? I mean, the balls used are physical objects, subject to imperfections. Perhaps these imperfections would select towards some balls being picked more often than others. I was thinking of this with reference to some past 'schemes' where people in casinos kept history of what numbers came up on roulette wheels....after crunching a LOT of data....they saw trends where some numbers were select more often...due to imperfections in the wheel. I would think if this affected the randomness of the roulette wheel....why would it not affect the randomness of the lottery balls?
Well it makes a change (Score:3)
Quite futile (Score:2, Interesting)
Anyone who really knows anything about this subject wil not post. Too much going on in trading land...
Hence AC post...
Re:Quite futile (Score:2, Interesting)
Re:Quite futile (Score:4, Funny)
So in this light, how am I suppose to interpret the rest of your post?
Re:Quite futile (Score:2)
1) Don't try to beat the market through picking individual stocks.
2) Buy only index funds. (An index fund is a completely transparent mutual fund that just buys what's in an index, such as the S&P 500, rather than relying on some "hotshot" fund manager who uses a proprietary screening process or something like that.) After fund fees, stock index funds* beat something like 80% of actively managed mutual funds, and more if you factor in taxes.
I always though that, since trasparency has an advantage here, investing would be a good project for the open source community to tackle, but places like vanguard.com already do a tremendous job of it. They offer access to a huge variety of index funds, each of which will tell you exactly what it's investing in (so you don't have to trust any fund manager's expertise), with low fees and low minimums (only $3000 to start one).
*Actively managed bond funds are tolerable if it's in a tax-deferred account with limited choices like a 401k, since taxes are on exchanges are zero there, and the difference is smaller.
Seems only reasonable... (Score:4, Interesting)
However, it still can't predict things that a human can (yet). I doubt that a computer can incorporate thigns like global news, company announcements, and other such real world variables into how it makes judgments. That was the one thing that the article didn't really talk about.
So I doubt we will see these "black boxes" replacing brokers, simply suplimenting them.
Re:Seems only reasonable... (Score:3, Informative)
Actually I was surprised how few references I could find to this sort of thing. Still I don't believe this is an indication that it's not happening; rather, I think market prediction is a black art because investors don't want anybody else to know what they're doing or how they're doing it.
Re:Seems only reasonable... (Score:2)
[Note: the following example is based on my understanding of the stock market, which is most likely wrong]. For example, say you had 1000 shares of Google, currently selling at $432.10/share. Your computer gets a story off the news feed saying Google has announced it will exceed its previously projected earnings, and the computer correctly interprets it as Good News. The computer might automatically place two trades, one which tries to buy twenty shares at $432.10, and tries to sell twenty shares at $433.10. It might do this even as it passes on the news to human analysts, who have to determine whether the news requires more drastic action. They might decide that their system has already adequately covered the new position, or that it will probably drive the price up by $25/share instead of $1. If the computer's rather conservative trade is adequate, then presuming they were among the first traders to act on the news, both trades will probably be successful and they've made a quick $20 without actually changing their overall portfolio.
So I think that while it would be a bad idea to have the computer make long-term strategic decisions about the portfolio, it might be able to make small reactions quickly to take advantage of short-term reactions to news.
Re:Seems only reasonable... (Score:3, Insightful)
Completely, but it's good that you know what you don't know--you'd lose a lot less money trading that way. It's impossible to parse stock news and figure out if it's good or bad. Using your example, if Google announces that it will exceed its previously projected earnings, it's just as likely the stock will crash as skyrocket. This is because market participants are working with earning estimation at a higher level than any current generation AI could possibly understand. Read up a bit on whisper numbers [investopedia.com] to get a feel for the challenges here.
Regardless, the notion that you as an individual could possibly get news and act on it faster than the people that really move the market around is naive anyway. Many of these announcements are made outside of trading hours, and after-hours trading is difficult for an individual to do. By the time the regular market opens up again, the big move is already done.
Re:Seems only reasonable... (Score:2)
I still have a hunch that it might be possible to do something in this field. Take product ship dates. While there may be occasions where announcing that you're going to let a deadline slip might be good for your stock (if the conventional wisdom says that you're rushing a crap product out the door), it's more likely to hurt your stock. Even with whisper numbers, it seems to me that (on average, over a broad range of stocks) either the whisper numbers are going to stay close to industry generated forecasts, or there is something seriously wrong with one of the two sets of numbers. So a revision upwards should be more likely to bump a stock than to tank it (though it might be a close thing).
Another thing to remember is that the goal is to act quickly on the information, before the market has time to fully digest the implications of the move. It seems like first impressions would matter a lot in such cases. You know, simple metrics like "increased earnings == good", "layoffs == outstanding", "merger == cha-ching", "merger with layoffs == do-money-dance". Hopefully you can get the trade done before the market does a doubletake and says, "You know, maybe Google buying YouTube isn't the smartest thing in the world." A basic system seems like it would have a better chance at predicting knee-jerk movements rather than the ones resulting from a few more moments consideration.
Last thing: If you're a company that is already buying projections, it doesn't seem too hard to take the results of the initial news-reading system and turn over the data about the new forecasted earnings to another system that already has knowledge of the projections. While the first system makes a small trade, the second one might decide to make a larger one if the new numbers beat the forecasts, or try to cancel the trade made by the first system.
This is why I don't play the market myself. I'd have to feel pretty self-confident to think that I could consistently outperform the market as a whole. Index funds, mutual funds, whatever minimizes the actual thinking I have to put into managing investments. My school brought in a guest lecturer who was a major honcho at an investment bank that does a lot of computerized training. I got some interesting stuff from him.
1) people try to sell his company on new algorithms almost daily. Many of them only appear to work because the author hasn't accounted for something (sometimes even things as small as network latency).
2) most of his research was focused on using current trading data to make short term projections. So throwing in external information sources might still be an exploitable niche.
3) Wall Street types are obsessed with money, and even being in the room with them for an hour makes me feel dirty.
Between #1 and #3, I'm positive I would never try to build such a system myself. Thanks for the information. It's a definite wake-up.
Re:Seems only reasonable... (Score:2)
Market theorists love to point out with much amusement that a lot of things that seem like they would be strongly associated with a clear move in one direction turn out, after you analyze them properly, to be close to 50/50 that you can't trade on them usefully.
It seems like first impressions would matter a lot in such cases. You know, simple metrics like "increased earnings == good", "layoffs == outstanding", "merger == cha-ching", "merger with layoffs == do-money-dance"...A basic system seems like it would have a better chance at predicting knee-jerk movements rather than the ones resulting from a few more moments consideration.
Let me pull apart one of those as an example. If you watch a few of them, merger announcements usually have a strong impact on both companies involved. Even people have a hard time distinguishing whether a buy-out of a company is a bargain, or a big overpayment relative to the true value of the company. With the same big news announcement, one company's stock will go up, and the other's will go down, all based on the perception of whether the terms of the merger gave one party a better deal than the other. So we have one annoucement, which is likely to increase the price of one stock and decrease the other; it's a very complicated thing to predict.
And how the market will react to layoffs is dramatically more complicated even than that--layoffs as a cost-cutting measure might be good for the price, layoffs because the business is dying might kick off a gigantic selling spree, and the price can jerk around all over as big-name analysts weigh in with their opinion over the days that follow the initial news release.
I went through this whole excercise myself for a while, trying to get a computer to parse the news and do something useful with it. Turns out, there's a much easier way to figure out whether the market views something as good or bad news: just watch what the price of the stock does. You'd be far better off learning some of the techniques of technical analysis than bothering trying to understand whether the tone of a news pieces is good or bad. It would take years of training a sematic-based approach before it had any hope of being better than an approach that just looks at a few minutes of where the market is moving and assuming it's going to move in that direction more; a simple moving average crossover technique works just fine for that.
Re:Seems only reasonable... (Score:2)
In this case, NLP means Natural Language Processing. This is the process of taking information written in a human language (English, for example) and using a program to extract useful information out of it. It's a step that would absolutely be required for the rest of my system to work, since all these announcements the computer would be required to make decisions on are written in human language.
In this case, the program would need to read press releases and extract the following useful information: The stock to buy/sell to take advantage of the information (which goes a bit beyond simple Named Entity Recognition, because other companies might be named in the bulletin, but should still be relatively easy) and whether the stock is more likely to go up or down based on the news. The latter task is obviously more tricky, but it would definitely be an NLP problem.
Spam! (Score:2)
It also can't take into account stock-pumping spam, which has graced so many of our inboxes lately.
Humans *really* bad at predictions. (Score:2)
Re:Humans *really* bad at predictions. (Score:2)
If you ever tried to build such a system you'd realize the problem is exactly as hard as predicting the motion of the market as a whole. Market participants are working with earning estimation at a higher level than any current generation AI could possibly understand. Read up a bit on whisper numbers [investopedia.com] to get a feel for the challenges here. You could have an earnings report that says "earnings are up, we just increased sales, and we rule!" that doubles the price of one stock, because no one was expecting that. Meanwhile, the exact same report from another company tanks the price because people had driven the price of the stock up before the news in anticipation of even better numbers.
One trade I went through this with stands out in my memory. I had what I thought was juicy new information about recent sales trends for a company, and I purchased many shares before their earnings report expecting that sales were going to be up 40% from the previous quarter. Sales were actually up 50%. The next morning, as the market opened, instead of counting my profits I discovered the stock had dropped 15% after the announcements. Turns out, people with much better information than me had driven the price up over the previous few weeks in the expectation that sales were actually going to be up 70%. The notion that you can compete with this sort of behavior after the news announcements has come out is at best a wonderful fantasy; at worst, you'll actually try to do it and get crushed.
Re:Humans *really* bad at predictions. (Score:2)
A single announcement wouldn't be used that way on it's own, it's simply a way to condense a text announcement down to probably good or probably bad, it means you can use it as one of many possible indicators for a few tens of thousands of genetic algorithms. You'd be classifying on every announcement against every stock to provide a decent range of information. The genetic algorithms which give too much or too little weight to the announcements will predict badly and fail to thrive.
Re:Humans *really* bad at predictions. (Score:2)
I guarantee you that if you put some serious time into this approach, you'd discover that the weight of any "announcement tone" indicator would end up so close to 0 that computing it in the first place would be a waste of time. Here's a better indicator: watch what the price of the stock does for the first few seconds the market is open after the announcement. Whatever direction it moved in, there's your answer for whether the announcement was good or bad from the perspective of stock price. If you put those two indicators in a genetic optimizer cage max, the fancy sematic news-reading approach is going to be left in a puddle of blood every time, squashed by a stupid but very strong indicator whose sole mantra is "the market moves the way it moves".
Technical analysis (Score:2)
If it was really possible to predict price behaviour on trading patterns these opportunities would be fully exploited until such a prediction would not work.
Why not simply buy a good profitable company?
Or a company that will be good and profitable?
Re:Technical analysis (Score:2)
Eventually the market will realize this. If the market undervalues a stock it leaves an opportunity for you to scoop it up nice and cheap.
Similarly if the price is above what the company is worth, go ahead and sell, but something more attractively priced.
One alternative is to buy companies that give their earnings to shareholders, then it doesn't matter if the market realizes the value, you'll get your profits as they happen. This is one reason conservative dividend investors tend to do so well.
Re:Seems only reasonable... (Score:2)
Re:Seems only reasonable... (Score:2)
That is an invalid assumption. The computer will only pick up solid patterns in the data if they are there to be found. If there is a solid (useful!) pattern in the market, a computer may pick it up. But the question of whether there are such patterns in financial markets is just as important (if not more so) as whether we can find them with a computer.
Re:Seems only reasonable... (Score:2)
If by "solid" you mean "tradable" then no, it won't. It will produce what trading system developers refer to as a curve-fit trading system. When exposed to new market data, that type of system really doesn't work well at all.
Think about this for a minute...how well would a trading system trained on data about the
People who actually build useful systems start with a theory about how prices move, then write code to analyze the market to see if that strategy is tradable. I would suggest you read an article by well-known traders William Eckhardt and Richard Dennis at http://www.visoracle.com/swingtrend/optimization.
This would be my request... (Score:2)
Most companies provide free trading stations but the tools/software to predict what might happen in the market cost thousands of dollars, yet these tools are never 100% accurate. So, does anyone know where one can grab Open Source versions of these? Thanx.
Re:This would be my request... (Score:3, Informative)
However, while it's fun to play around with a system like this, I must warn you that the realities of trading make it very hard to profit even if it looks good on paper. You probably know this, since you "got burned" before. Make sure you consult a professional before investing, or I can pretty much guarantee that you'll get burned again.
The predators and the prey (Score:2)
There are several very simple to manage portfolio strategies which will give you very good returns whether the markets are going up or going down and with little risk. It's not magic, it's common sense, long term investing and frankly a bit dull.
Re:The predators and the prey (Score:2)
Care to post a link? Thanks.
Re:The predators and the prey (Score:3, Interesting)
http://www.npr.org/templates/story/story.php?stor
My own portfolio is a bit simpler. UK index linked mutual fund, developing country mutual fund, government bonds, commodities (gold silver), housing stocks. Basically about 20% in each sector. Try to spread your portfolio over several sectors which don't all go in the same direction at the same time.
The strategy is simple but it's the important bit because it stops you buying at the top of the market. It's called rebalancing.
Every month add the £100 (or however much you want to invest) to one of the categories. You choose the category by taking an average of how much you've invested so far, divided over the categories. Say after a year you've invested £1200,the average which in my case should be in every category is about £240. But the market goes up and down so some sectors will be doing badly, they'll be below the average, some will be above the average. Well, the whole idea is to buy low, sell high, yeah? You invest your next £100 into the sector in your portfolio which is the furthest below the average, so topping it up. This way you're always buying into a sector when it's low, not high.
Sit down once a month with a spreadsheet (or calculator, it really isn't that hard) and work out where to put the money this month. You spread the risk over 5 or however many categories/stocks you want to take, when the markets change direction, as they inevitably do, your cheaply bought investments will go up most and you are not putting your money into expensive top of a peak stocks.
It's simple and it works, as mentioned in the link the pros do it on a minute by minute basis rather than on a month by month basis (and they sell as well as buy) but I'm really not that interested in finance, and I don't need to be interested or knowledgeable. I'm beating 10% per year for an hour a month.
Oh and always stick the monthly £100 into a single category, don't try to spread it because fees etc will be minimised.
Re:The predators and the prey (Score:2)
Re:The predators and the prey (Score:2)
Of course, if you could tie your money on a small scale to the movements of the top players you could do damn good.
Sadly, this technology isn't consumer available.
Re:This would be my request... (Score:2)
It Works (Score:2, Informative)
Re:It Works (Score:2)
If you have level 2 access, you can pretty accurately predict where a stock is going. Sure, you don't know from day to day, but there are reasons for market introduced delays and market makers.
Re:It Works (Score:2)
Re:It Works (Score:2)
Re:It Works (Score:2)
Re:It Works (Score:2)
Re:It Works (Score:4, Insightful)
Automated trading systems 'generally' are used to take a position in a stock that has already been picked.
So, trader A in Goldman Suchs wants to take a long position (buy) 100K shares of IBM, so he assigns that trade to the algorithmic trading engine, which might offer him various algorithms to help fulfill his position at the best possible price, ranging from %vol, VWAP, 'iceberg' or other type of algorithm.
notice, though, that the trader already had the stock to trade chosen, he didn't let the algorithmic engine choose it for him.
It's a prime directive issue (Score:4, Interesting)
First, no matter how well you can predict based on patterns, when you are picking individual stocks, there is such a huge influence from the chaos of human nature that, from day to day, no matter how appropriate your predictions are (based on history), they may have nothing at all to do with reality.
Additionally, if you get enough of these stock picking systems in operation, they can actually change the dynamics of the market, keeping them from being accurate for years as they all try to account for the activities associated with each others' predictions.
The problem with stocks is that in order to know how they are going to perform, you have to know not only what the company is going to do and how their customers are going to respond, but also how the investing public is going to take that news. It's an odd mix of fundementals and faith, in my experience.
The problem is markets are choice based (Score:3, Informative)
You wanna use your computer? (Score:2, Informative)
Or you could try genetic algorithms, download the info on the whole market plus historical info, give the algorithms access to the lot, plus downloaded financial news, classify the financial news as good or bad for a stock using a bayesian classifier, add that to the pot and then use evolution to see which algorithms survive best in the market to date.
You may need to build a supercomputer to run enough algorithms to perform the search. Look at it this way though... NOW you have an excuse.
Mr. Lo is not smart enough to teach at MIT (Score:5, Insightful)
[ Yes, I am joking. I'm quite sure Mr. Lo is brilliant -- just maybe a touch too honest. :-) ]
Re:Mr. Lo is not smart enough to teach at MIT (Score:4, Insightful)
You're assuming that he cares about earning lots of money. More likely, he has enough money, and he wants to do work which he finds interesting -- in other words, he's not turning down the offer because he's honest; he's turning down the offer because he doesn't want to waste 20 years of his life.
Re:Mr. Lo is not smart enough to teach at MIT (Score:2)
Wrong! I'm assuming nothing. I'm telling a fracking joke, and everyone here took it waaaay too seriously! I said, "I am joking." You even quoted me above saying, "I am joking."
OK, so I want everyone who posted a reply to my comment thinking I was serious (and that includes the moderators who modded this up as insightful) to stand up and take this pledge:
Sheesh.
It's harder than it looks (Score:2)
Re:It's harder than it looks (Score:4, Informative)
Re:It's harder than it looks (Score:2)
Note that LTCM had privileged market access with effective direct backing from major banks. That meant rather than covering their own positions, due to the participation by the banks, it was their money that provided collateral (no longer permitted). In effect, LTCM going would then have caused several major clearing banks to go, and not just in the US but wherever LTCM were trading.
The problem is too big (Score:2)
Kinda reminds me of a fanciful and ambitious kid who declares he's going to build an interstellar spaceship out of stuff laying around in the garage.
Re:The problem is too big (Score:2)
I hate to say this, but you give the human race too much credit. Those tens of millions of human brains tend to think in herds. Often to the chagrin of the hand full of people who sell short and make a profit.
Playing the stock market is like out running hungry grizzly bears. You don't need to faster than the bear (the market) but you do need to be faster any one else with you (the other investors).
About Markets and mathematics.. (Score:3, Interesting)
The last work of Mandelbort (the 'fractals' father) 'The (Mis)behaviour of markets' http://www.amazon.com/Misbehavior-Markets-Benoit-M andelbrot/dp/0465043550/ [amazon.com] is quite interesting.
Sigh, markets are chaotic, much more chaotic than current market analisis states.
Odd (Score:2)
Re:Odd (Score:2)
Linux and Stock-Pick Software (Score:2)
Another would be user (Score:2)
Re:Linux and Stock-Pick Software (Score:2)
Buy low; sell high; make money! (Score:2, Interesting)
In theory, making money in stock market should be easy. Buy low, sell high is a guaranteed successful investment strategy and yet few people follow it. Why is that? By definition, an undervalued stock is an unpopular stock. Doing the unpopular thing is very difficult. Quite simply, human beings are a social animals and going against the crowd is often not in our best interest. Investing in unpopular stocks almost always feels wrong.
However, if you take a rational look at popular and unpopular stocks, you will see that the unpopular stocks are the ones likely to be the real money makers. Consider a mythical corporation that we'll call XYZ Corp. Let's assume that there is a lot of popular interest in the stock. The analysts all believe that great things are in this company's future. Should you invest in it? No, because the stock's price already reflects belief in the company's rosy future. The price of the stock always reflects everything that is known about the company. This concept is important to grasp.
Now, let's consider the future. The future is, of course, impossible to predict, but two outcomes are guaranteed. Either the company will live up to the investors' expecations or it will not. If it does live up to the company's expecation, the price of the stock may stay flat or rise only moderately since the stock price already reflects the high expectations of the investors. If the company fails to meet investor expectations, the price of the stock will drop in response to lowered expectation. Popular stocks don't have very much upside potential in the long run.
Now, let's assume the converse. XYZ Corporation has been mismanaged and had some bad luck. Investors and analysts now consider this stock a "dog." What are the possible outcomes for this stock? Currently the stock price is depressed because it reflects all the pessimism folks have about the company. In the future, either XYZ Corp will continue to run the company poorly or it will change its business strategies and turn itself around. The price of stock will stay flat in the first case and rise in the second case. Unpopular stocks have a great deal of upside potential and little downside since the price already reflects low expectations.
Re:Buy low; sell high; make money! (Score:2)
Something that was easier to do 10 years ago then today.
Re:Buy low; sell high; make money! (Score:2)
If the price stays flat you lose against "inflation".
You need to do much more analysis than say "This stock's price is low, it's time to buy."
Vitesse (VTSS) got to over $100. You could have later bought it for the bargain price of $10. The most recent close was $1.20.
Program trading is the new day trading (Score:5, Interesting)
In the industry it's called "program trading" and refers to automated, algorithmic trading of instruments such as stocks, futures, forex. This is regularly done by many banks and large funds, and also small investors. In fact there is a discount brokerage which I'll just call IB here, that has an API which lets anyone program their own computerized trading. It's a bit "too easy" to do.
That doesn't mean it's always profitable in the long term, but without a doubt people are profiting at least in the short term. The software has multiple strategies, well documented approaches and algorithms. Generally the trading robot is trying to ride trends.
As someone who follows these things, here are a few criticisms I'm aware of:
1. These short term trading activities require high leverage, because trades have to be for large amounts of money to make them worthwhile. You need large amounts of money to make this work, because things like trading costs eat into profits tremendously. Again, like day trading.
2. High leverage is risky because one big mistake or unpleasant event could wipe out tons of past small gains. Risk management becomes a key issue. Some would argue that perceived risk in markets these days is unreasonably low. Does this unbalance the risk/reward equation?
3. Market-wide, we know program trading has increased dramatically on US exchanges. Add to this the undocumented program trading (smaller traders who don't have to report it to anyone) and basically there are a ton of computer algorithms out there today trading stocks. Everybody can't make money at the same time, so to profit the participants have to use even greater leverage = more risk.
4. Programming flaws, bugs, or improper risk management could have tremendous market-wide implications. Take for example the huge market moves in 1987; the drop was a "20-sigma" event and not anywhere within the realm of possibility back then. Obviously the models failed to handle it. Similarly, the next time we have a "big event" in markets, today's algorithms might fail. If a large number of computers choke while trading, could bad things happen?
5. So under unstable market conditions, the program trading could lead to increased volatility (like daytrading caused volatile markets during the crash). But under stable market conditions, like we have today, program trading seems to smooth out daily movements. Notice that the US markets hardly move as much as 1% in a day; trends are smooth and volatility is extremely low. The VIX, a volatility measure, has hit historic lows.
Working Examples (Score:2)
The number of events/updates comming through, at least 7 years ago, was about 800 every second. That's a lot of information.
So, what can we do with that much information that is updated so frequently?
Well, implementing time and sales for just transactions takes lots of disk space. Gig for a day. Now, try and keep yearly data. Now you have huge, absolutely freaking huge, data storage issues. And search... wow. Neural doesn't seem appropriate.
So where do we actually implement automated trading?
Look for a few commodity stocks, high volume, no dividend. These will follow certain daily trends. Apply some fuzzy logic - threshold and objective functions. In the morning, we are high. We drop until mid day, and then we go up a bit. Drop again in the after noon, and we're usually high or low at end of day more along our daily trend.
And then there is NASDAQ-OTC, or any pink sheeted company. Here we take advantage of stupid people and penny stocks. If the stock is worthless, there is a large float, and there is news, and suddenly there are a bunch of transactions, we can start our automated shorting. News flows a lot less frequently. And you know a dump is comming after a reverse split. This is highly automatable.
Any fund managers want to give me money to write it for them? It has been done before...
Humans can't do it... (Score:3, Insightful)
Of course, the entire planet's GDP is only 60 trillion, so even a little mistake means complete global meltdown.
.
Re:Why? (Score:5, Funny)
No, no, no, there's a better way. Get me a case of beer and a copy of the WSJ and a dartboard. I'm at least as random as a monkey after 24 beers.
Re:Why? (Score:4, Funny)
Remember: sticks and stones may break your bones but feces just splatters.
Re:Why? (Score:2)
On the plus side, we still wouldn't need to get you vaccinated, imported, or liscensed.
~X~
Re:Why? (Score:5, Interesting)
I had a friend who worked in the AI department of Lockheed (about 20 years ago) and they developed the software that was used for the Robert Prector's Elliot Wave newsletter. Every two years they would give the program to a couple of people to try for 6 months. These people would invest $10,000, use the program and follow the guidelines, then evaluate the results. I was privy to the outcomes of three of these tests in the mid-nineties, and the lowest was earned $15,000 and the highest was earned $36,000. These are pretty good results. (However, the stock market was steadily climbing during those years and I wasn't able to compare results with EWT competition. Still, if I was able to consistently get 30%/year on my investments...)
Back in the 70's, Dean Witter had a program called PACE. I know two people who had a system for using it that earned them over $100,000/year, and they never deviated from the program while I knew them.
Then I have a friend who is a very conservative money manager (manages a couple hundred million of other people's money), and over the period that stocks crashed (remember Enron and Worldcomm?) he only had two clients lose any money, and the biggest loss was less than %15. He claims that these programs are mostly bunk. (This guy is a perfectionist, and I bet a computer is no more disciplined than he is.)
These programs are not investment management programs. The principles of investment management are pretty simple. The best book I know on the subject is still Benjamin Graham and David Dodd's book, "Security Analysis". However, the problem is finding opportunities that comply with the principles. Systematic data analysis by computer could have a profound effect, and that's what most of these programs do.
BTW, the article mentions that profits are slowing down: In Robert Prector's book, "The Elliott Wave Theory" and in his newsletter, he sort of predicts that as information becomes more available for analysis trading will be done more rapidly on spreads that may show profits as low as 1.5%
Elliot Waves = Cabalistic Numerology (Score:2)
It could happen (Score:4, Interesting)
I support the investor's right to be as stupid as they wish. A buy and hold regulation won't do as much good as something like the Fair Tax Plan, increased personal debt reduction, a balanced budget, and reduced spending. Presumably, investments are property that an investor should be able to divest anytime. Leave the government out of it.
Re:It could happen (Score:3, Interesting)
The dollar is due for a complete collapse. China has trillions of dollars and they are seriously considering insisting on other currencies for payment, same with oil producing companies all of whom hate our guts and would love to see the dollar collapse.
If you have money to invest do it on commodities. Food, minerals, oils, water etc. The smart corporations have already raided the water supplies of most of the world and very soon people in africa, india, and asia will be paying big bucks to companies so they can stay alive.
If you want to diversify invest in the far east.
Re:Why? (Score:3, Informative)
In fact, in the Wall St. Journal's long-running contest, the experts have out-performed the darts 29 to 21 times (ahref=http://www.webtrading.com/issue18.htmrel=u
However, in the less-long-running contest of Wall St. Journal readers versus darts, the readers are getting trounced 13 to 9 (ahref=http://online.wsj.com/article/SB1158452140
What is true, and more damning to investment professionals, is our poor performance versus broad-based indexes, which are inexpensive investments.
Re:Why? (Score:2)
Forget about the monkey (Score:2)
Getting the required import permits, the actual price of purchase and the care and feeding of a Monkey probably exceeds the price of an analyst's consulatation services. After all, a monkey is far more valuable and useful than, say, that crazy Cramer dude on CNBC (seems like Ballmer's long lost brother doesn't he?).
It doesn't take a very sophisticated algorithm to outperform the average analyst. I suggest a far cheaper solution: My parents still have a lot of stuff from my childhood and I know that stowed somewhere in my basement is that Coleco ADAM. It has more than enough computing power to perform the task. What once came in handy for homework (it's BASIC was applesoft compatible yet the ADAM was much cheaper than an Apple) could be put to use as my investment advisor! I even have 5.25" floppies with SmartCALC spreadsheets of my Dad's portfolio as it stood in late 1986 I could use as a starting point!
Re:Why? (Score:2)
Re:Already been done (Score:2)
3.14
Re:Existing algorithms (Score:2)
I've heard a talk on this. Don't remember where. The dude used spam-like classifier (keywords, bayes, etc.) for news articles, with `stockup/stockdown' [similar to spam/nospam] indicator (within a week of a news article).
Trained it on past articles (date published) and past stock data (yahoo). Then, just like spam filters, started classifying articles on whether they'll raise or lower a stock price for some corp.
The dude said he beat the market with that. Someone else commented: `it's been done'. Someone else said that `anyone can make money in a bull market' (he did his research in the last 3 years). I'd imagine there's truth on all sides---that articles really do correlate with stock price---and that the affect is too small to matter most of the time 'cause everyone's trying to exploit it (either manually or automatically).
Re:Brokers Are Crooks Or Just Used Car Salespeople (Score:2)
There are several characteristics that, even if you take only one of them, will do better than the general market over time. One is high return on equity, which is good for several percent a year.
There's no necessity to be right 90% of the time. Many good systems are right for only 60% of trades and still beat the market significantly.
Re:Competing with other computers (Score:2)
Re:What happened to investing? (Score:2)
Re:Verify quote (Score:2)
Re:Economy question (Score:3, Informative)
Investment markets like the NYSE and the Chicago board of trade arise from the desire to mitigate risk on investments. Rather than buying a lot of one company's bonds or stocks, buy several. You increase the potential that some of your bonds may fail, but hopefully decrease the chances that they all fail. There's tons more ideas like this out there, but I hope you get the idea. Trading involves two investors adjusting their holdings to match their risk preferences. Some people, especially young people, may prefer riskier investments, because they have a long time left to save for and can outwait a 10 year slump in the market. There does exist a class of traders that buy and sell stock looking to make a profit off of other investors, but generally profits come from the creation of wealth, ie firms paying people to make something and selling it to the public.