I trade longer term mechanical trading systems exclusively on the ASX. I rarely look at daily charts and the systems are built using weekly timeframes. The information in this site is based on actual trades in real portfolios. I don't trade using margin or any sort of leverage. I mainly use Amibroker for system testing and trade monitoring. I am not selling anything. This is just a journal to record where I have been and, just maybe, where I am going.
Monday, December 15, 2008
Small Ords performance
On the 14 March 2003 the Australian Small Ords Index closed at 1388.1 and then the market started it's upward run to peak at 4098.1 on the 2nd Novemember 2008, not far off tripling in value.
Then the index proceeded to give back most of the gains in a little over a year. There was plenty of warning. The drop was not as fast as in 1987.
The Small Ords only has to give up another 195 points and it's back at where it was at in 2003. The Small ords is down 61% from it's peak a year ago, whilst the All Ords is around 50% down.
I have been looking at fundamentals lately. I am tempted to push some super money into some high yielding "blue chips". So far I have resisted the urge, dimly aware of my poor ability to pick winners through fundamental analysis. For me the numbers don't give the full picture.
stevo
Note: The S&P/ASX Small Ordinaries index is comprised of companies included in the S&P/ASX 300 index, but not in the S&P/ASX 100 index. It ignores the top 100 stocks and gives a view of the smaller cap stocks on the Australian market. It is a favourite index of mine.
Tuesday, December 02, 2008
System state
STATE - Last 26 weeks
--------------------------------
SystemOff = 22 Weeks
SystemOn = 4 Weeks
So the system has only turned on 4 weeks in the last 26. The Small Ords is down 59% from it's peak.
I still haven't updated the blog in terms of system performance. With so little happening I haven't been in any rush - hey it's my blog and I'll blog if I want to. Maybe I will wait until January.
stevo
Tuesday, October 07, 2008
AQA, NHC and some glorious nudes
Just a couple of charts of some recent sells that I made. AQA was a bit of a disappointment, but not a disaster. NHC was a rare bright spot in the current market. Their may be others but I haven't been getting any buy signals lately!
I have been busy working on Linux so I haven't updated my quarterly performance yet. Maybe sometime later this week.
Part of my doesn't really want to look, and the other part is busy with other things - like buying a house, painting my study, and "renting" a wonderful painting by Robin Norling - similar to the one below.
The painting I am looking after was designed to be mounted on the ceiling. It is certainly going to be a wonderful when I finish! I couldn't fit the painting in back of my station wagon so it's going to be a decent size on the ceiling.
stevo
Sunday, October 05, 2008
Linux & Amibroker
Shown is a screenshot of Linux running Amibroker - The cube effect in Linux is very nice.
There is a very helpful website - Amibroker for Linux. So far I don't seem to have any problems running Amibroker on Linux. I am running an Intel Core 2 Quad CPU and 4 Gb ram with Ubuntu Linux 8.04.
I will do an update on the portfolio soon since it's the end of another quarter.
stevo
Tuesday, August 26, 2008
Music collection scattered all over my desk
When I was young I can remember sitting on the floor at a friend's house with album covers all over the floor.I don't feel that old and yet the world has changed. Moose is the open source front end I am currently running on my music server. Moose simulates my youth on my desktop as I slide the mouse over the different albums to select which one to play.
I urge all fellow traders to mellow out on some fine music as they contemplate the day.
stevo
Thursday, August 21, 2008
NAS & Linux - wonderful technology
I have however been sorting out my network. I dropped a Qnap TS109 II into the mix. It's a NAS (network attached storage) unit. I bought it to store my music collection (stored in lossless FLAC format) and play to my Squeezebox, but it's also very useful for backing up data.
It also only needs around 14 watts to run and I can turn my desktop off to play music. I realised that I only really use the desktop computer for backup and as a music server, although I did set up a music system with it with a USB DAC plus some homemade "concept" speakers. But the desktop is too noisy for a Hifi setup. The NAS doesn't have a fan and is very quiet but I can't plug the DAC into to play music. It's headless - no screen or keyboard of it's own.
Any computer on the network can access the NAS and upload / download files, photos etc. The Squeezebox links wirelessly to the NAS to play music. My daughter's Macbook can also use it. I think that the desktop computer is going back to work so I can remodel my study - rip up carpets, paint walls, new blinds and some decent furniture.
Enough of my rambling - I will post some charts soon and maybe even talk about trading!
stevo
Tuesday, July 22, 2008
St Bees Island
Not a bad spot to drop anchor for the night. I went for a kayak around the boat - lots of tortoises. We are anchored in a passage between St Bees Island and Keswick Island. There was not much wind when we left Mackay but it will pick up later in the week. It's probably a good thing since Mrs Stevo is on board and she is not a keen sailor. We will head north somewhere today, depending on the wind.
I am sure that the markets can wait for me, they probably won't even miss me! I sold a few on Friday before the close and there are no buy signals at the moment. I don't mind being mainly cash at the moment.
I will post some charts when I get a moment, but it's not been a good start to the current financial year. That makes it a good time to go sailing. The boat is a 54 foot Hanse fitted out with more electronics then the Starship Enterprise - I bet they didn't have internet on board. All the more to go wrong though and you need a degree in electronics to sail it. Fortunately I'm not the skipper.
stevo
(able seaman & cook)
Tuesday, July 01, 2008
Yearly Performance
The yearly chart shown above gives a different view of trading performance from 2003 to June 2008. It good to step back and look at the big picture.
The last bar also contains substantial open profits. As I often mention percentages are difficult to calculate, but average returns are much better than the returns I would get out of commercial property - and lots less hassle.
2008 is looking pretty average compared 2007. I did add substantial sums of money throughout 2007. I haven't included bank interest or dividends to these results, they are just an added bonus.
I have cut back the number of trading systems from 4 to 2 systems. The main system has been running since 2003.
All systems are long term weekly trading systems. I don't short stocks and I don't use leverage, not because it's a bad thing but just because I don't feel the need at the moment.
stevo
Trading Results - January 2003 to June 2008
The quarterly closed trades histogram shows periods of little activity, with long term trades easily going 3 or more quarters. The last bar shows Q3 2008 and consists of all open trades.
Whilst Q2, 3, & 4 of 2007 show lots of profit taking in Q1 & 2 of 2008 I gave some of those profits back. The systems buy signals turned off for nearly 5 months from November to March so I also managed to accumulate some interest in the bank account.
The equity curve shows the drawdown for the first 2 quarters, as well as the open profits going forward. It actually looks worse than it felt, since the open trades offset the closed trade drawdown over the 6 month period. I am not going to try plotting daily or weekly open equity curves which would show a different picture again.
A year ago there was a much different mix of stocks in the portfolio. The current portfolio consists of roughly 61% Energy sector, 34% Materials, 4% Utilities, and 0.38% David Jones (Mrs Stevo likes the shareholder discount card!). The one stock (EWC) in the Utilities sector holds power stations somewhere in Asia - I know now because I just looked! It's hanging on by a thread and could easily be an exit shortly.
I am surprised by the strength of the coal miners. I have MCC in another portfolio and it's well past the magic (in my mind anyway) 100% gains mark in less than a year. Unfortunately I didn't put it in this portfolio, although coal stocks do feature. Iron ore minors also feature prominantly and something called New Hope Corporation (Great name - I think it's a coal miner) looks promising on the chart.
stevo
Monday, June 23, 2008
Only a week till the financial year ends
Add in some dividends and bank interest and it's an ok year for me, at least when compared to the indices. Otherwise it was a very tough year. The Small Ords is down 20% and the All Ords is down around 14%. Unrealised profits in the portfolio are ok at around 16%, so I am not hanging onto any big losses.
A couple of sells this week. PAN (the old SMY) was exited on Monday for a loss of 20% & WSA realised a little over 50%. Position sizing meant that I bought roughly 30% more of WSA than PAN.
I think that I learnt that consistency and perseverence pay off this year, and it's been a good walk forward experience. The current trading systems I am running have stood up quite well and I am very glad that I have them.
stevo
Wednesday, June 11, 2008
Another exit - long term loser
Sunday, June 01, 2008
May 2008 Portfolio Performance
The ideal situation for me would be for no profitable exit signals to fire at least until next financial year, delaying any tax implications until the following financial year. But exit signals have to be taken when they are triggered.
The above chart shows closed trade profit or loss for each quarter, except for the last quarter. The last quarter is dynamic - it shows trades that have not yet been closed.
The first quarter 2008 was the worst quarter I have experienced since Jan 2003. The second quarter is shaping up ok. There was a bit of a surge in the stocks I hold at the close of the month and I wouldn't be surprised if they fall back a bit next week.
The average trade length from January 2003 until May 2008 was 148 days and the longest trade was 694 days (RCD: opened 5/5/03,closed 29/03/05), so I am not day trading.
stevo
Wednesday, May 21, 2008
More on breakouts
I made the trade shown above in my super fund. IPL was up over 35% in a 6 month period when I took the trade. It had one week in the previous 6 months where it jumped 18%. I bought in at $26 and sold at $72.
Another signal fired not long after the exit. It would have been nice if the exit wasn't given - but that's the way it goes. Sell up and move on. I didn't take the second leg. When the second buy signal was triggered the stock was up 220% over the last year!
From when the 2nd buy signal was triggered to mid May 08 the stock put on another $100.
How many traders would have looked at IPL and thought it's had a good run surely there's not more to come? I did, although I picked up MCC as a consolation prize.
So much for discretion.
stevo
Wednesday, April 30, 2008
Random Entries and Black Swans
Systems;
1. Simple breakout.
2. HHV breakout.
3. RSI breakout - RSI must be above 70.
4. MA "breakout" - classic C crossing the MA, not really a breakout.
5. Random entry - uses Random()>0.955 in Amibroker.
The above chart shows the RAR of the 5 different entries teamed with a 12 week timed exit. So the exit is always taken 12 weeks after the entry.
Position sizing was 10% of equity.
The tests were run on the current ASX200 stocks.
The 0 to 80 axis is a dummy variable to generate 10 possible outcomes of each system. Positionscore was set to random.
Trades delayed and timeframe was weekly and the test was run from 1997 to December 2005. This allows, if so desired, for out of sample runs on all the systems up to April 2008.
You could investigate this sort of stuff for years wondering if the results are real, whether you are curve fitting, whether you got some test methodology wrong, or whether the whole concept of testing is flawed in some way etc.
stevo
Sunday, April 27, 2008
Equity Curves
The program is free from TickQuest.
I have to admit I don't really know what I am doing!
stevo
Monday, April 21, 2008
Even a monkey could write a great novel
To quote p.163;
“Beset with insomnia, the computerized day traders become night testers plowing the data for some of its properties. By dint of throwing monkeys on typewriters, without specifying what book they want their monkey to write, they hit upon hypothetical gold somewhere. Many of them blindly believe in it.”
The reference to “monkeys on typewriters” relates to the theory that if enough monkeys are put in front of typewriters eventually one of them will write War and Peace. I strongly suspect that the number of monkeys required would be impossible to find, let alone feed!
Any results need a good dose of scepticism – even a monkey can write a great novel!?
Trading is not just about making the maximum profit. “The greater the profit the greater the chance of going broke. “ (stevo 2008). Well maybe – I am not really into hard and fast rules. If I try for 100% plus returns using leverage then I might make it 3 out of 4 years, but the 4th year will wipe me out. If I plug for 20% I am less likely to self destruct.
Then there is the ride taken. I did some work on a fairly simple system. The equity curves are shown below. The system was developed using data from 1999 to 2003 so the walk forward equity curve looks pretty good.
Figure 1 Basic System
The first curve is the basic system from 1999 to March 2008. It looks pretty good considering I am not pyramiding profits into the system, just trading with a flat amount. The second equity curve has an index filter added to turn the buy signals off if the market looks weak. The equity curve is still pretty good, but total profits are down compared to the system without the index filter.
Figure 2 With index filter
But when I look at the period from Jan 2007 to current a different picture is painted. Without the index filter the equity curve is south of the zero line for most of the period, whilst the index filter version looks much more tradeable. . I always remember starting up a system back in 2002 and immediately losing money. Startup is always hard! Starting this system up at the beginning of 2007 would have been tough.
Figure 3 Basic system from 2007
Figure 4 With index filter from 2007. Note that a lot of the money was made in just a couple of trades, but at least it wasn’t given back as in the basic system.
Over the last 5 years from 2003 to 2008 turning off a system when the occasional market dip occurred didn’t really help make money. It was better to be in the market all the time.
But it’s not only about CAR (compound annual return) it’s about the ride taken. Measuring the ride can be difficult, but the equity “curve” paints a picture that most people can understand
stevo
Thursday, April 10, 2008
March Quarter
Wednesday, March 19, 2008
March quarter, systems and competition
I couldn't see any difference because there has only been 2 closed trades since the last posting at the end of January and the gains and losses have been so small that they had little impact on equity.
I have mainly been trading one system for the last 5 years, although I have tried to introduce new ones at times. I keep coming back to a system that I am comfortable with, although in testing it may not be as profitable as some others. A few others trade my favourite system and to reduce competition against them I developed yet another system, currently called 50%, although I will change the name soon. I basically took my favourite system and stripped it of the bells and whistles.
Competition in the market against others probably isn't that big a problem. For starters there is some discretion in stock selection and this has resulted in quite a bit of variation in portfolio makeup. This has resulted in my brother being up around 15% (including open trades) for the current financial year, whilst I am struggling to get 5%. He has IPL and CEY in his portfolio from October last year, whereas I don't.
I will keep my favourite system for my super fund and make the new 50% system the system of preference for the portfolio reported here. I tested both systems combined and weighted trades towards the new system. So the 50% system has priority and, if any money is left, it goes to "old faithful". I am finding that I will make more if I trade a little more, although the ride will be bumpier.
Since I nearly went to cash it's like starting up the portfolio again. System startup is always a difficult time.
Happy trading,
stevo
Wednesday, February 27, 2008
Trading, GPS navigation and mates
I rely on GPS navigation systems when I drive around the city. I figure that, even though there may be a quicker way, on average, I am better off with a good navigator. My mate (call him Peter) detests sat nav systems – he knows the city exceptionally well and the nav system is pretty well nearly always "wrong".
Peter decides that he wants to trade, wants to make some easy money. The managed funds he holds are doing ok but he is sure that he can do better. So he comes to me. I know that it is not as easy to show someone how to trade so I give him a list of things that he has to do – set up a brokerage account, get a data feed, buy software, work out how much money he wants to use. I want him to think about how much effort is involved. This takes him around 18 months to set up since he is very nervous about jumping into the market and also has very limited computer skills (his wife is much more comfortable with computers).
I give Peter a system, as well as a list of simulated trades that the system would have made over the last 5 - 10 years. I suggest that he studies these past trades to see how the system performed, what it’s weaknesses and strengths are, to get a feel for the system. I am very conscious that this is unlikely to happen. Paper trading is very hard. The pull of the markets, the excitement making that first trade is far too strong to waste time understanding what could happen and how the system behaves.
As usual, after waiting for some years before he can gather the courage to face the markets , the market struggles and Peter loses a little bit of money. But soon he falls into a rhythm and seems to be following the system quite well. He even wings a couple of trades because he believes that he is getting a feel for the markets.
Then the market has a bit of a downturn and Peter, who has been trading quite well for around 18 months thinks that he can improve the system by ignoring the sell signals, much like he ignores a satnav system. For a few trades he waits a few weeks and then gets out a little better then acting immediately on the signal.
But then he ignores the sell on CHC. This is not the only sell signal ignored, there are a couple of others, but this one illustrates the point nicely – none of them have recovered yet. Instead of getting out at around $2.50 back in December 2007 he holds it.
It’s early February and Peter isn’t looking too happy. I ask him how the trading is going.
“I don’t want to look” he tells me.
Over a couple of days I find out about CHC and another trade that have gone seriously wrong.
“What should I do? What would you do?”
“I would have sold CHC back when the signal was given.” I tell him. “If I did somehow ‘forget’ to act on a signal then I would get out as soon as I realised my mistake. I would sell immediately and move on.”
I am in a risky position. It is just as likely that as soon as the stock is sold it rebounds back above a $2 and Peter is cursing acting on my system based advice and believing that his judgement is better than any system. So I make sure that he understands it’s his decision, he is outside the system and I really have no special knowledge of what might happen to this stock over the next few months. He is navigating blind in a city where roads are built, moved and destroyed every day. In this sort of city a well thought out strategy is required if you want to get to your destination.
This is a true story and I take the following from it;
1. If you are going to trade a system then trade the system, don’t try to beat or “improve” the system on the fly.
2. Believing that you have some special, innate ability, some “gut feel” for the markets is a seriously delusional state of mind. Sure you can be lucky some of the time, but luck tends to run out the more it is relied on.
3. Taking a loss is hard for many people. We are not brought up to take losses. Trading is not a natural activity for humans to undertake.
4. Some people seem to be able to follow a system as easily as they breathe. They don’t question, they don’t try to beat it, and they just follow the signals and move on. For others it is not that easy!
5. Don’t look back – always move forward. What could have been is irrelevant. Peter would always say things like “if I had held it longer it would have recovered.”
6. We tend to see what we want to see. It is easy to find examples that validate our beliefs about the market and ignore the trades that don’t.
7. Some people are not suited to trading a system, or trading in general. They should go for managed funds or use a blue chip buy and hold approach.
8. It is much better to learn from another’s experience than to be the guinea pig yourself. Experience is the cruellest teacher when it comes to trading.
Do we really believe that we are, without any training, strategy or insider knowledge, natural born traders? Or do we just try to sway the probabilities in our favour and hang on for the ride?
stevo
Thursday, January 31, 2008
Tough Month - closed trades equity curve
I was just looking at how January went and it wasn't all that pretty - like many long term traders. Not surprising considering the All Ords is down over 10% since the end of June 2007. Any gains that may have been around at the end of December were severely damaged in January 2008. Still I have a slight profit for the year, probably similar to putting my money in the bank - which is where most of it is at the moment.
Most of the open trades have turned into closed trades over January. I have left open trades off this chart, although there are not too many of them. For the first time since I started trading systems the open portfolio is in a slight loss situation.
Currently drawdown from the peak on the chart (on the 24/12/07) above to current is around 11% and could go a little lower depending on what the open trades do.
I seem to be very busy of late with work, travel and other projects (obsessions!) but I am still able to follow my system, which is very fortunate given the state of the markets at the moment.
I am afraid that I have no words of wisdom. If you are trading a long term system that you "know" works then hang in there!
regards
stevo
Thursday, January 10, 2008
TWO & OST
Tuesday, January 01, 2008
2007
Performance that includes monthly drawdown, dividends and adjustments for cash etc will take me a lot longer.
The closed trade equity curve is looking ok - it's heading in the right direction.
I know that people like percentages but that is a little more difficult for me to produce, especially since money tends to flow in and out of this account.
Suffice to say this isn't paper trading results - this is real money. It wasn't a brilliant year (greater than 50% gain would be a brilliant year :) ), but I really have nothing to complain about. If I can average greater than 20% compounding over the next 20 years financially I will be ok. Some might think that this target is too low?
I have taken the Y axis labels off the charts but just assume that they are in dollars. The portfolios traded with a relatively static capital base up until the end of 2006, but the capital more than doubled in 2007. If you look back on the this blog you can probably make some extrapolations if you desire.
I have probably mentioned previously that adding capital can be quite challenging. If enough is added it can nearly be like starting the portfolio up again. Startup is the hardest time in a portfolio.
I have a lot of cash (around 40%) on the sidelines since the systems have mainly been off through November & December.
Wishing everyone the best in 2008!
stevo