SetOption("InitialEquity", 100000);
SetOption("MaxOpenPositions", 20);
SetTradeDelays(1,1,1,1);
SetPositionSize( 5, spsPercentOfEquity );
UpperBand = BBandTop( C, 100, 3 );
LowerBand = BBandBot( C, 100, 1 );
SevenDayAverageTurnover = MA(C*V, 7);
SevenDayAverageLiquidity = MA(V, 7);
Buy = Cross( UpperBand, C ) AND SevenDayAverageTurnover > 500000 AND SevenDayAverageLiquidity > 500000 ;
Sell = Cross( C, LowerBand ) ;
PS=Optimize("Postion Score",1,1,1000,1);
PositionScore = Random()*PS;
Just wondering, do the tests take into account brokerage? If so what value do they use? I would think over 10+ years for 20 positions ($100k account) using brokerage of $30/trade will produce different results to $6/trade.... or is it a wash?
The delisted list I'm using is stocks that have stopped trading at some stage within the dates 01/01/1997 and 30/06/2012. (I just picked a date a few months ago) Over that time period does about 1000 stocks sound reasonable?
It is possible with my limited amibroker knowledge that something is wrong though
Stopped and never traded again. Just had a look through my list and they all seem to have stopped trading. (See attached)
I just did a bit of a search on google and there have been 67 delisted in the past 6 months, so I suppose it makes sense there have been over 1000 in the past 15 years. http://www.asx.com.au/asx/research/delistedCompanies.do
I don't however get as many as Nick Radge in his book, his test universe contains 1847 securities (XAO and complete delisted stock universe back to January 1997) Maybe because of the Amibroker code delisted/listed overlap issue? I'm not sure yet.
If you have a good look you'll notice that only 15 have ceased
The remainder have been acquired in one way or another and
Are still trading under a different code.
Yes that's correct, I want my list to include all of those.
In Unholy Grails the test universe is made up of the XAO plus complete delsited stock universe back to January 1997 including all stocks that have gone into administration as well as those delisted due to merger or acquisition. The test universe in the book has a total of 1847 securities.
So with my list I have about 500 XAO and 1000 delisted (stopped trading under that symbol) but that's still 300 less than the list used in Unholy Grails. Might have something to do with Amibroker not playing nicely with listed/delisted duplicated symbols but 300 difference is a lot. Any ideas on that one?
I'll ask Radge if I can get the list if you like
Been looking at his site, particularly the subscriptions for the short term (turtle) and trend following systems.
Is his book an alternative for someone who wants to build, test and follow a similar system on their own? If so, does the book contain enough instruction for someone new to AmiBroker to navigate the software to do what's in the book?
Nicks reply to my email
For the book I used the default Delisted database and current XAO constituents as per the standard PremiumData subscription.
Now they have a new database, the Alpha PDU, which was not available at the time. This enables me to test the historical universes accurately. As an example, I can test the Small Ordinaries all the way back to 1991 using only those stocks which were ever in that universe at that exact time.
Nick Radge
AFSL 288200
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?