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

    Breakout Opportunity Stocks: CPA, GNRC, WWE

    After a period of contracting volatility, watch for breakouts and bigger moves to come in these stocks.
  2. Investing

    What Investors Need to Know About Returns in 2016

    Last year wasn’t a great one for investors seeking solid returns, so here are three things we believe all investors need to know about returns in 2016.
  3. Chart Advisor

    3 Charts That Suggest Now Is The Time To Invest In Real Estate (VNQ, SPG,PSA)

    Real estate assets have some of the strongest uptrends around. We'll take a look at three candidates poised for a move higher.
  4. Chart Advisor

    Stocks With More Upside Due to Bear Traps (TAP, SPY)

    A bear trap is a pattern that typically leads to at least a short-term rise in prices. Here are stocks exhibiting the pattern.
  5. Term

    Three Ways to Profit Using Call Options

    A call option gives an investor the right, but not the obligation, to buy a stock at a specific price, known as the strike price.
  6. Term

    Understanding Rational Choice Theory

    Rational choice theory assumes an individual will always make prudent and logical decisions that yield the most benefits.
  7. Active Trading Fundamentals

    New Traders: Trade the Market in 5 Steps

    New traders shouldn’t throw money at securities without knowing why prices move. Follow these five steps to tilt the odds in your favor.
  8. Investing Basics

    The January Barometer: Is it Still Relevant?

    The January Barometer has been historically accurate. Will that be the case in 2016?
  9. Chart Advisor

    Watch For a Bounce in These Emerging Markets (BRF, PEK)

    While downtrends are clearly in control of the direction of many emerging market ETFs, short-term indicators suggest a bounce higher could be in the cards.
  10. Investing Basics

    Valuation Models: Apple’s Stock Analysis With CAPM

    The capital asset pricing model, or the CAPM, estimates the expected return of an asset based on the systematic risk of the asset’s return.
  1. What is Fibonacci retracement, and where do the ratios that are used come from?

    Fibonacci retracement is a very popular tool among technical traders and is based on the key numbers identified by mathematician ... Read Full Answer >>
  2. 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 >>
  3. 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 >>
  4. 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 >>
  5. 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 >>
  6. 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 >>
Hot Definitions
  1. Socially Responsible Investment - SRI

    An investment that is considered socially responsible because of the nature of the business the company conducts. Common ...
  2. Presidential Election Cycle (Theory)

    A theory developed by Yale Hirsch that states that U.S. stock markets are weakest in the year following the election of a ...
  3. Super Bowl Indicator

    An indicator based on the belief that a Super Bowl win for a team from the old AFL (AFC division) foretells a decline in ...
  4. Flight To Quality

    The action of investors moving their capital away from riskier investments to the safest possible investment vehicles. This ...
  5. Discouraged Worker

    A person who is eligible for employment and is able to work, but is currently unemployed and has not attempted to find employment ...
  6. Ponzimonium

    After Bernard Madoff's $65 billion Ponzi scheme was revealed, many new (smaller-scale) Ponzi schemers became exposed. Ponzimonium ...
Trading Center