Hi,

One reason that there is so little information on the "why" of objective 
function is that there are so many different traders. Where one trader might 
favor consistency of returns, another might favor minimizing risk.

In my case, I strive to maintain "trader tax status" in the eyes of the IRS. 
The test for meeting that status includes such things as frequency of trades 
and duration of holding periods. As such, my fitness function favors strategies 
that result in many trades with short holding periods. There are as many 
reasons "why" as there are traders.

Issue selection is another area that will vary by preference. Some on this list 
trade a single issue, or just a handful of issues. Others, including myself, 
trade thousands of issues. Someone applying detailed technical analysis in a 
quasi discretionary way can only realistically manage a small number of issues 
at a time. Someone applying a purely mechanical approach in search of an exact 
setup can let the computer scan an unlimited number of issues.

Beyond simple liquidity measures, it may turn out that some sectors are a more 
natural fit for a given strategy than others. That could be an argument for 
selecting issues only after defining entry and exit.

Personally, I treat PositonScore separate from entry development. I initially 
set the backtest settings to allow entry of all signals. I prefer to 
investigate whether the strategy has any promise assuming  unlimited resources. 
By applying restrictions too soon (e.g. max positions/PosigionScore), we limit 
our view of the overall potential.

Similarly, I treat PositionSize as a separate step, which is always postponed 
until the end of the development process. Once I've got a winning strategy, I 
then use PositionSize to scale accordingly.

Consistent with the above, I have found that fixed fraction sizing works best 
for my strategies, with the caveat that it is overwhelmingly more favorable to 
dynamically reduce trade size in order to take all signals. In other words, max 
positions/PositionScore hurt my results. I would not have known that had I not 
kept max positions separate from entries.

Mike

--- In [email protected], "jamesfarrow2003" <jamesfarrow2...@...> wrote:
>
> 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!
>


Reply via email to