• C++ Programming for Financial Engineering
    Highly recommended by thousands of MFE students. Covers essential C++ topics with applications to financial engineering. Learn more Join!
    Python for Finance with Intro to Data Science
    Gain practical understanding of Python to read, understand, and write professional Python code for your first day on the job. Learn more Join!
    An Intuition-Based Options Primer for FE
    Ideal for entry level positions interviews and graduate studies, specializing in options trading arbitrage and options valuation models. Learn more Join!

Artificial intelligence applied heavily to picking stocks

Joined
12/23/06
Messages
187
Points
28
NEW YORK: : Ray Kurzweil, an inventor and new hedge fund manager, is describing the future of stock-picking, and it isn't human.
"Artificial intelligence is becoming so deeply integrated into our economic ecostructure that some day computers will exceed human intelligence," Kurzweil tells a room of investors who oversee enormous pools of capital. "Machines can observe billions of market transactions to see patterns we could never see."
The listeners, who were attending a conference sponsored earlier this month by the Capital Group Companies, were slightly skeptical. Some had heard that Kurzweil, who takes more than 150 vitamins and supplements a day, believed people would eventually live forever. Others knew he had said that in 2045 man and machine would achieve "singularity," and that humans would hold their breath for hours, thanks to nano-machines in our bloodstreams.
But some are also aware that a former Microsoft executive and chairman of the Nasdaq stock market, Michael Brown, is an investor in Kurzweil's new hedge fund, FatKat, and that Bill Gates once described him as "the best person I know at predicting the future of artificial intelligence."
More important, many of them have seen Kurzweil's ideas used by stock speculators. So they want to learn more about his brave, new world.
"These ideas are the future," said David Atkinson, a private investor who attended another lecture later that day by Kurzweil. "I'm not really sure I understand them, but they're making some folks rich."
Complicated stock-picking methods are nothing new. For decades, Wall Street firms and hedge funds like D.E. Shaw have snapped up people with math and engineering doctorates, the so-called quants, and assigned them to find hidden market patterns.
When these analysts discover subtle relationships, like similarities in the price movements of Microsoft and IBM, investors seek profits by buying one stock and selling the other when their prices diverge, betting that historical patterns will eventually push them back into synchronicity.
Today, such methods have achieved a widespread use unimaginable just five years ago. The Internet has put almost every data source within easy reach. New software programs, like the Apama Algorithmic Trading Platform, have made it possible for day traders to build complicated trading algorithms almost as easily as they drag an icon across a digital desktop.
"Five years ago it would have taken $500,000 and 12 people to do what today takes a few computers and co-workers," said Louis Morgan, managing director of HG Trading, a three-person hedge fund in Wisconsin. "I'm executing 1,500 to 2,000 trades a day and monitoring 1,500 pairs of stocks. My software can automatically execute a trade within 20 milliseconds - five times faster than it would take for my finger to hit the buy button."
Studies estimate that a third of all stock trades in the United States were driven by automatic algorithms last year, contributing to an explosion in stock market activity. Between 1995 and 2005, the average daily volume of shares traded on the New York Stock Exchange increased to 1.6 billion from 346 million.
But in recent years, as algorithms and traditional quantitative techniques have multiplied, their successes have slowed.
"Now it's an arms race," said Andrew Lo, director of the Massachusetts Institute of Technology's Laboratory for Financial Engineering. "Everyone is building more sophisticated algorithms, and the more competition exists, the smaller the profits."
So investment firms have increasingly begun exploring mathematics' furthest edges and turning to people like Kurzweil, who became an expert in pattern recognition while he was building a reading machine for the blind.
For years, computer scientists tried to help machines perform mundane tasks like reading printed words or telling faces apart. With algorithms similar to those used by stock pickers, programmers created millions of rules designed to tell an "A" from an "a." But no machine could read a page of text as well as the average 5-year- old.
So Kurzweil and others took a different tack: Instead of creating sequential rules to instruct a computer to read, they thought, why not create thousands of random rules and let the computer figure out what works?
The result was nonlinear decision- making processes more akin to the way
a brain operates. So-called "neural networks" and "genetic algorithms" have become common in higher-level computer science. Neural networks permit computers to create new rules and automatically change underlying assumptions by experimenting with thousands of random sequences and processes. Genetic algorithms encourage software to "evolve" by letting different rules compete, and combining the most successful outcomes.
Wall Street has rushed to mimic the techniques. Because arbitrage opportunities disappear so quickly now, neural networks have emerged that can consider thousands of scenarios at once. It is unlikely, for instance, that Microsoft will begin selling ice cream or IBM declare bankruptcy, but a nonlinear system can consider such possibilities, and thousands of others, without overtaxing computers that must be ready to react in milliseconds.
"Most software fails in pattern recognition because there aren't enough sequential rules in the world to teach a computer to discern between two faces, or to find almost imperceptible relationships between stocks," said Orhan Karaali, a computer scientist and director at the $1.7 billion hedge fund Advanced Investment Partners. "But a machine that can generate complicated rules a person would never have thought of, and that can learn from past mistakes is a powerful tool."
Last year, funds co-managed by Karaali returned in excess of 20 percent by using nonlinear techniques, according to his company. Whereas older methods of stock analysis rely on certain assumptions - for instance, that market volatility always reverts to the mean - Karaali's models calculate probabilities and generates assumptions on the fly, and might predict that during a panic, investors will sell Microsoft but, for seemingly irrational reasons, hold onto IBM.
"Only an elite group of people are using these ideas, but a lot of people are thinking about them," said Stacy Williams, director of quantitative strategies at HSBC Global Markets. HSBC is working with Cambridge University in using models based on how viruses spread to forecast foreign currency markets.
"The downside with these systems is their black box-ness," Williams said. "Traders have intuitive senses of how the world works. But with these systems you pour in a bunch of numbers, and something comes out the other end, and it's not always intuitive or clear why the black box latched onto certain data or relationships."
 
Back
Top