Stockopedia | Share Prices, Share News and Company Research

A Mechanical Portfolio: Does Mechanical Investing Work?

Monday, Jun 13 2011 by
8
A Mechanical Portfolio Does Mechanical Investing Work

There may be some merit in a mechanistic approach to portfolio adjustment for the following reasons:

- Set at suitable review intervals, trading frequency and related costs can be minimised

- The inertia effect of “falling in love” with stocks is avoided

- The system can allocate assets on a rational basis (asset allocation is the biggest determinant of performance)

- Emotional components (herd behaviour, fear and greed, reluctance to admit mistakes etc) which bedevil individual investors are minimised.

- The system can mandate sales, the hardest element of portfolio management

- The system can be engineered to be biased towards capital preservation 

I set out below the structure of a simple system which attempts to tackle the issues above.

Elements

This system determines which of four diverse asset classes are held at any given time. Each asset class has a single proxy chosen (a) to be easily traded on small spreads and (b) to have a good financial credentials (balance sheet, size etc). The four asset classes are:

  • Developed market equity
  • Real estate
  • Emerging market equity
  • Hard commodities (gold, mined raw materials)

Clearly there could be more than four asset classes but these four seem to me to cover much of the waterfront and do not correlate much in normal market conditions.

 Special Offer: Invest like Buffett, Slater and Greenblatt. Click here for details »

Decision process

This system is based on a quarterly review period. The decision dates are the first trading Tuesday after each of 15th January, April, July and October.  (The dates and frequency could vary but these suit me as I am usually not travelling then). The decision review answers the question “should this asset class be held for a further three months?”. If the answer is No then that portfolio element is switched to cash for the following three months.  

Basis of Decision

The asset class is held for a further three months if the 50 day moving average price on the review date is above the 200 day moving average. Otherwise the asset is sold and cash is held until the next review date.
This is a simple “the trend is your friend” methodology that can be back-tested through the last five years - a period of considerable volatility.  I have done this and the results are below.

Proxies

I have chosen single proxies for the four asset classes on the basis that I know the particular assets.   My proxies are:

There can obviously be some debate about whether these are the right proxies. The reader may well have his own. I set out my reasons for selecting these vehicles as an appendix.

Back test method

The table below shows the results of a back test of this system for a five year period (from July 2006) which includes the collapse of Lehman Brothers in September 2008. The initial amount applied to each asset was £100,000. Dealing costs and interest on cash were ignored. Dividends were not ignored. All trades use closing mid market prices. This of course ignores the spread but as there was an average of one trade per asset per year this may not be material unless selling during a period of peak volatility when spreads can be large. The stocks used are fairly large and have good volumes.

Price data came from Yahoo historical tables. The moving averages were established from Stockopedia graphs for the UK stocks and Yahoo for the US stock. 

Findings

The system produced a good result for the real estate asset but in all other cases a buy and hold strategy would have been better. This is perhaps because Land is a leading indicator: it goes into recession first.

If you were forced to sell at the lowest point of the market then the mechanical system would have done a better job of preserving capital (columns C and D). This doesn’t tell the whole story as minimum individual asset valuations occurred at dates as far apart as January 2008 and October 2009 depending on asset class and strategy.

Conclusions


Over the period, the FTSE100 has gone from roughly 5600 to 5800 so some of the result is due to asset allocation and the Alpha element of the specific stocks. Not many people would have been 25% invested in emerging markets and 25% in mining stocks in 2006. A chartist approach using moving averages might be effective in timing entries and exits from real estate companies. For other asset classes a mechanical approach seems to protect the downside if you do not have the stamina to remain invested for long haul. The system gave equal weight to the four asset classes and turned them on or off.   A more sophisticated system would adjust relative weights.

There is no statistical support for the table but it may provide food for thought.  Also the decision test is a bit simplistic.  Perhaps a test based on the outlook in formal trading statements might be better.  Comments welcome. 

Appendix 
My Asset Proxies

Developed Market Equity: MMM

3m is a well established US based conglomerate with operations in many countries and markets. It manufactures. It is perhaps best known for “Post-it” notes but also makes films used in electronics, medical products and much more. The business is not excessively geared at 20%. The company has a beta of 0.82 and therefore is closely correlated with the S&P500.

Real Estate: BLND

If I were starting today I would choose LSP. London & Stamford Property Limited is a good proxy for UK real estate as its portfolio covers retail, office and residential property both inside London and regionally. Its gearing is 33%.

For back testing purposes I have used BLND, British Land as data is available for a five year period.

Emerging Market Equity: AAS

Aberdeen Asian Smaller Companies Investment Trust is a good proxy for emerging markets as it invests in relatively small businesses in Asia outside Japan and largely outside China. The trust is not materially geared (although the underlying companies probably are). The management fee is reasonable (1.4%). I prefer this method of reaching emerging markets as it is actively managed by a well embedded team in Singapore. A suitable ETF may be an alternate.

Commodities: ANTO

Antofagasta plc is one of the oldest listed companies on the London Stock Exchange. Its principal operation is copper mining in Chile but it extracts other commodities including gold. The business has been run for many years with no net borrowing.


Disclaimer:  

As per our Terms of Use, Stockopedia is a financial news & data site, discussion forum and content aggregator. Our site should be used for educational & informational purposes only. We do not provide investment advice, recommendations or views as to whether an investment or strategy is suited to the investment needs of a specific individual. You should make your own decisions and seek independent professional advice before doing so. The author may own shares in any companies discussed, all opinions are his/her own & are general/impersonal. Remember: Shares can go down as well as up. Past performance is not a guide to future performance & investors may not get back the amount invested.


Do you like this Post?
Yes
No
8 thumbs up
0 thumbs down
Share this post with friends



Aberdeen Asian Smaller Companies Investment Trust PLC is an investment trust. The investment objective of the Company is to maximize total return to shareholders over the long term from a portfolio of quoted companies in the economies of Asia and Australasia, excluding Japan. The Company’s assets are invested in a diversified portfolio of securities in quoted smaller companies across a range of industries and economies in the investment region, including Australia, Bangladesh, China, Hong Kong, India, Indonesia, Korea, Malaysia, New Zealand, Pakistan, The Philippines, Singapore, Sri Lanka, Taiwan and Thailand. As of July 31, 2012, the Company’s investment portfolio included Multi Bintang Indonesia, AEON Co (M), Siam Makro, Bukit Sembawang Estates, LPI Capital, Godrej Consumer Products and Bank OCBC NISP. Aberdeen Asset Management Asia Limited is the manager of the Company. more »

Share Price (Full)
1102.69p
Change
-61.0  -5.3%

The British Land Company PLC is a real estate investment trust. It provides investors with access to a diverse range of property assets, which it manages, finances and develops. As of March 31, 2012, its 27 million square feet of retail space included 90 retail park properties, 99 superstores, 12 shopping centers and 10 department stores. During the fiscal year ended March 31, 2012, it secured 70 new consents across the retail portfolio accounting for one million square feet, including new consents for Hobbycraft and Pets at Home at the Beehive Centre in Cambridge; Frankie & Benny’s at Parkgate, Rotherham, and Smyths Toys at Glasgow Fort Shopping Park. In February 2013, it acquired a portfolio of properties in London from Wereldhave. In March 2013, the Company sold its Ropemaker Place, London EC2 to Frasia Properties S.a r.l. and Frasia Properties Subsidiary S.a r.l. more »

Share Price (Full)
633.5p
Change
-7.5  -1.2%
P/E (fwd)
20.8
Yield (fwd)
4.2
Mkt Cap (£m)
5,707

Londonmetric Property PLC, formerly London & Stamford Property Plc, is a United Kingdom-based real estate investment trust (REIT). The Company aims to deliver attractive returns for shareholders through a strategy of increasing income and improving capital values. It invests across the United Kingdom in retail and distribution properties, as well as Greater London real estate opportunities. It employs an occupier-led approach to property investments through opportunistic acquisitions, joint ventures, active asset management and short cycle developments. The asset focus is on properties providing opportunities to improve both rental values and the security and longevity of income and limited risk redevelopments with the aim of enhancing shareholder returns. In May 2013, Londonmetric Property PLC announced the acquisition of Martlesham Heath Retail Park. more »

Share Price (Full)
115.9p
Change
-1.1  -0.9%
P/E (fwd)
25.1
Yield (fwd)
6.0
Mkt Cap (£m)
635.1



10 Comments on this Article show/hide all

alano20 12th Jun '11 1 of 10

The table below shows the results of a back test of this system for a five year period (from July 2006) - Is this  missing?

| Link | Share | 1 reply
siestainvestor 13th Jun '11 2 of 10

In reply to alano20, post #1

The table was pasted in as a .tiff image. It may be that your browser can't parse it.

| Link | Share | 1 reply
alano20 13th Jun '11 3 of 10
1

In reply to siestainvestor, post #2

Thanks, got it now. Neither Firefox nor Google Crome could parse though.

| Link | Share | 1 reply
siestainvestor 13th Jun '11 4 of 10
1

In reply to alano20, post #3

I changed the table to a jpeg and it now parses in Firefox. Thanks.

| Link | Share
Dave Brickell Stockopedia Staff Member 13th Jun '11 5 of 10
2

Very interesting post. Although this particular strategy didn't perform so well vs. a straight buy and hold strategy, if you look at the rise of quant funds in the City, I think it shows the power of some of these semi-automated investing styles. 

We're very interested in the whole area of algorithmic investing and the use of screening as a guide to improved investment decision-making (I am less keen on the term "mechanical investing" as I don't think it recognises the way different levels of judgement can and usually should be applied to the results as no algorithm is ever likely to be perfect given the constantly changing market environment). 

Anyway, this is all very much in line with some of the development work we are doing for Stockopedia PRO which will be launching this summer, so hopefully you'll find that to be of interest when it comes into beta.

Website: Stockopedia PRO
| Link | Share
snickers 13th Jun '11 6 of 10
1

I'd like to know how robust this method is.. can you generate an average return for the last X years, or with a random start date? does that average tend towards a simple buy-and-hold return value?
also i'm not sure you escape the psychological traps: i presume you have to monitor the investments and consequently watch peaks and troughs come and go.. On the other hand, if you do succeed in disassociating from the process, you're possibly losing out on one neglected plus of shareholding: which is to identify those parts of your life where your analysis actually means something and has a sure footing... invest in yourself, Etc.

| Link | Share
marben100 13th Jun '11 7 of 10
1

Unfortunately, to the best of my knowledge, I don't think any mechanical or semi-mechanical method has been shown to work consistently. I even tried a semi-mechanical method (based on voting by supposely knwledgeable investors) over a 4 year period on a portion of my capital. Whilst when I first examined and back-tested it, it appeared to produce superior returns, it failed miserably (and was the poorest performing part of my portfolio) over the period tested.

Though "quant funds" may be popular in certain quarters, have any produced consistent & not erratic returns? If there are any, I imagine their agorthims will constantly adapt to changing market conditions.

In my opinion and experience there is no substitute for hard work and serious research. If you don't have the time available, you are probably better off entrusting your capital to a skilled manager (or collection of fund managers), who spends all day, every day doing that. There are one or two who post here. ;0)

Cheers,

Mark

| Link | Share | 1 reply
snickers 14th Jun '11 8 of 10
4

In reply to marben100, post #7

i spent the evening (face it kid, half the night as well..) trying a bit of momentum analysis. the beauty of computers is that you can run a program over and over with slightly different inputs. what i've done is, using monthly average prices for antofagasta, to generate a rolling moving average of various time periods, and use share price divergence from these to trigger buys and sells. it's a simple buy-on-the-dips, sell-on-the-peaks strategy. so in the following grids horizontal is the % divergence, vertical is the moving average time slice. zero is top left for both scales. the dot size shows the cumulative return. [i've not included the cost of trading or of missing dividends].



the main feature here, apart perhaps from incomprehensibility, is the big wedge at top right: this is data from the last 4 years and that wedge, i think, represents buying in march 2008 and selling today; ie waiting for a massive dip.. it also looks like there's an small benefit from using longer moving averages and demanding a bigger peak/dip to trigger a trade. the empty top right corner shows how being too greedy means you never buy at all. but is there another wedge in the top left? does this pattern show up using weekly data? here are 2 periods, from 2004-6 and 2009-now.



the older data shows you need momentum to make momentum trading work. preferably upward momentum. the recent data shows... i'd say no more than that a long horizon and non-itchy (but not totally insensitive) fingers gets better returns. if there is something going on on the left hand side it's a small effect... it's probably a bug in the code.

next, here's a weekly graph for a volatile stock: desire


with this one the volatility seems to skew better returns towards a long-term-moving-average/low-divergence tactic. but you could easily miss the fat dots.
hope that helps! i can't guarantee my maths: i may well have written code which confirms my current thinking. perhaps the best strategy is to wait for that generational dip, to invest only once and try to accumulate cash in anticipation; trade the economic cycle.
as marben says productive research must lie elsewhere: biographies of management etc, analyse the product. i like the approach of brontecapital: the man there identifies frauds using anomalies in the balance sheet and then has private investigators sniff round the company's premises. easier said than done of course.

| Link | Share
siestainvestor 14th Jun '11 9 of 10
3

Full marks for artistic merit snickers.  It seems you have to set trigger parameters high and review cycle times long and use long moving averages to get into your wedge.  This will require considerable patience.

I know mechanical investing was discussed at length in another place a few years ago and generally rubbished by those that tried it in practice, although I did have some success with a system based on Profit Warnings for a couple of years (I gave up in the end because it was hard work).

I don't disagree with marben when he says there is no substitute for research - particularly for finding undevalued assets to buy.  But the hard bit is deciding when to sell specific assets and indeed when to take money off the table completely.  Some routine that forces you to consider something that can be objectively measured (eg 50ma>200ma) on a regular (but not too regular!) basis seems to me to worth attempting.  Another method I use is to see where the current valuation lies against the previous five year's PE ratios (easy using SharelockHolmes).  (ANTO went from a PE of 8 to well over 40 for example.  I baled out around 20 and missed a big bit of momentum but I slept nights).

As I listed in my "Reasons" in the main post, asset allocation seems to be everything.  The real problem at present is sitting it out in cash earns you nothing - one shoud probably be in German sovereign debt, index linked bonds and maybe gold all of which are harder to buy and hold for the private investor.  It is not a happy time.  It looks like all the proxy assets are about to switch to Sell.  Anglo Saxon government debt repayment is still being pushed onto future generations or will be worked out by debasing the currency.  When Property shares dive under again it might indicate that the next (Government Balance Sheet) recession is upon us.

Maybe I should have titled the thread "Towards a system for triggering a Risk Off posture" as that for me is the Holy Grail.  How do others achieve this?  After all, if you avoid losses you will eventually make money!

Siesta

| Link | Share
snickers 14th Jun '11 10 of 10
Full marks for artistic merit

ta.
yes, patience. graft all you can, index-link your savings, and bide your time. i'm torn between selling up non-dividend bearing shares for now until a China-triggered correction has passed [it didn't happen today anyway], and staying in the game, for the excitement, interest; and it makes me feel relatively more intelligent in my other activities.
Stock screens can be deceptive, i find. a good showing is often a flag for some kind of problem. kazakh miners etc always pop up. but it seems more scientific than dart chucking, to pick a company to investigate further. picking an intelligent guru is possibly a good stategy, and sticking with them. i feel sure Christopher Wood's Greed & Fear must be a mine of good sense, since i've never seen it leak onto the internet..

 

| Link | Share

What's your view on this article? to Comment Now

 
 
You are feeling neutral

Use the £ sign in front of a ticker to turn £VOD into Vodafone PLC

You can track all @StockoChat comments via Twitter


About siestainvestor

Retired mathematician, computer bod, venture capitalist and company turnaround specialist



Stock Picking Tutorial Centre


Related Content

Stock Picking Simplified

Stockopedia takes your stock picking to the next level with cutting edge Stock Reports & Screening tools.