Calling all System Developers...

This is a discussion on Calling all System Developers... within the Mechanical & Systems Trading forums, part of the Styles & Strategies category; Hello All, For all those who have developed & traded their own systems, I would welcome your thoughts & comments ...

Reply
2 2 Attachment(s)
 
LinkBack Thread Tools
Veteran Member
 
Chorlton's Avatar
 
Join Date: Dec 2004
Location: Melbourne, Victoria
Posts: 687
Calling all System Developers...

Hello All,

For all those who have developed & traded their own systems, I would welcome your thoughts & comments on the following system which I am currently developing.

It is a Weekly LONG only system, trading stocks on the FTSE250.

The profit results are not that great compared to others I have looked at but given that the system is easily to manage, I would be happy with the return, especially as it can be traded with minimum time & effort.

The system has initially been backtested using price data from 1998 to 2004 (inclusive). This is my "in-sample" data. Following any feedback on this thread, I will look to test the system on "out-sample" data from 2004 to present.

The results are as follows:


Monte Carlo Report

Trade Database Filename: v3,81 FTSE250.csv


Simulation Summary
Simulation Date:
28/01/2008

Simulation Time:
3:48:01 PM

Simulation Duration:
85.89 seconds


Trade Parameters
Initial Capital:
$50,000.00

Portfolio Limit:
100.00%

Maximum number of open positions:
100

Position Size Model:
Fixed Percent Risk

Percentage of capital risked per trade:
1.00%

Position size limit:
10.00%

Portfolio Heat:
100.00%

Pyramid profits:
Yes

Transaction cost (Trade Entry):
$15.00

Transaction cost (Trade Exit):
$15.00

Margin Requirement:
100.00%

Magnify Position Size(& Risk) according to Margin Req:
No

Margin Requirement Daily Interest Rate (Long Trades):
0.0000%

Margin Requirement Yearly Interest Rate (Long Trades):
0.0000%

Margin Requirement Daily Interest Rate (Short Trades):
0.0000%

Margin Requirement Yearly Interest Rate (Short Trades):
0.0000%


Trade Preferences
Trading Instrument:
Stocks

Break Even Trades:
Process separately

Trade Position Type:
Process all trades

Entry Order Type:
Default Order

Exit Order Type:
Default Order

Minimum Trade Size:
$0.00

Accept Partial Trades:
No

Volume Filter:
Ignore Volume Information

Pyramid Trades:
No

Use Level Zero trades only:
Yes


Simulation Stats
Number of trade simulations:
20000

Trades processed per simulation:
189

Maximum Number of Trades Executed:
148

Average Number of Trades Executed:
146

Minimum Number of Trades Executed:
143

Standard Deviation:
0.98

Profit Stats

Maximum Profit:
$58,075.74 (116.15%)

Average Profit:
$54,055.41 (108.11%)

Minimum Profit:
$51,240.66 (102.48%)

Standard Deviation:
$1,296.74 (2.59%)

Probability of Profit:
100.00%

Probability of Loss:
0.00%


Percent Winning Trade Stats
Maximum percentage of winning trades:
53.10%

Average percentage of winning trades:
51.57%

Minimum percentage of winning trades:
50.00%

Standard Deviation:
0.67%

Percent Losing Trade Stats
Maximum percentage of losing trades:
50.00%

Average percentage of losing Trades:
48.43%

Minimum percentage of losing trades:
46.90%

Standard Deviation:
0.67%


Average Relative Dollar Drawdown Stats
Maximum of the Average Relative Dollar Drawdown:
$310.96

Average of the Average Relative Dollar Drawdown:
$289.82

Minimum of the Average Relative Dollar Drawdown:
$270.55

Standard Deviation:
$7.11


Average Relative Percent Drawdown Stats
Maximum of the Average Relative Percent Drawdown:
0.3875%

Average of the Average Relative Percent Drawdown:
0.3603%

Minimum of the Average Relative Percent Drawdown:
0.3315%

Standard Deviation:
0.0102%


Maximum Peak-to-Valley Dollar Drawdown Stats
Maximum Absolute Dollar Drawdown:
$2,544.99

Average Absolute Dollar Drawdown:
$2,457.06

Minimum Absolute Dollar Drawdown:
$2,402.11

Standard Deviation:
$26.10




Maximum Peak-to-Valley Percent Drawdown Stats
Maximum Absolute Percent Drawdown:
2.7241%

Average Absolute Percent Drawdown:
2.7162%

Minimum Absolute Percent Drawdown:
2.6984%

Standard Deviation:
0.0064%


All comments welcome.

Thanks in advance,

Chorlton
__________________
A Fine is a Tax for doing something wrong. A Tax is a Fine for doing something right !!

Return of Capital should always be more important than Return on Capital
Chorlton is offline   Reply With Quote
Junior Member
 
Join Date: Dec 2006
Posts: 47
Lightbulb Re: Calling all System Developers...

I'll try to share a few thoughts, first let me recap the info most relevant for me:

Quote:
Originally Posted by Chorlton View Post
The system has initially been backtested using price data from 1998 to 2004 (inclusive).
The results are as follows:

Initial Capital:
$50,000.00
Number of trade simulations:
20000
Trades processed per simulation:
189
Question - what is the difference between trades processed vs. executed?

Maximum Number of Trades Executed:
148
Average Number of Trades Executed:
146
Minimum Number of Trades Executed:
143

Maximum Profit:
$58,075.74 (116.15%)
Average Profit:
$54,055.41 (108.11%)
Minimum Profit:
$51,240.66 (102.48%)

Maximum percentage of winning trades:
53.10%
Average percentage of winning trades:
51.57%
Minimum percentage of winning trades:
50.00%

Maximum Absolute Percent Drawdown:
2.7241%
Average Absolute Percent Drawdown:
2.7162%
Minimum Absolute Percent Drawdown:
2.6984%
For me this system looks very well - the profit is not killing, but is definitely adequate and the system seems very stable. Drawdown is very low, worst Win/Loss ratio 1:1. You might want to include average winning amount and average losing amount for completeness. Also worst single loss and best single win would be nice to know. Relatively low number of trades might be a concern for testing purposes (20 per year). What is your average holding period for a position?

I like it, really. I'd put my money in it if more research would not reveal any flaws.
Tadragh1 is offline   Reply With Quote
Veteran Member
 
Chorlton's Avatar
 
Join Date: Dec 2004
Location: Melbourne, Victoria
Posts: 687
Re: Calling all System Developers...

Chorlton started this thread
Quote:
Originally Posted by Tadragh1 View Post
I'll try to share a few thoughts, first let me recap the info most relevant for me:



For me this system looks very well - the profit is not killing, but is definitely adequate and the system seems very stable. Drawdown is very low, worst Win/Loss ratio 1:1. You might want to include average winning amount and average losing amount for completeness. Also worst single loss and best single win would be nice to know. Relatively low number of trades might be a concern for testing purposes (20 per year). What is your average holding period for a position?

I like it, really. I'd put my money in it if more research would not reveal any flaws.
Hi Tadragh,

Thanks for the response. I wasn't sure if anyone was going to reply so its much appreciated.

I'm currently at work but when I get back home, I shall post the other trade result stats. I agree with you that the overall profit could be better but as you say the MaxDD is very low IMO. Most long-term systems seem to suggest a MaxDD of around 10% and as minimising risk is paramount to me, keeping this figure below this value is important even if overall Profit is affected.

Given that its a weekly system, the frequency of trades taken is around 2 per month. Although, this may be low, I'm happy with this as it is a lazy system.

Out of interest, are you involved in system development and if so have you ever designed something to trade the UK markets? If so, I'd be interested in the kind of number stats that can be achieved in this current climate.

Regards,

Chorlton
__________________
A Fine is a Tax for doing something wrong. A Tax is a Fine for doing something right !!

Return of Capital should always be more important than Return on Capital
Chorlton is offline   Reply With Quote
Veteran Member
 
Chorlton's Avatar
 
Join Date: Dec 2004
Location: Melbourne, Victoria
Posts: 687
Re: Calling all System Developers...

Chorlton started this thread Hello Tadragh1,

Here are the remaining stats:


Trade Parameters and Preferences

Trade Parameters
Initial Capital: $50,000.00
Portfolio Limit: 100.00%
Maximum number of open positions: 100
Position Size Model: Fixed Percent Risk
Percentage of capital risked per trade: 1.00%
Position size limit: 10.00%
Portfolio Heat: 100.00%
Pyramid profits: Yes
Transaction cost (Trade Entry): $15.00
Transaction cost (Trade Exit): $15.00
Margin Requirement: 100.00%
Magnify Position Size(& Risk) according to Margin Req: No
Margin Requirement Daily Interest Rate (Long Trades): 0.00%
Margin Requirement Yearly Interest Rate (Long Trades): 0.00%
Margin Requirement Daily Interest Rate (Short Trades): 0.00%
Margin Requirement Yearly Interest Rate (Short Trades): 0.00%

Trade Preferences
Trading Instrument: Stocks
Break Even Trades: Process separately
Trade Position Type: Process all trades
Entry Order Type: Default Order
Exit Order Type: Default Order
Minimum Trade Size: $0.00
Accept Partial Trades: No
Volume Filter: Ignore Volume Information
Pyramid Trades: No
Use Level Zero trades only: Yes


Detailed Report

Simulation Summary
Simulation Date: 31/01/2008
Simulation Time: 6:12:36 PM
Simulation Duration: 0.75 seconds

Trade Summary
Earliest Entry Date in the Trade Database: 24/12/1997
Latest Entry Date in the Trade Database: 12/11/2004
Earliest Exit Date in the Trade Database: 6/02/1998
Latest Exit Date in the Trade Database: 24/12/2004

Start Trade Entry Date: 24/12/1997
Stop Trade Entry Date: 12/11/2004
First Entry Date: 24/12/1997
Last Entry Date: 12/11/2004
First Exit Date: 6/02/1998
Last Exit Date: 24/12/2004

Total Trading duration: 2557 days

Profit Summary
Profit Status: PROFITABLE
Starting Capital: $50,000.00
Finishing Capital: $102,314.89
Maximum Equity/(Date): $52,314.89 (24/12/2004)
Minimum Equity/(Date): $308.35 (6/02/1998)
Gross Trade Profit: $75,897.91 (151.80%)
Gross Trade Loss: -$23,583.02 (-47.17%)
Total Net Profit: $52,314.89 (104.63%)
Average Profit per Trade: $358.32
Profit Factor: 3.2183
Profit Index: 68.93%
Total Transaction Cost: $4,380.00
Total Slippage: $0.00
Total Trade Interest: $0.00
Daily Compound Interest Rate: 0.03%
Annualized Compound Interest Rate: 10.76%

Trade Statistics
Trades Processed: 189
Trades Taken: 146
Partial Trades Taken: 0
Trades Rejected: 43
Winning Trades: 75 (51.37%)
Losing Trades: 71 (48.63%)
Breakeven Trades: 0 (0.00%)

Largest Winning Trade/(Date): $7,264.86 (28/05/2004)
Largest Losing Trade/(Date): -$1,357.72 (10/12/2004)
Average Winning Trade: $1,011.97
Average Losing Trade: -$332.16
Average Win/Average Loss: 3.0467

Trade Breakdown Long and Short Trades Long Trades Short Trades
Normal Exit: 146 (100.00%) 146 (100.00%) 0 (0.00%)

Total Trades: 146 (100.00%) 146 (100.00%) 0 (0.00%)

Trade Duration Statistics Winning and Losing Trades Winning Trades Losing Trades
Maximum Trade Duration: 357 (days) 357 (days) 140 (days)
Minimum Trade Duration: 7 (days) 35 (days) 7 (days)
Average Trade Duration: 63.57 (days) 88.56 (days) 37.17 (days)

Consecutive Trade Statistics
Maximum consecutive winning trades: 8
Maximum consecutive losing trades: 5
Average consecutive winning trades: 2.14
Average consecutive losing trades: 2.09

Trade Expectation Statistics
Normalized Expectation per dollar risked: $0.93
Maximum Reward/Risk ratio: 15.09
Minimum Reward/Risk ratio: -4.38
Average Positive Reward/Risk ratio: $2.43
Average Negative Reward/Risk ratio: -$0.65

Relative Drawdown
Maximum Dollar Drawdown/(Date): $2,335.00 (10/12/2004)
Maximum Percentage Drawdown/(Date): 2.3080% (10/12/2004)

Absolute (Peak-to-Valley) Dollar Drawdown
Maximum Dollar Drawdown: $2,423.71 (2.3950%)
Capital Peak/(Date): $101,181.70 (28/05/2004)
Capital Valley/(Date): $98,757.99 (24/12/2004)

Absolute (Peak-to-Valley) Percent Drawdown
Maximum Percentage Drawdown: 2.7180% ($2,163.32)
Capital Peak/(Date): $79,587.31 (31/03/2000)
Capital Valley/(Date): $77,423.99 (26/04/2002)



Trade Statistics Long and Short Trades Long Trades Short Trades
Trades Taken: 146 146 0
Total Net Profit: $52,314.89 $52,314.89 N/A
Average Trade Profit: $358.32 $358.32 N/A
Maximum Trade Profit: $7,264.86 $7,264.86 N/A
Minimum Trade Profit: -$1,357.72 -$1,357.72 N/A
Break Even Trades: 0 0 0
Winning Trades: 75 75 0
Losing Trades: 71 71 0
Profitable Trades: 51.37% 51.37% N/A
Losing Trades: 48.63% 48.63% N/A
Average Winning Trade Profit: $1,011.97 $1,011.97 N/A
Average Losing Trade Profit: -$332.16 -$332.16 N/A


Looking through them, one thing which stands out is that the largest winning trade accounts for over 10% of the overall profit, which is not acceptable IMO.

I think I shall run the stats again removing the top 3 trades and see what kind of results are achieved.

More worrying, the Annualized Compound Interest Rate is a very disappointing at 10.76% which in this climate is definately not acceptable.

However, I do think the system has some merits so will try to build on these and will post further results in due course.....


As usual I'd welcome any other views / comments......

Regards,

Chorlton
__________________
A Fine is a Tax for doing something wrong. A Tax is a Fine for doing something right !!

Return of Capital should always be more important than Return on Capital

Last edited by Chorlton; Jan 31, 2008 at 2:37am.
Chorlton is offline   Reply With Quote
Senior Member
 
Join Date: Jan 2008
Posts: 220
Re: Calling all System Developers...

Quote:
Originally Posted by Chorlton View Post
Hello Tadragh1,

Here are the remaining stats:

Chorlton
Long only FTSE bull market monte carlo fitted system go bust in bear market yo.

Bill
intradaybill is offline   Reply With Quote
Veteran Member
 
Chorlton's Avatar
 
Join Date: Dec 2004
Location: Melbourne, Victoria
Posts: 687
Re: Calling all System Developers...

Chorlton started this thread
Quote:
Originally Posted by intradaybill View Post
Long only FTSE bull market monte carlo fitted system go bust in bear market yo.

Bill
The purpose of this thread was to try to start some "constructive" discussion about the steps involved in System Development and I thought by posting a simple system might be a good way to achieve this.

In answer to your very "constructive" comment thou:

Long Only: I've focused on this as a starting point only. Intention will be to look at Short trades as well given the current climate conditions.

FTSE Bull Market: I would argue that the time frame chosen for backtesting encompasses periods of Bull / Bear & Sideways action

monte carlo fitted system: No "parameter" optimisation has yet been done. Looking at various Position Size models has been explored though. I have also made it clear in my post that the only data backtested to date was "in-sample"
__________________
A Fine is a Tax for doing something wrong. A Tax is a Fine for doing something right !!

Return of Capital should always be more important than Return on Capital
Chorlton is offline   Reply With Quote
Senior Member
 
Join Date: Jan 2008
Posts: 220
Re: Calling all System Developers...

Quote:
Originally Posted by Chorlton View Post
Long Only: I've focused on this as a starting point only. Intention will be to look at Short trades as well given the current climate conditions.

FTSE Bull Market: I would argue that the time frame chosen for backtesting encompasses periods of Bull / Bear & Sideways action

monte carlo fitted system: No "parameter" optimisation has yet been done. Looking at various Position Size models has been explored though. I have also made it clear in my post that the only data backtested to date was "in-sample"

How many winning trades you got yo in bear market 2000 to 2003? Wha tha distributio in time?

I betsya all your losing trades are between 2000 and 2003.

Your position size is fitting for best trades to make more money. A penny I would not put in a long only system when bear market is ahead. Just friendly advice.

Bill
intradaybill is offline   Reply With Quote
Veteran Member
 
Chorlton's Avatar
 
Join Date: Dec 2004
Location: Melbourne, Victoria
Posts: 687
Re: Calling all System Developers...

Chorlton started this thread
Quote:
Originally Posted by intradaybill View Post
How many winning trades you got yo in bear market 2000 to 2003? Wha tha distributio in time?

I betsya all your losing trades are between 2000 and 2003.

Your position size is fitting for best trades to make more money. A penny I would not put in a long only system when bear market is ahead. Just friendly advice.

Bill
Hi Bill,

From memory the only losing year was 2002 and this was a very small amount but I will check the results again to confirm this.

I have a filter in place that stops the system taking new trades when the market experiences a decline. It could be argued that this would result in the results following the index (to some extent) but I feel it offers a good level of protection.

I would agree that a long-only system is not the best solution given the current & potential market conditions ahead. However, I do intend to develop the short side of the system but just wanted to keep it simple to begin with.

Out of interest, can I ask how you trade? Is it in a discretionary or Mechanical manner? If its the latter, have you developed anything for the UK markets, and if so, can I ask what were the average stats?

Just interested....

Kind Regards,
__________________
A Fine is a Tax for doing something wrong. A Tax is a Fine for doing something right !!

Return of Capital should always be more important than Return on Capital
Chorlton is offline   Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools


Similar Threads
Thread Thread Starter Forum Replies Last Post
java/C++ developers SantCugatBCN Mechanical & Systems Trading 3 Dec 22, 2008 5:17pm
Calling all AMIBROKER Users Chorlton Trading Software 8 Feb 14, 2008 1:23pm
Calling - Max Damage cookie UK Shares 2 Jan 31, 2001 3:59pm
Calling Cookie.... BBA Cigar UK Shares 5 Jan 25, 2001 2:53pm


New To Site? Need Help?


All times are GMT -4. The time now is 6:34am.


Copyright © 2001-2010 Trade2Win.

Member, National Futures Association (NFA ID # 0402027). Please be aware that off-exchange retail foreign currency (forex) trading involves significant risk of loss and is not suitable for all investors. Increasing leverage increases risk. Before deciding to trade forex, you should carefully consider your financial goals, level of experience and risk appetite. Any opinions, news, research, analysis, prices or other information contained does not constitute investment advice.