Archive for ‘investment theory’

Fannie Mae and Freddie Mac

By , 7 September, 2008, No Comment

Treasury Secretary Paulson announced today that the GSE’s are going to be “nationalized”. The whole affair, while not unexpected, has me scratching my head….I can’t seem to get a feel on how the takeover is going to effect the market. Of course, if you are a shareholder, you are going to be left holding an empty bag, as the plan effectively leaves the common share holders with nothing while a new series of preferred stock will be issued and owned by the government.

Needless to say, the GSE’s have suffered from gross mismanagement and been the topic of rumor and speculation for the last couple of years. As is typical of our current government, we waited until both Freddie and Fannie were near insolvent before remedial steps were taken. The taxpayers will ultimately shoulder the burden for this fiasco, though the price tag is as yet to be determined. Count on the largest bailout in history….ouch.

I have been following the spate of bank closings which are usually announced on Friday afternoons on Calculated Risk, a fine economic blog. I don’t know how many Fridays in a row a large bank has gone under, but it’s been a pretty good run of bank closings. The FDIC appears to be working overtime in an effort to shore up our country’s troubled banking system. Once again, the taxpayers are the ultimate, though indirect, source of money for this spate of failings.
Note to self: I’ve never held the banking profession in high esteem, but it seems these guys just keep finding new ways to screw things up.

Chaos Theory and Fractals

By , 5 September, 2008, No Comment

It is fitting that chaos theory got its start in the humble but frustrating field of meteorology. Why does it seem impossible for all our hot-shot meteorologists, armed as they are with ever more efficient computers and ever greater masses of data, to predict the weather?

Two decades ago, Edward Lorenz, a meteorologist at MIT stumbled onto chaos theory by making the discovery that ever so tiny changes in climate could bring about enormous and volatile changes in weather. Calling it the Butterfly Effect, he pointed out that if a butterfly flapped its wings in Brazil, it could well produce a tornado in Texas.

Since then, the discovery that small, unpredictable causes could have dramatic and turbulent effects has been expanded into other, seemingly unconnected, realms of science.

The conclusion, for the weather and for many other aspects of the world, is that the weather, in principle, cannot be predicted successfully, no matter how much data is accumulated for our computers. This is not really “chaos” since the Butterfly Effect does have its own causal patterns, albeit very complex. (Many of these causal patterns follow what is known as “Feigenbaum’s Number.”)

But even if these patterns become known, who in the world can predict the arrival of a flapping butterfly?

The stock markets are said to be nonlinear, dynamic systems. Chaos theory is the mathematics of studying such nonlinear, dynamic systems. Does this mean that chaoticians can predict when stocks will rise and fall? Not quite; however, chaoticians have determined that the market prices are highly random, but with a trend. The stock market is accepted as a self-similar system in the sense that the individual parts are related to the whole. Another self-similar system in the area of mathematics are fractals. Could the stock market be associated with a fractal? Why not? In the market price action, if one looks at the market monthly, weekly, daily, and intra day bar charts, the structure has a similar appearance. However, just like a fractal, the stock market has sensitive dependence on initial conditions. This factor is what makes dynamic market systems so difficult to predict. Because we cannot accurately describe the current situation with the detail necessary, we cannot accurately predict the state of the system at a future time. Stock market success can be predicted by chaoticians.

Manus J. Donahue III
An Introduction to Chaos Theory and Fractal Geometry

The upshot of chaos theory is not that the real world is chaotic or in principle unpredictable or undetermined, but that in practice much of it is unpredictable. And in particular that mathematical tools such as the calculus, which assumes smooth surfaces and infinitesimally small steps, is deeply flawed in dealing with much of the real world. (Thus, Benoit Mandelbroit’s “fractals” indicate that smooth curves are inappropriate and misleading for modeling coastlines or geographic surfaces.)

Chaos theory is even more challenging when applied to human events such as the workings of the stock market. Here the chaos theorists have directly challenged orthodox neoclassical theory of the stock market, which assumes that the expectations of the market are “rational,” that is, are omniscient about the future. If all stock or commodity market prices perfectly discount and incorporate perfect knowledge of the future, then the patterns of stock market prices must be purely accidental, meaningless, and random (“random walk”), since all the underlying basic knowledge is already known and incorporated into the price.

The absurdity of believing that the market is omniscient about the future, or that it has perfect knowledge of all “probability distributions” of the future, is matched by the equal folly of assuming that all happenings on the real stock market are “random,” that is, that no one stock price is related to any other price, past or future. And yet a crucial fact of human history is that all historical events are interconnected, that cause and effect patterns permeate human events, that very little is homogeneous, and that nothing is random.

With their enormous prestige, the chaos theorists have done important work in denouncing these assumptions, and in rebuking any attempt to abstract statistically from the actual concrete events of the real world. Thus, the chaos theorists are opposed to the common statistical technique of “smoothing out” the data by taking twelve-month moving averages of monthly data-whether of prices, production, or employment. In attempting to eliminate jagged “random elements” and separate them out from alleged underlying patterns, orthodox statisticians have been unwittingly getting rid of the very real-world data that need to be examined.

The Heart of Trading Futures Contracts: Fractals Defined

By , 31 August, 2008, No Comment

Source of some of this article is Wikipedia.


A fractal is generally “a rough or fragmented geometric shape that can be split into parts, each of which is (at least approximately) a reduced-size copy of the whole,”[1] a property called self-similarity. The term was coined by Benoît Mandelbrot in 1975 and was derived from the Latin fractus meaning “broken” or “fractured.”

A fractal often has the following features:

* It has a fine structure at arbitrarily small scales.
* It is too irregular to be easily described in traditional Euclidean geometric language.
* It is self-similar (at least approximately or stochastically).
* It has a Hausdorff dimension which is greater than its topological dimension (although this requirement is not met by space-filling curves such as the Hilbert curve).
* It has a simple and recursive definition.

Because they appear similar at all levels of magnification, fractals are often considered to be infinitely complex (in informal terms). Natural objects that approximate fractals to a degree include clouds, mountain ranges, lightning bolts, coastlines, and snow flakes. However, not all self-similar objects are fractals—for example, the real line (a straight Euclidean line) is formally self-similar but fails to have other fractal characteristics.

Benoit Mandelbrot, in one of his pioneering articles on the problems with linear based market predictions states:

“The risk-reducing formulas behind portfolio theory rely on a number of demanding and ultimately unfounded premises. First, they suggest that price changes are statistically independent of one another: for example, that today’s price has no influence on the changes between the current price and tomorrow’s. As a result, predictions of future market movements become impossible. The second presumption is that all price changes are distributed in a pattern that conforms to the standard bell curve. The width of the bell shape (as measured by its sigma, or standard deviation) depicts how far price changes diverge from the mean; events at the extremes are considered extremely rare. Typhoons are, in effect, defined out of existence.

Modern portfolio theory poses a danger to those who believe in it too strongly and is a powerful challenge for the theoretician. Though sometimes acknowledging faults in the present body of thinking, its adherents suggest that no other premises can be handled through mathematical modeling. This contention leads to the question of whether a rigorous quantitative description of at least some features of major financial upheavals can be developed. The bearish answer is that large market swings are anomalies, individual “acts of God” that present no conceivable regularity. Revisionists correct the questionable premises of modern portfolio theory through small fixes that lack any guiding principle and do not improve matters sufficiently. My own work – carried out over many years – takes a very different and decidedly bullish position”

Okay, okay, you are shaking your head what in the world does this have to do with actual investing? Yea, yea…there are lots of these little duplicating irregular shapes, but how does this help me?

I borrow again from Benoit Mandelbrots earlier article:

“In a detail of a graphic in which the features are higher than they are wide – as are the individual up-and-down price ticks of a stock – the transformation from the whole to a part must reduce the horizontal axis more than the vertical one. For a price chart, this transformation must shrink the time-scale (the horizontal axis) more than the price scale (the vertical axis). The geometric relation of the whole to its parts is said to be one of self-affinity.

The existence of unchanging properties is not given much weight by most statisticians. But they are beloved of physicists and mathematicians like myself, who call them invariances and are happiest with models that present an attractive invariance property. A good idea of what I mean is provided by drawing a simple chart that inserts price changes from time 0 to a later time 1 in successive steps. The intervals themselves are chosen arbitrarily; they may represent a second, an hour, a day or a year.

The process begins with a price, represented by a straight trend line (illustration 1). Next, a broken line called a generator is used to create the pattern that corresponds to the up-and-down oscillations of a price quoted in financial markets. The generator consists of three pieces that are inserted (interpolated) along the straight trend line. (A generator with fewer than three pieces would not simulate a price that can move up and down.) After delineating the initial generator, its three pieces are interpolated by three shorter ones. Repeating these steps reproduces the shape of the generator, or price curve, but at compressed scales. Both the horizontal axis (timescale) and the vertical axis (price scale) are squeezed to fit the horizontal and vertical boundaries of each piece of the generator.

Interpolations Forever

Only the first stages are shown in the illustration, although the same process continues. In theory, it has no end, but in practice, it makes no sense to interpolate down to time intervals shorter than those between trading transactions, which may occur in less than a minute. Clearly, each piece ends up with a shape roughly like the whole. That is, scale invariance is present simply because it was built in. The novelty (and surprise) is that these self-affine fractal curves exhibit a wealth of structure — a foundation of both fractal geometry and the theory of chaos.

A few selected generators yield so-called unifractal curves that exhibit the relatively tranquil picture of the market encompassed by modern portfolio theory. But tranquillity prevails only under extraordinarily special conditions that are satisfied only by these special generators. The assumptions behind this oversimplified model are one of the central mistakes of modern portfolio theory. It is much like a theory of sea waves that forbids their swells to exceed six feet.

The beauty of fractal geometry is that it makes possible a model general enough to reproduce the patterns that characterize portfolio theory’s placid markets as well as the tumultuous trading conditions of recent months. The just described method of creating a fractal price model can be altered to show how the activity of markets speeds up and slows down — the essence of volatility. This variability is the reason that the prefix “multi-” was added to the word “fractal.”

To create a multifractal from a unifractal, the key step is to lengthen or shorten the horizontal time axis so that the pieces of the generator are either stretched or squeezed. At the same time, the vertical price axis may remain untouched. In illustration 2, the first piece of the unifractal generator is progressively shortened, which also provides room to lengthen the second piece. After making these adjustments, the generators become multifractal (M1 to M4). Market activity speeds up in the interval of time represented by the first piece of the generator and slows in the interval that corresponds to the second piece (illustration 3).

Such an alteration to the generator can produce a full simulation of price fluctuations over a given period, using the process of interpolation described earlier. Each time the first piece of the generator is further shortened — and the process of successive interpolation is undertaken — it produces a chart that increasingly resembles the characteristics of volatile markets (illustration 4).

What should a corporate treasurer, currency trader or other market strategist conclude from all this? The discrepancies between the pictures painted by modern portfolio theory and the actual movement of prices are obvious. Prices do not vary continuously, and they oscillate wildly at all timescales. Volatility — far from a static entity to be ignored or easily compensated for — is at the very heart of what goes on in financial markets. In the past, money managers embraced the continuity and constrained price movements of modern portfolio theory because of the absence of strong alternatives. But a money manager need no longer accept the current financial models at face value.

Instead multifractals can be put to work to “stress-test” a portfolio. In this technique the rules underlying multifractals attempt to create the same patterns of variability as do the unknown rules that govern actual markets. Multifractals describe accurately the relation between the shape of the generator and the patterns of up-and-down swings of prices to be found on charts of real market data.

On a practical level, this finding suggests that a fractal generator can be developed based on historical market data. The actual model used does not simply inspect what the market did yesterday or last week. It is in fact a more realistic depiction of market fluctuations, called fractional Brownian motion in multifractal trading time. The charts created from the generators produced by this model can simulate alternative scenarios based on previous market activity.

These techniques do not come closer to forecasting a price drop or rise on a specific day on the basis of past records. But they provide estimates of the probability of what the market might do and allow one to prepare for inevitable sea changes. The new modeling techniques are designed to cast a light of order into the seemingly impenetrable thicket of the financial markets. They also recognize the mariner’s warning that, as recent events demonstrate, deserves to be heeded: On even the calmest sea, a gale may be just over the horizon.

Many people believe that the markets are random. In fact, one of the most prominent investing books out there is “A Random Walk Down Wall Street” (1973) by Burton G. Malkiel, who argues that throwing darts at a dartboard is likely to yield results similar to those achieved by a fund manager (and Malkiel does have many valid points).

However, many others argue that although prices may appear to be random, they do in fact follow a pattern in the form of trends. One of the most basic ways in which traders can determine such trends is through the use of fractals. Fractals essentially break down larger trends into extremely simple and predictable reversal patterns. This article will explain what fractals are and how you might apply them to your trading to enhance your profits.

What Are Fractals?
When many people think of fractals in the mathematical sense, they think of chaos theory and abstract mathematics. While these concepts do apply to the market (it being a nonlinear, dynamic system), most traders refer to fractals in a more literal sense. That is, as recurring patterns that can predict reversals among larger, more chaotic price movements.

These basic fractals are composed of five or more bars. The rules for identifying fractals are as follows:

* A bearish turning point occurs when there is a pattern with the highest high in the middle and two lower highs on each side.
* A bullish turning point occurs when there is a pattern with the lowest low in the middle and two higher lows on each side.

The fractals shown in Figure 1 are two examples of perfect patterns. Note that many other less perfect patterns can occur, but the basic pattern should remain intact for the fractal to be valid.

Applying Fractals to Trading
Like many trading indicators, fractals are best used in conjunction with other indicators or forms of analysis. Perhaps the most common confirmation indicator used with fractals is the “Alligator indicator”, a tool that is created by using moving averages that factor in the use of fractal geometry. The standard rule states that all buy rules are only valid if below the “alligator’s teeth” (the center average), and all sell rules are only valid if above the alligator’s teeth.

Some interesting comments from Ben Bernanke

By , 22 August, 2008, No Comment
[T]he financial storm that reached gale force some weeks before our last meeting here in Jackson Hole has not yet subsided, and its effects on the broader economy are becoming apparent in the form of softening economic activity and rising unemployment. Add to this mix a jump in inflation … and the result has been one of the most challenging economic and policy environments in memory.
-Fed Chairman Bernanke, Aug 22, 2008
As you may have noticed in past blogs, I am not prone to worry much about external factors as they relate to the market and the economy. Past Fed chairman have typically been very very reserved in their assessment of market and economic conditions, even in the worst of times. However, this particular speech, which can be read here in it’s entirety is by far and away the most frank and non homogenized view I’ve ever heard a Fed chair release.
His outlook for the US economy is bleak, at best, and really doesn’t mince words in his assessment of that very fact.
It is quite popular in blogs circles right now to blast Bernanke for some of the measures he has taken, but I take the opposite view. In my opinion, he inherited the current problems that he has been forced to deal with. He was appointed to usher in a whirlwind. Of course, you have probably heard me say that the Feds powers are, in my opinion, more psychological and demonstrative than substantive…and that any major panic-type movement in the markets will leave the Fed simply standing on the sidelines. There is a limit, at best, to the powers the Fed can use to tweak the economy. I believe that they have little ability to stop a tidal wave of economical phenomena. I would concede, though, that the extended period of low rates under Alan Greenspan certainly set the stage for a portion of the mayhem we are currently forced to deal with
That being said, it seems as if we have entered a scenario not dissimilar than “the perfect storm”, which is to say we have a constellation of dissimilar and destructive elements, mostly of our own making, converging to form in a dynamic economic implosion. I do not believe we would enter some sort of “depression” so to speak, but I would predict a drastic change in the near future in the manner Americans will manage their finances, credit and spending….and those that don’t… will find themselves in an abyss of economic disaster or financial ruination.
All right, that being said, how does that after our futures trading activity? The beautiful answer is “not at all”. As observers of the fractal patterns self evident in every market, we can continue to trade those patterns with the same success we always have. As traders, we only seek movement in the market, up or down, and down do not concern ourselves with overall intermediate or long term trends. We are scalpers, and seek only the crumbs that floor on the proverbial market.
Keep smiling, you livelihood is in fine shape and trade wisely…….The Fractal Trader

A great article for your reading (click on this title)

By , 18 August, 2008, No Comment

While this article does not have much to do with our subject matter, it is very important to us as American taxpayers and I could not resist recommending it for your reading. This is pure insanity. Read it here. Ot should stop and make you think about the terrible mess our Congress and Wall Street have saddled us with. The Fractal Trader is disgusted.

Easy AdSense by Unreal