Скачать книгу

accurate as we process increasing amounts of information. As most people can handle no more than seven pieces of information at once, it is wise to employ no more than seven criteria for choosing each stock.’

      Paul Melton

      Richard J. Bauer Jr.

      Dr Richard J. Bauer, Jr., is Professor of Finance at St. Mary’s University in San Antonio, Texas. His research has appeared in many journals including Financial Analysts Journal, Journal of Business Research, and Managerial Finance.

      He is co-founder and co-owner of ANSR Company LLC, which develops investment software based on evolutionary computation techniques.

      Books

      Genetic Algorithms and Investment Strategies, John Wiley, 1994

      Technical Market Indicators, John Wiley, 1998

      Technical Market Indicators: Analysis and Performance, Wiley Trading Advantage Series, 1999

      Building trading systems using genetic algorithms

      1. Begin by thinking about ‘proof’.

      A good starting point is to ask yourself the following question: if someone brought you evidence that a given investment strategy had merit, what would constitute enough proof that you would be willing to follow the strategy?

      The reason this question is important is that evolutionary computation techniques, such as genetic algorithms and genetic programming, are optimization procedures. They search for optimal or near-optimal solutions to complex problems. Using these techniques to search for attractive trading rules requires that you first define the parameters of the search and a ‘fitness’ function.

      The fitness function could be something simple (see rule 3) like highest compound return over some time period. If you would be willing to employ a trading rule because it had the highest compound return of a general class of rules, then that is all you require as proof. That would form the basis of your system. In practice, you probably require more than that.

      2. Think carefully about your constraints.

      Suppose you are building a system to optimize stock selection criteria based on fundamental variables. Further suppose that you use a genetic algorithm procedure to identify the optimal stock selection variables. When you evaluate the results, you realize that the selection criteria leads to just one stock every year. Are you really willing to put all your eggs in one basket? Or, do you require the criteria to be general enough to identify at least 20 stocks each year? If the latter, you will need to build this constraint (and others) into your search procedure or fitness function.

      3. Obvious fitness choices probably won’t work.

      Good trading rules are the ones that make the most money, right? Yes and no. While this is the ultimate goal, rules built to simply maximize return over some historical test period without any other constraints will probably be useless going forward. Good fitness functions require lots of work.

      4. Beware of overfitting.

      If you don’t build in some good constraints, you are likely to end up with a rule that fits the historical test period nicely but has little value. Genetic algorithms, for example, can find some really bizarre rules that overfit the test period.

      5. Put lots of thought into your database design.

      Your first attempts will probably be modified or expanded in some way. Much of the programming effort concerns data management and data interface issues. Try to think ahead when you design your database.

      6. Check results from a theory standpoint.

      A rule that at first looks strange may be just that. You may have overfitted and found a useless rule. Or, there may be a good rationale as to why this rule has worked and will continue to work. Think critically about your results.

      7. Beware of data mining.

      Today’s computer horsepower allows us to explore enormous numbers of potential trading rules. If you look long enough, you will no doubt find rules that work great over the test period, but are not necessarily so good for other periods.

      8. There is a tradeoff between quantity and quality.

      Suppose you are developing trading rules based on technical analysis. Rule A says to buy when pattern X occurs. Rule B says to buy when pattern Y occurs. Will combining A and B lead to a really great trading rule? Perhaps. However, the combination rule may occur so infrequently that it is not as good as simply buying whenever either A or B is applicable.

      9. Consider using a portfolio of rules.

      Another way to diversify is to use a portfolio of rules rather than a single rule.

      10. Decide in advance when to bail out.

      In a way, the question here is similar to that raised in rule 1. What will you consider proof that your rule is not working?

      ‘Since 1950 an excellent strategy has been to invest in the market between November 1st and April 30th each year, and then to switch into fixed income securities for the other six months of the year.’

      Yale Hirsch

      Gary Belsky

      Gary Belsky was a writer at Money magazine from 1991 to 1998. From 1994 to 1998 he was a regular weekly commentator on CNN’s Your Money and a frequent contributor to Good Morning America, CBS This Morning, Crossfire and Oprah. He is currently a deputy editor at ESPN The Magazine.

      In 1990, Belsky won the Gerald Loeb Award for Distinguished Business and Financial Journalism, administered by The Anderson School at UCLA. He lives in New York.

      Books

      Why Smart People Make Big Money Mistakes and How They Correct Them (co-authored with Thomas Gilovich), Fireside, 2000

      ESPN the Magazine Presents: Answer Guy: Extinguishing the Burning Questions of Sports with the Water Bucket of Truth (Brendan O'Connor, Neil Fine), Hyperion Books, 2002

      23 Ways to Get to First Base: The ESPN Sports Uncyclopedia, ESPN Books, 2006

      Behavioral finance

      1. Every dollar spends the same.

      People tend to treat money differently depending on where it’s come from. They spend money received as a gift, bonus or tax refund freely and easily, while spending other money - money they’ve earned - more carefully. Try not to compartmentalise your money in this way. Treat it all the same. One way to do this is to park ‘found’ money in a savings account before you decide what to do with it. The more time you have to think of money as savings - hard-earned or otherwise - the less likely you’ll be to spend it recklessly.

      2. Control your fear of losses.

      A bedrock principle of behavioral economics is that the pain people feel from losing $100 is much greater than the pleasure they get from winning $100. Be careful that this does not lead you to cling on to losing investments in the hope that they’ll return to profit, or to sell good investments during periods of market turmoil when holding them would be better in the long term.

      3. Look at decisions from all points of view.

      Too

Скачать книгу