Hey guys, I have tried doing searches to find if there have already be topics
on top level system design choices, but I have not found anything yet, so I
thought I would post. (if they exist, I apologize in advance for the
duplication) Basically, I am hoping to open up a discussion on the various
aspects of system design, from the top-level/ process point of view.
First, a little background - After reading many books on Quantative Trading
Systems(including Howard Bandy), I am slowly working through the process of
designing a complete system from start to finish, with the main goal being to
define what the process actually is.(as opposed to designing a profitable
system) I am also hoping to create some code modules that will be used for
future system development. I plan on posting this system for other system
design newbies to use as a reference when it is complete.
The design order I started with is:
1.) Objective Function Definition
2.) Selecting stocks to trade
3.) Entry signal (design, backtest, selection)
4.) Exit signal (design, backtest, selection)
5.) Filters/Qualifiers(i.e. market conditions, etc)
6.) Money Management(stops, positions sizing, risk management)
7.) System completion(put it all together)
Any thoughts on the order of the design process? If you are using a different
process, what is the reasoning behind that choice?
So far, I have only made it into number 3, which is where some confusion began.
The following are some my thoughts on the process so far:
1 While it is pretty straight-forward to create a custom objective, there is
definitely a lack of information on the "why's" for the included metrics. For
my system I chose expectancy, since the reasoning for its use is intuitive.
-Is anyone willing to share any insight on why they choose other metrics?
2 On issue selection, I set up a simple volume & price exploration. This
resulted in 30-40 stocks in my watchlist.
-For a simple learning system, this "feels" like too large of a universe, so I
may need to add more conditions. I don't suppose that there is a "right"
number of issues, just a personal decision.
-I am also still somewhat unsure of where in the process this should really be
( i.e. should I select stocks first, then try to design a system to fit them,
or should I design a system first and then try to find stocks that it works on,
and why?)
- Is there a way to automate updates to the watchlist? I found a post on this
forum that showed how to create watchlist for each date range, but that seems
more user intensive than it should be.
3 I went into this expecting the entry selection to be fairly
straight-forward. I had anticipated back-testing each candidate signal using a
set number of "HoldDays"(1,5,20) and using either "WinnersPercent" or
"AvgProfit/Loss" as the sorting function (not the objective function).
However, when I went to back test, I realized that I would have to have a
method of position sizing& scoring. I came up with several options:
- Change the order of system design to put position size and score
design up front
- Set position size and max open positions to allow all stocks to be
held at once
- Run individual back tests on each candidate, and remove unacceptable
candidates from the watch list. very time consuming and operator action
involved.
-Any thoughts one which way would generally work out the best? I am
sure I could run each option for each system I may develop in the future, but
that would be cumbersome, and would not appear to meet a goal of defining a
process.
Since that is as afar as I have gotten before confusion and indecision set in,
that is all I have to add right now, but I am sure I will be back with related
questions:)
I (and I am sure other new designers) appreciate any time and thoughts you may
give this post!
James
BTW, I am looking forward to the release of Advanced Amibroker, as I hope it
will help resolve some of my questions!