The human brain is one of the most complex objects in the known universe. It is not its superior processing speed and storage space that make it extraordinary, but its ability to learn and adapt. Recently, computer scientists have focused their efforts on writing software that allows computers to mimic this learning ability. Such efforts are accomplished through what is now known as neural networking. This technology has several applications, particularly in sales forecasting and trading. This article looks at how neural networks work and how they can be applied to trading.

Neural Network Basics
Neural networks are essentially a collection of interconnected neurons, each containing several inputs and outputs. These inputs vary in terms of their weight (importance) and frequency. Meanwhile, outputs are a function of net inputs. The image below of biological neurons demonstrates the interaction of neurons:

Image from ANNEvolve.Sourceforge.Net

Here we see the blue neuron sending an impulse to the yellow neuron. The yellow neuron may be receiving other inputs (varying in strength) from other neurons, yet it sends out only one signal (a function of all the inputs).

Now, here's how we can apply this input-output process to a computer:


The diagram above shows a series of inputs with varying strength being entered into a function that produces an output. The building of artificial neural networks gets far more complicated from here; it involves neural models and mathematics that are beyond the scope of this article. However, if you'd like to learn more about how they function, click here.

Although not nearly as complex as their biological counterparts, these components will eventually mimic the way our brain works, in order to make quicker and more accurate decisions.

Trading with Neural Networks
So, what makes these networks so special when applied to trading? Well, many factors go into making a trade: fundamental analysis, technical analysis, market sentiment, economic factors and even (arguably) randomness itself. Making sense of all of this can become a problem. Many trading applications are capable of considering one or two of these factors, but none can take all of them into account. Neural networks are used to fill that void.

What Do Neural Networks Do?
Neural networks used in trading vary greatly. They range from those that rely purely on genetic concepts to those that involve complex neural network models.

The neural models that use pure genetic programming utilize historical data (inputs) and randomly generated equations (functions) to create effective buy/sell rules. The process starts with the creation of an "individual" by running the inputs through a given function. Then random individuals (of which the better performers are given preference) are taken to create a second-generation hybrid. This process continues through several generations, each perfecting the equation. The result, in theory, is a perfect equation that will be able to generate profitable buy/sell signals.

Fortunately, much of this can be accomplished via an easy-to-use graphic-user-interface (GUI) program. Here is an example from Merchant of Venice, which is a free project on equity analysis:


Here you can simply input the number of generations the program is to run, the number of individuals in each generation, the number of random individuals that should be selected from each generation to create the hybrid, and so forth.

The other types of neural trading applications let you create actual neural networks as opposed to simply using the genetic concepts. One such application is Joone, another freely available program. They offer plug-ins that get input from sources such as Yahoo! Finance, and allow you to create your own neural networks. Here is what this application looks like:


Here we can see the input plug-in from Yahoo! Finance, the function being applied and a chart showing correlations being printed out. Simplified versions of this type of application are also available commercially.

Who Uses Neural Trading?
There are various financial areas in which financial professionals use neural-based applications: in various bond trading to determine the probability that a given company will default on its debt, in sales forecasting to predict future sales based on a series of inputs and in equity trading to predict future price movements. Many professionals and institutions are testing and even using this technology to help predict events and profit.

Why Doesn't Everyone Use It?
The application of neural networks to trading is relatively new. As such, it is neither perfected nor proven. The genetic programming example above yields large equations that become impractical or too biased to the past. Meanwhile, regardless of their GUI environment, programs like the one above often involve complex mathematics and NN models. Factors like these can limit the usefulness of neural networks.

Also, many critics say that the idea of software being able to "learn" the markets is flawed. If humans can't predict markets with certainty, how is it possible to create software that can accomplish something we don't even fully understand?

As you might guess, there are several commercial alternatives available. However, approach with caution, as many of these signal services and applications can be misleading. After all, if somebody developed a system that made guaranteed profits without any work on the part of the trader, why would that person sell it to the public? Be sure to do your research before purchasing a system that makes guarantees. Or, if you are ambitious, try creating one for yourself using one of the tools mentioned above.

The Bottom Line

Neural networks operate by taking a series of weighted inputs and putting them through a function to provide an output. These outputs are in turn applied to subsequent generations to effectively "learn" how to predict events more accurately. Many companies offer applications that allow you to create neural networks, and even more companies that sell you neural networks. The theory is slowly being improved and even adopted by some in the trading community. Time will tell the extent to which neural networks will change markets in the future.

Related Articles
  1. Chart Advisor

    4 European Stocks to Consider Buying

    European companies, listed on US exchanges, that are providing buying opportunities right now.
  2. Investing Basics

    3 Key Signs Of A Market Top

    When stocks rise or fall, the financial fate of investors change, as well. There are certain signs that can reveal a stock’s course, and investors don’t need to be experts to spot them.
  3. Chart Advisor

    ChartAdvisor for October 2 2015

    Weekly technical summary of the major U.S. indexes.
  4. Investing Basics

    Tops Tips for Trading ETFs

    A look at two different trading strategies for ETFs - one for investors and the other for active traders.
  5. Investing

    How Diversifying Can Help You Manage Market Mayhem

    The recent market volatility, while not unexpected, has certainly been hard for any investor to digest.
  6. Technical Indicators

    Why MACD Divergence Is an Unreliable Signal

    MACD divergence is a popular method for predicting reversals, but unfortunately it isn't very accurate. Learn the weaknesses of indicator divergence.
  7. Investing News

    6 Signs You Are Addicted To Investing

    An addiction to trading can ruin your life and relationships. Not to mention the monetary costs. There are telltale signs that you've gone too far.
  8. Stock Analysis

    The Biggest Risks of Investing in FireEye Stock

    Examine the current state of FireEye, Inc., and learn about some of the biggest risks of investing in this cybersecurity company's stock.
  9. Stock Analysis

    The Biggest Risks of Investing in Gilead Stock

    Examine the current position of Gilead Sciences, Inc., and learn the major risks for investors considering buying Gilead stock.
  10. Chart Advisor

    Expecting a Big Breakout In These 4 Stocks

    These stocks are tightly wound following big moves, and upon breakout more big moves could ensue.
  1. Can working capital be too high?

    A company's working capital ratio can be too high in the sense that an excessively high ratio is generally considered an ... Read Full Answer >>
  2. How do mutual funds split?

    Mutual funds split in the same way that individual stocks split, but less often. Like a stock split, mutual fund splits do ... Read Full Answer >>
  3. What are some of the most common technical indicators that back up Doji patterns?

    The doji candlestick is important enough that Steve Nison devotes an entire chapter to it in his definitive work on candlestick ... Read Full Answer >>
  4. How do I use discounted cash flow (DCF) to value stock?

    Discounted cash flow (DCF) analysis can be a very helpful tool for analysts and investors in equity valuation. It provides ... Read Full Answer >>
  5. Tame Panic Selling with the Exhausted Selling Model

    The exhausted selling model is a pricing strategy used to identify and trade based off of the price floor of a security. ... Read Full Answer >>
  6. Point and Figure Charting Using Count Analysis

    Count analysis is a means of interpreting point and figure charts to measure vertical price movements. Technical analysts ... Read Full Answer >>

You May Also Like

Hot Definitions
  1. Zero-Sum Game

    A situation in which one person’s gain is equivalent to another’s loss, so that the net change in wealth or benefit is zero. ...
  2. Capitalization Rate

    The rate of return on a real estate investment property based on the income that the property is expected to generate.
  3. Gross Profit

    A company's total revenue (equivalent to total sales) minus the cost of goods sold. Gross profit is the profit a company ...
  4. Revenue

    The amount of money that a company actually receives during a specific period, including discounts and deductions for returned ...
  5. Normal Profit

    An economic condition occurring when the difference between a firm’s total revenue and total cost is equal to zero.
  6. Operating Cost

    Expenses associated with the maintenance and administration of a business on a day-to-day basis.
Trading Center
You are using adblocking software

Want access to all of Investopedia? Add us to your “whitelist”
so you'll never miss a feature!