Thursday, March 27, 2008

How cheap are gold stocks relative to bullion?

My recent post entitled “A short term warning for US Dollar bears and commodity bulls” must have struck a nerve. I received a torrent of responses regarding gold, gold stocks and how the US economy was going down the tank.





In response, I analyzed the question of the relative value of gold stocks compared to gold bullion. The above chart shows the ratio of the PHLX Gold & Silver Index (XAU), which has a longer history than the popular Amex Gold Bugs Index (HUI), to gold bullion. Since the line is near the bottom of its historical range, it suggests that gold stocks are a bargain compared to gold.



A synthetic gold stock tells a different story: Rising production costs
Back in 2006 I wrote a research report (How to Watch for Signs that the Gold Correction is Ending, 15 March 2006; if you are interested in the full details email me and I will send it to you) detailing how to make a synthetic gold stock.

Conceptually a mine can be thought of as a series of call options on the underlying commodity, with the exercise price as the cost of production. If the commodity price falls below the cost of production, the mine operator has the option to either close or mothball the mine until prices improve. I created a synthetic gold stock by building a model based on these principles. Key features of the model are:



  • A series of eight deep-in-the-money call options on the price of gold, with terms of 1, 2, 3 … 8 years, which models a mine with an eight year life, a common estimate of long-lived gold mines;
  • An exercise price equal to cash production cost of $250, rising each year by the current inflation rate. ($250 appeared to be a common estimate of cash costs for existing gold stocks in 2006);
  • Equal amount of gold mined each year; and
  • The position is rolled forward once a year at a cost of 1.5%.

Of course, there are some important differences between the synthetic gold stock and the actual gold stocks themselves:



  • Gold miners have exploration upside and operational risk, which the synthetic gold stock does not;
  • Gold mining companies may hedge the gold price with forward sales and other derivatives;
  • Actual gold mines can somewhat manage the cost of production by high-grading when gold prices are low and mining a lower grade of ore when prices are high. The synthetic gold stock’s assumed cost is inflexible.

Production costs are rising
The synthetic tracked the actual index reasonably well until 2006 (which was, of course, the out of sample period) when the synthetic began vastly outperforming the actual index. Delving further into the model, I found that the price divergence was explained by rising production costs of shown by the actual gold miners. Recent analysis by David Galland of Casey Research confirms this trend of rising costs at major producers Barrick and Newmont.



So what’s the answer? Are gold stocks cheap or not?
Gold miners are experiencing higher costs than historical experience, which deflates the case that gold stocks are cheap compared to bullion because their margins are lower. However, higher costs can be explained either by companies mining a lower grade of ore in the current high price environment in order to preserve their reserves and asset value (which is bullish), or costs escalating out of control and squeezing bottom lines (which is bearish).

The truth probably lies somewhere in between the two explanations. Given the recent experience of NovaGold at Galore Creek, I would lean towards the latter as a more likely explanation of higher costs.


Here is a stupid question: rather than agonizing which is the correct explanation for rising production costs, why not just buy the synthetic? That way an investor can customize and control his desired risk profile and exposure to gold.

(Warning for individual investors - don't try this at home. The synthetic is a highly sophisticated instrument that even professionals can get wrong if implemented incorrectly.)

Tuesday, March 25, 2008

Have we quants been brainedwashed by Barra?

This is a line from Star Trek Next Generation when the Enterprise encounter the Borg and the Borg say something like:

We are the Borg, you will be assimilated – resistance is futile.


As a quant I feel like that sometimes when I encounter Barra and its software. The head of a prop desk once complained to me that everyone is using Barra and they were all getting the same solutions. So when the hedge that the software suggested turned sour, the effect was worse because it seemed that everyone else was rushing for the same exit at the same time.

There are also second order effects. Barra has taught us that the sources of equity risk are industry and common factor (style, size, etc.) and it has affected many quants' analytical frameworks. I was recently at a meeting of quantitative analysts when someone presented some equity analysis. There was general agreement was that the solution wasn’t very well-risk controlled as no self-respecting equity quant would compare two stocks (one in Autos, the other in Media) in the same sector against each other (Consumer Discretionary) as they would normalize for industry effects.

Have we been brainwashed to control risk by industry and common factor (and not much else), after being exposed to the Barra risk framework all this time or is this just another example of a crowded trade?

Comments welcome.

Wednesday, March 19, 2008

Smart funds still more defensive than the consensus


Was Tuesday's FOMC equity rally for real? Or should we take Wednesday's pullback as the real trend in the stock market?

A check in with the smart funds show that they are still more defensive than the consensus. Smart funds are showing a market beta that is lower than 1, or the market. By contrast the consensus funds' beta is at or slightly above 1.

There are very good technical reasons why this market should rally. It is extremely oversold and due for a bounce. However, smart funds don't seem to be convinced yet that this is THE BOTTOM. By this measure, rallies should be viewed as trading opportunities to sell into strength.

Monday, March 17, 2008

A short term warning for US Dollar bears and commodity bulls

As the cacophony of voices calling for doom for the US Dollar (and conversely a rise in commodity prices) come to a crescendo (example here) and gold tops $1,000/oz. and oil tops $110/bbl, I would like to reiterate my word of short term warning for the Dollar bears and commodity bulls. Signs of a speculative blow-off are everywhere.

Sentiment is getting a little extreme for this trade to continue too much further in the short term. Recently Bob Moriarty of 321gold.com sounded a note of caution (italics are mine):

Nothing goes straight up and nothing goes straight down. As edifying as it is to see silver and gold go up almost every day, now and again all markets take a breather.

I run a gold site and it's considered heresy to suggest commodities correct but they do. Even the lowly dollar goes in the opposite direction on occasions.

Ten days later, he hedged his earlier comment and conceded the bullish case for gold based on an apocalyptic scenario for the US economy and Dollar:

It's a time for caution. We SHOULD have a violent correction in gold and silver and the dollar based on emotion and government intervention but we could see $3,000 gold in a week or the start of a living nightmare brought to you by the Gang of Fools in Washington. No one knows.
To me, that was the first sign of a speculative blow-off in the USD and commodities. The second sign: Both Energy and Gold stocks are at or near the top of their relative uptrend channels against the S&P 500. Can they go higher? Yes. However, the relative downside risk in the near term appears to outweigh the upside rewards.

The third sign of excessive bullishness: The Commitment of Traders chart from CFTC data of large speculators in gold show that they are in a crowded long position, which is contrarian bearish:


My inner trader says that we are in the final stages of a speculative blow-off in commodities and has the potential to correct violently. My inner investor agrees with the consensus view, however, that we are in a long multi-year decline of the US Dollar and multi-year rise for commodities.

Thursday, March 13, 2008

Hedge fund bodies floating to the surface

A followup to my posts on hedge fund problems here and here, I see that there are more news headlines such as Hedge funds on the brink as US Federal Reserve cash fails to ease crisis. This market is not likely to make a definitive bottom until some dead bodies (literally or figuratively) start to float to the surface. We are starting to see the bodies.

In the short term, however, there could be trouble. The Yen has strengthened against the US Dollar through the 100 level. As I mentioned before, this could portend a panic selloff.

Wall Street nursery rhymes

It's Friday. For your amusement I reproduce some of the traditional nursery rhymes adopted to a Wall Street theme that we used to recite and sing to our daughter:


The five little piggies
This little piggy put in a market order...
This little piggy put in a limit order...
This little piggy traded derivatives...
This little piggy traded cash [market]...
And this little piggy got caught insider trading and went
wee wee wee wee wee...
...all the way to Club Fed.



Old MacDonald
Old MacDonald had a farm,
Ee-ii-ee-ii-oo,
On this farm he had an investment banker,
Ee-ii-ee-ii-oo,
And a Strong Buy here and a Strong Buy there
Here a Buy there a Buy
Everywhere a Strong Buy!
Old MacDonald had a farm
Ee-ii-ee-ii-oo...


Happy Friday!

Monday, March 10, 2008

An idiot's equity market neutral fund: More on Morningstar rankings

I received a lot of feedback on my original post about a month ago entitled An idiot's equity market neutral fund, where I used Morningstar rankings to pick a series of mutual funds in order to produce an alpha. Much of the criticism centered around the use of Morningstar rankings. Numerous studies have shown that relying on Morningstar rankings alone did not produce positive excess returns and that they formed inefficient portfolios (for examples see here, here, here and here).

The key to success of the synthetic equity market neutral strategy's forecast alpha seems to be the change made in 2002 when Morningstar normalizated fund ranks within style groups. This effect was documented by a new study (Morey & Gottesman 2006). In addition, I picked relatively low cost funds with expense ratios < 1%, which should reduce any "headwind" in the process of alpha production.

Friday, March 7, 2008

Hedge fund implode-o-meter

I discovered a neat site called the Hedge fund implode-o-meter, which lists hedge fund blowups. It also shows funds on an ailing list - check it out.

As US equities continue to perform poorly and hedge funds remain highly correlated with the S&P 500, the Implode-o-meter list is likely to grow.

Tuesday, March 4, 2008

Yen carry trade at a critical juncture


In the last few days much has been made about the Euro going through 1.50 against the US Dollar. I am more concerned about the systemic risks posed by the recent strength of the Japanese Yen as it may lead to a rush for the exits on the Yen carry trade.

The accompanying chart is an index (31 Dec 2000 = 100) of a equal weighted basket of high yielding currencies (New Zealand Dollar, Mexican Peso, Indonesian Rupiah, Turkish Lira and Hungarian Forint) against the Japanese Yen as an pedal-to-the-metal version of the Yen carry trade. The index hit all-time highs in the July 2007 but have fallen about 14% since then and is reaching a critical technical support.

Hedge funds and currency traders who put on such trades tend to be highly levered and they are not well capitalized enough to withstand large losses. In such instances everyone becomes a technician and chart reader. I am sure that there are many stop loss orders placed just below the support line. Should the Yen strengthen further against these high-yielding currencies and these stops are hit, it would be pandemonium as everyone rushes for the exits, leading to a highly disorderly re-pricing of risk by the markets .

If that happens, this risk-avoidance contagion could very likely spread to other markets. Watch out below!

Friday, February 29, 2008

Channeling my inner contrarian

If the adage of value investing is “buy 'em when there is blood in the streets”, then value investing is inherently difficult. It means doing things will make you truly queasy. What’s more, classic value investors tend to be early and will suffer early losses before their investments turn profits.

With those thoughts in mind, let’s look at what broad themes there are that would make the stomach turn:

Junk or just non-AAA fixed income paper for the patient money: In some of these markets there are no bids, which would make it ideal for an investor with a long time horizon and the ability to analyze bond covenants. This story explains some of the structural problems with this kind of paper and the opportunities associated with them. Key quote:



But it looks like now could be the time for big and patient investors (such as Warren Buffett) to start snapping up relatively good-quality credit.


Bottom-up systematic, or equity quant investing is out. There was something comforting about systematic quantitative investing. You had all these tools and could look back at history to see how different techniques performed in past markets. What's more, it was highly risk controlled. Over time, the barriers to entry to using these techniques came down and it became too easy to run these strategies. In August 2007, virtually all quants suffered large losses. They were in a crowded trade and someone ran for the exit (see here). So let’s try something different.



How about top-down macro discretionary investing? People who can spot long-dated investment themes and have the strong temperment to bet on them are worth their weight in gold (warning: their results can be volatile). Find a manager like Ken Heebner, who was prescient about the fall of housing and thought that the housing could collapse by 50% in selected markets. Another is Eric Sprott in Canada, who was early to jump on the commodity bandwagon. I mention them to show examples of portfolio managers who display a top-down, analytical but non-quantitative systematic style of investing (and not to endorse either Heebner or Sprott).

If quant investing is out then maybe good old small-cap fundamental analysis is in. Fundamental analysis can shine in the smaller capitalization part of the market, where having managers and analysts who really understand what drives companies give them a bigger edge. However, I may be very, very early on this theme as the small cap cycle may have turned.


How about buying the US Dollar for a trade to turn your stomach really queasy? The deteriorating fundamentals of the US Dollar are well known and I believe that the currency is in a long-term bear market. However, when stories like this appear the Dollar may be poised for a rally and fool all the bears (and smack all the commodity bulls around too). Be careful - if you time this wrong this trade isn't like catching a falling knife, but falling boulders with knives sticking out of them.

Monday, February 25, 2008

Jacobs & Porter on Development

Back in the days when I had the occasion to interview job candidates often one of my questions was “name the two or three most important people in shaping your life so far, either personally or professionally (and it’s OK to say it’s your mother).” That was, I could get a sense of the person’s interests, passions and more importantly, how he looks at the world.

If asked the same question, I would say a couple of people who have influenced my thinking were Michael Porter and Jane Jacobs. My interest came from my stint as an emerging markets manager during the mid 1990s.

When I used to get assigned a country or region, I used to try to talk to the local investment managers, local brokers and then the companies, in that order of preference. Usually local investors drove the market and it was important to understand their analytical viewpoint. The local brokers also instinctively understand this and will tailor how they cover the local companies and industries accordingly. Until an investor understands how the local companies trade it will be impossible or risky to develop a quantitative framework for those companies.

After going through these exercises a few times, I came back to the same question over and over again.

Why are China and India booming and Kenya not? Typical academic development economic study programs focus on the China and India success stories but don’t focus on the failures. (Incidentally, one of the questions back in my youth was “why can’t India be like Japan?”)

I found the answer first in Michael Porter’s The Competitive Advantage of Nations. In the book Porter talks about how countries go through different stages of development as they migrate up the value chain and also of the importance of industry clusters. Later I also discovered Jane Jacobs’ work, see examples here and here. Her writing is more academic and less punchy but essentially say the same thing as Porter on the issue of moving through stages of development. The important difference is that Jacobs identified city and city-states as the units of growth, rather than nations. While Porter alluded to this point with his industry cluster comment, Jacobs was more explicit.

Could these lessons be generalized to other development economic problems, such as the issue of how to revive inner cities? This is a controversial topic and comments are not only welcome but invited.

Wednesday, February 20, 2008

Examining your assumptions: The Fundamental Law of Active Management

This is one of a series of posts on the importance of understanding the assumptions behind a quantitative model. As I understand it, the Richard Grinold paper on the Fundamental Law of Active Management is now part of the CFA reading:



What Grinold means by the above formula is that a manager’s value-added (Information Ratio) is a function of his selection skill (Information Coefficient) and the number of opportunities (N) he has.

No doubt thousands of CFA candidates have read this, memorized the formula and nodded sagely. They may have even tried to apply it in their working lives. Let's look at some of the underlying assumptions behind this model and understand how a blind application of this work may lead to suboptimal results.

What do you mean by IC? Most quants think they know how to measure IC, at least mathematically. However, the Information Coefficient for any selection process will vary according to time horizon. Is your IC the same for 1 day as for 1 month or 1 year? If you assume a flat IC for any time horizon and not incorporate trading cost assumptions this model will generate portfolio turnover that is uncontrollably high. Grinold in his later works elaborated on this turnover issue (see Grinold and Stuckelman, 1993; also Grinold and Kahn, 1995).

What do you mean by N? N is the number of independent opportunities available. If you are running a 100 stock portfolio does that mean that the number of independent opportunities, or ideas, is 100? What if you were picking stocks based on some fundamental criteria (e.g. low P/E) or macro theme (e.g. rising inflationary expectations). Is N equal to 1, 100 or somewhere in between?

Putting it into English

While I am a math geek as much as the next quant, I like to put the ideas into English when I apply them to the real world. The idea behind the Fundamental Law of Active Management is to size the bets according to the edge you have.

Grinold's work is actually a thematic variation on Kelly’s Criterion. John Kelly was a Bell Labs engineer in the 1950s who posed the following problem. Supposing a gambler overheard underworld types fixing a horse race on the telephone, but there was noise on the line. What should the gambler bet given this knowledge and the level of noise (= probability of correct information) on the line? This discussion could then be generalized to a treatise on information content, signal-to-noise ratio, etc.

Tuesday, February 19, 2008

Still more upside potential in the NatGas vs. Oil trade



Back in early December I posted about the oil and natural gas divergence in price and sentiment. Natural gas initially declined against crude oil after that post but has since risen about 10% on a relative basis.

A update of the Commitment of Traders data from the CFTC shows the relative bull case for natural gas vs. crude oil remains intact. The "fast money" large speculators continue to be have a crowded short in natural gas and giving a contrarian bullish signal. On the other hand, the signal from the COT data for crude oil is still neutral.


Friday, February 15, 2008

A buying opportunity in Emerging Markets?


Emerging market equities have been the leaders in the last bull phase of the equity market. Technically speaking, the accompanying chart of the iShare MSCI Emerging Markets ETF (EEM) relative to the S&P 500 shows they are currently undergoing a high level consolidation but the relative uptrend remains intact.

A check in with the smart money shows that the smart funds have a higher exposure to emerging markets or emerging market-like stocks than the consensus. These are all encouraging signs for emerging market equities. There is no doubt that these stocks tend to more volatile than US equities and are at risk of underperforming should the US go into a deeper or more prolonged slowdown than expected. However, I would give the emerging markets the benefit of the doubt but enter the trade with a fairly tight stop. Should the relative chart of EEM vs. SPX break its relative support line, that would be the signal to get out.

Full disclosure:
I have a long position in EEM.

Saturday, February 9, 2008

Smart money postured for a recession

There are many ways of defining smart money. I had a recent post describing a synthetic market neutral fund using a group of smart funds as a way of generating alpha. Using the technique shown in the sidebar (titled Reverse Engineering a Manager's Macro Exposure) I imputed the macro and sector exposures of these “smart funds" and “consensus funds”, which consists of 22 US large cap blend equity mutual funds from the major fund complexes. I found the following significant differences in their bets:

  • Smart funds are more overweight large caps, which tends to be more defensive
  • Smart funds are more aggressively underweight Financials, indicating that their managers don’t believe that the subprime fallout is over
  • Consensus funds are still overweight the Consumer Cyclicals while smart funds are market weight or underweight

In whole, this analysis points to a picture suggesting that this group of smart fund managers are orienting their portfolio to a recession or economic slowdown, while the larger consensus funds are not yet moved that way yet.





Smart funds are more overweight large capitalization stocks, which are thought to perform better in bear markets and recessions.





Smart funds obviously don't believe that the subprime fallout is over as they are aggressively underweight Financials, which is about 20% of the weight of the market. On the other hand, consensus funds are roughly market weight.







Surprisingly, consensus funds are significantly overweight Consumer Cyclicals, while smart funds are market or underweight.

Tuesday, February 5, 2008

An idiot's equity market neutral fund

















Here is a simple way of do-it-yourself way of making an equity market neutral fund without having to pay the big fees:

  1. Buy the top large cap Growth and Value equity funds, as ranked by Morningstar
  2. The funds must be no-load mutual funds, have assets of at least a billion dollars and expense ratios less than 1%
  3. Short the S&P 500 Spyder (SPY) against the portfolio
  4. Re-balance the dollar amounts allocated to the funds monthly and re-balance the fund components annually

For the period from December 1998 to Janaury 2008 the synthetic equity market neutral portfolio showed a very respectable annualized return of 6.4% (after fees) and a Sharpe ratio of 0.9. Comparing to the HFRX Equity Market Neutral Index using that index's inception date of March 2002, this portfolio returned 4.5% vs. the HFRX return of 0.6%.

I have been running this simple portfolio out of sample for since December 2003 and the results are similar to the in-sample results. In 2007, the synthetic market neutral portfolio also beat HFRX with 6.8% to 3.4%.

Sometimes the simple solutions are the best.

Tuesday, January 29, 2008

Are Quants victims of their own success?

Are there too many quants? In the past few months I have repeatedly heard similar versions of the same complaint:

You guys are all using Compustat, IBES, First Call, Barra, etc. and building the same models and coming to the same solutions….

In August 2007, equity quant fund performance blew up to what were then called 10 and 20 sigma (standard deviation) events. I call it being in a crowded trade. Andy Lo wrote a paper suggesting that it was:

...initiated by the rapid unwind of one or more sizable quantitative equity market-neutral portfolios…likely the result of a forced liquidation by a multi-strategy fund or proprietary-trading desk.

in other words, they were was in a crowded trade and tried to get out at the same time.


Be an Architect, not an Engineer
The easy availability tools such as MarketQA, Barra and Matlab, just to name a few, have vastly brought down the cost of entry into quantitative investing. The price of that low cost of entry is that many quants are framing the problem of alpha generation and risk control in similar ways. Given the large allocation of funds to quantitative equity investing, the events of August 2007 were inevitable.

Recently a career ad for a quant asked for an “architect, not an engineer”. I have referred to this in the past as combining quantitative skills with market knowledge and experience, others have called it “domain knowledge”.

The advantage of quantitative investing is the ability of a computer to systematically process a large amount of information. Your advantage as a human being and an experienced investor is your knowledge of the markets. A smart way of being a good quant is to combine those two elements by using the computer to model the way fundamental investors think about the markets.

As an example, the chart below shows the returns of an alternate quantitatively driven US equity market neutral portfolio during August 2007. The underlying model is not the Holy Grail and has its limitations, but it is still possible to build quant models that don’t put you in a crowded trade.

Monday, January 28, 2008

Is the hedge fund industry façade cracking?

Last week I wrote about that high correlations of hedge fund returns to the S&P 500 was a bad sign for the hedge fund industry here. This weekend the Sunday Times reports that Crisis grips European hedge funds, that:
Up to 10 European hedge funds have suspended redemptions after investors clamoured for their cash when the managers made severe losses.

A London prime broker told The Sunday Times that even before last week’s extreme gyrations, nearly two-thirds of London-based hedge funds had lost between 4% and 10% of their value. A “significant number” had lost much more, he said.

The manager of one of Britain’s biggest hedge funds said: “It’s been an extraordinary week. Even in the crash of 1987 I don’t remember so much carnage.”

I believe in the "cockroach theory" of trouble in financial markets. When you see one cockroach, there are usually more.

Thursday, January 24, 2008

High hedge fund/S&P 500 correlation = Bad News for the hedge fund industry?

Hedge fund returns remain highly correlated to the S&P 500, as I have pointed out before and this is a negative development for the hedge fund industry longer term. The latest available figures to Jan 18th show that the S&P 500 was down 9.8% YTD, while the HFRX Global Hedge Fund Index was down 3.0%


When the Tech Bubble burst in 2000 and equities went down in the ensuing bear market, hedge fund returns were uncorrelated to equity returns. Thus, they appeared attractive as an alternative investment because of their alpha and their low correlation to equities and other asset classes. Given this recent persistent high level of equity correlation, investors will no doubt begin to question the role of hedge funds in a diversified portfolio.


Even Equity Market Neutral Funds are correlated
The accompanying chart shows the returns of the HFRX Equity Market Neutral Index (-3.0% YTD) versus the S&P 500 (-9.8% YTD). Returns started becoming more correlated in late 2005 and early 2006 and have more or less continued to this day. For a group of funds that is supposed to be non-directional to the market their returns are exhibiting a very high market beta.






Addendum: Information Arbitrage has a similar view in his post Ratchet down your expectations for hedge funds and private equity funds.

Sunday, January 20, 2008

Sentiment Models Going to More Bearish Extremes

Since my recent post on Sentiment Models Pointing to a Rally in US Equities, the S&P 500 has descended 6.4%. Investor sentiment has gotten even more bearish, which is bullish from a short-term viewpoint.

A check in with AAII shows that individual investor sentiment has become bearish and readings are virtually off the charts. ISEE, which calculates a call/put ratio that only uses opening long customer transactions to calculate bullish/bearish market direction, shows similar extreme levels of investor bearishness.


The accompanying chart shows the large speculator, or fast money, position in the NASDAQ 100 futures, a high-beta instrument that they often use to make directional bets. The fast money crowd has raised their shorts the in the NASDAQ 100 since the last update and readings are definitely in the crowded short zone from which the market has rallied in the past.

However, the recent break of the S&P 500 through the long-term trend line is a worrying technical sign. To technicians, this is an indication that the uptrend in the stock market is broken and we may be in a bear market or at least a sideways consolidation pattern.

My conclusion: The market will likely rally hard but don’t count on the bull market of the last few years to continue.