theasxgorilla
Problem solved... next bubble.
- Joined
- 7 December 2006
- Posts
- 2,343
- Reactions
- 1
Your results are to be expected.
They simply mimick the market.
Nothing special there.
The equity curve would look like
a chart of a composite of all those stocks
in your universe.
but it seems to be very sensitive to trade price.
AG,
I'll like to have a look at the code myself. Is this a long only system ? I'll be surprised if the system managed those sorts of numbers if it traded both long and short.
I would too. Long only. I'll PM you the code too.
Meaning with the quick example I tried, by changing the trade prices from buy/sell at close to buy high, sell low, the typical return went from around +10%pa to seriously negative.theasxgorilla said:What do you mean by this GP?
Meaning with the quick example I tried, by changing the trade prices from buy/sell at close to buy high, sell low, the typical return went from around +10%pa to seriously negative.
Which to me means it's very sensitive to the actual price of the trade on the day, probably because it picks up a lot of very short trades with thin margins.
Anyway, I'll give your code a go soon. Thanks for that.
Cheers,
GP
I don't have an XAO500 list, but have tried some preliminary trials of 100-300 runs over the same time period with both an all-stocks list and an ASX300 list using your exact code (less runs on the all-stocks list since it takes longer). Firstly I tried buy and sell on close, then buy high, sell low. You can see that it makes quite a lot of difference. There's also a significant difference between using all stocks and limiting it to the current ASX300.theasxgorilla said:after 2500 runs using 10 years of data from 1/1/97 until 31/12/06, showed a 95% chance of a CAGR > 7.7% and a 95% chance of experiencing a Max DD no worse than 33.3%. No single run had a negative CAGR or a Max DD greater than 55%.
Amazing how not even 1 run from the 600 resulted in failure.
1. This particular system is rather sensitive to the trade price on the day. Perhaps if the system was modified to make it a longer-term system (eg. increase the minimum/average hold time) then it might become less sensitive.
I think it just shows how sensitive the system is to trade price. I would naturally expect shorter term systems to be more sensitive, as they would typically have smaller gains and thus a small difference in trade price could make a significant difference to the gain.If you test with buying and selling closes, or buying highs and selling lows, what does this infer?
I also chose a medium to long term outlook in this test to try and give decent size moves per trade, to minimise the impact of brokerage (I could have also set brokerage to zero I guess). I'll try again later using a shorter term outlook, but that generates a lot more signals and slows the backtesting down considerably more.
The reason I think the return is better for the current ASX300 list when backtested over that many years is that you're only testing over the stocks that have now proven to be successful.
It's a bit like saying I know that PDN, ZFX, etc. have done really well over the last few years, so I'm going to restrict my universe to just them and leave out all the ones that I know haven't performed. Of course the results are going to be outstanding. Using the current ASX300 or whatever is a less-extreme example of that, the way I see it.
Cheers,
GP
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?
We use cookies and similar technologies for the following purposes:
Do you accept cookies and these technologies?