+ Reply to Thread
Page 2 of 4 FirstFirst 1 2 4 LastLast
Results 11 to 20 of 33

Thread: Discretionary trading

  1. #11
    Join Date
    Dec 1969
    Location
    Kalmthout, Belgium
    Posts
    35
    Just my oppinion but I think it is best to initially take leveraged ETF's out of the equation when searching for the optimal use for a given amount of capital.
    Otherwise the test will probably indicate it's best go with TNA/TZA only for maximum gain.

    The problem I see with that is that this is based on historical data. The maximum drawdown of any system lies in the future and is unknown.
    Risk of ruin is probably quite high going all in on TNA/TZA even tough historical tests show it maximizes profit.

    Instead of trying to maximize gain it might be better to maximze the MAR ratio. (MAR = CAGR / Max DD) This way, risk is taken into account.
    My guess is diversification in systems leads to a higher MAR ratio and to a smoother equity curve. I believe that it is safer to use leverage on a diverse portfolio of systems (either by margin or leveraged ETF's) than it is to do so on a single system, no matter how great historical backtest says that system is.

  2. #12
    Join Date
    Dec 1969
    Location
    Vienna, Virginia
    Posts
    603
    Quote Originally Posted by Rembert View Post
    Just my oppinion but I think it is best to initially take leveraged ETF's out of the equation when searching for the optimal use for a given amount of capital.
    Otherwise the test will probably indicate it's best go with TNA/TZA only for maximum gain.

    The problem I see with that is that this is based on historical data. The maximum drawdown of any system lies in the future and is unknown.
    Risk of ruin is probably quite high going all in on TNA/TZA even tough historical tests show it maximizes profit.

    Instead of trying to maximize gain it might be better to maximze the MAR ratio. (MAR = CAGR / Max DD) This way, risk is taken into account.
    My guess is diversification in systems leads to a higher MAR ratio and to a smoother equity curve. I believe that it is safer to use leverage on a diverse portfolio of systems (either by margin or leveraged ETF's) than it is to do so on a single system, no matter how great historical backtest says that system is.
    Completely concur with Ray's comment. If I may add some color ...

    Risk adjusted positioning increases the work we must put into our trading activities. It basically throws out the concept of "I'll own a maximum of 10 positions and my portfolio is Y, so each position is Y/10". While this approach certainly works, it is far less than optimum as the number of positions gets less and less. As M&K, O'Neil, et al. advise, fewer positions is best. If you believe this, then the impact of MDD is crucial as the drawdown contains more of your capital. Unfortunately, most individuals who counsel a low number of holdings rarely address risk-adjusted position sizing, because it's not a Finance 101 concept.

    The obvious question is how to correctly position size. The not-so-obvious answer is dependent upon:

    1) the expected gain of the securities in the entire portfolio
    2) the correlation of the securities in the entire portfolio
    3) the variance of the individual securities in the entire portfolio
    4) the standard deviation of the prices of the individual securities
    5) the allocation of capital between the different components of the individual securities

    A very good starting point on understanding these concepts can be found in the following PowerPoint presentation. I've zipped it because ".ppt" is not an available upload option.

    mathematicsofDiversification-ch05.zip

    The key concept here, which directly supports Ray's assertions, are that we start the optimization process by constructing a portfolio with a minimization of variance in mind. Here, variance is equated to drawdown. Hence, for a given set of equities with quantified gains as well as standard deviation of the price series, we can form a portfolio which reduces variance while increasing gain.

    The PowerPoint shows how to do it for a two-security portfolio -- doing it for more (which obviously is practical) requires more work and further requires that you know how to use Excel. The outline of how to do this for N-portfolios is also in the PowerPoint, and relies heavily on the work of Simon Benninga. The book has a disk with macros and worksheets ready to go, but of course, you have to understand some of the basic concepts shown in the PowerPoint in order to get anything meaningful out of the book.

    Further supporting Ray's assertion that we should not use leveraged instruments in our optimization process is this paper:

    1st_Place_Tony_Cooper_abstract.pdf

    This is a heavier read, but pay attention to Figures 1 and 2, which give you some framework around the "optimum" leverage levels for the general market over various periods in the past. This paper is relevant because leveraged instruments multiply BOTH volatility as well as gains, resulting in the same behavior as their non-leveraged counterparts during the optimization process (I ignore the impact of the daily rebalancing of leveraged daily ETFs, which is adverse over the longer term).

    Finally, the approach in the book and the included paper above do not address in a concise manner that volatility changes with the time frame being measured; they use standard lookback periods and take the volatility as equal-weighted over the lookback period. This is not a good approach in real life, so this last paper is a (heavy) introduction on using a moving average concept to have a better volatility estimate:

    TD4ePt_2-StatisticsOfFinancialMarketReturns.pdf

    Riskmetrics pioneered research on risk management, and I've not found a better reference.

    If you've made it this far and you have a basic understanding of the concepts of volatility, jump to chapter 5, specifically Table 5.7 onward, to get a view on how the exponentially weighted moving average (EWMA) model is used in the forecast of returns and variances.

    ==================

    Disclaimer: This is all a work in progress, and I'm still learning, learning, learning. Portfolio/position sizing is HARD, which is why most people (including me) simply do the Y/10 per position and are done with it. The concept of minimal-variance portfolio construction is hard to achieve, yet maintain in a practical fashion, but this shouldn't make you throw your hands up and say "it's not worth it". It's clear it *is* worth it, especially if you are happy with your holdings and have the knowledge that you're closer to maximum efficiency in gains and reduction in drawdown than you'd ever be with a Y/10 approach.

  3. #13
    Join Date
    Dec 1969
    Location
    Brussels, Belgium
    Posts
    1,999

    Paul's Documentation

    Paul,

    This is a terrific wealth of resources on the topic! It shows your commitment to search for constant improvement.
    Before digging into all the details, I have a conceptual hesitation.
    It seems all the models are based on individual securities or stocks.
    Since IWM is already including a +/- 2,000 stocks diversification and GDX is including a 32 stocks diversification, shouldn't you take into account the exisiting diversification implied in ETF holdings? In other words, can we be sure that the models are not misleading for our robot allocation needs?
    Billy

  4. #14
    Join Date
    Dec 1969
    Location
    Kalmthout, Belgium
    Posts
    35
    Thanks for the material Paul. This is a topic that interests me vey much. It goes beyond simply being a trader. It's about learning how to manage money ... large sums of money. No doubt that all the billionaire funds know these concepts all too well.

    Billy, I think one can diversify in multiple ways. Using IWM is a great starting point, being diversified in 2000 different stocks. But it doesn't have to end there. One can add another layer of diversifiction by employing multiple systems using different markets/strategies/timeframes. It doesn't have to be 1000 systems, I think 3 (IWM,GDX,XLE) is a nice number that is still managable.

    Here's a few more links from the excellent automated trading system blog :

    http://www.automated-trading-system....on-free-lunch/ (I like the coffee cup analogy)
    http://www.automated-trading-system....uce-drawdowns/

  5. #15
    I would consider to:

    1. start by constructing a portfolio of the IWM Robot and GDX Robot that has produced the lowest intraday drawdown, not considering leverage.

    2. next construct a portfolio of the IWM Robot and GDX Robot that has produced the lowest end-of-day drawdown, not considering leverage.

    3. next construct a portfolio of the IWM Robot and GDX Robot that produces the lowest annualized volatility, not considering leverage.

    After performing the above steps, a clear answer as to the appropriate allocation between the two robots may emerge (at least based on historical results) for the maximization of volatility-adjusted return. If not, further investigation will be required.

  6. #16
    Quote Originally Posted by aly View Post
    I would consider to:

    1. start by constructing a portfolio of the IWM Robot and GDX Robot that has produced the lowest intraday drawdown, not considering leverage.

    2. next construct a portfolio of the IWM Robot and GDX Robot that has produced the lowest end-of-day drawdown, not considering leverage.

    3. next construct a portfolio of the IWM Robot and GDX Robot that produces the lowest annualized volatility, not considering leverage.

    After performing the above steps, a clear answer as to the appropriate allocation between the two robots may emerge (at least based on historical results) for the maximization of volatility-adjusted return. If not, further investigation will be required.
    This looks like a great idea. I accept your help with great pleasure, because I am somewhat overwhelmed.
    In the attached file, you will have two sets of thee colums. These are the results of either IWM/GDX or TWM/GDX combined portfolio (compared to each element separately).

    I'd be happy if you could share the formula that you use to calculate the drawdowns that you mention on these equity curves. I can then generate different ratio of IWM/GDX combinations as I only use now 50/50.

    Thanks again for your help.



    Pascal

    IWM_GDX_TMP.xls

  7. #17
    Quote Originally Posted by Pascal View Post
    This looks like a great idea. I accept your help with great pleasure, because I am somewhat overwhelmed.
    In the attached file, you will have two sets of thee colums. These are the results of either IWM/GDX or TWM/GDX combined portfolio (compared to each element separately).

    I'd be happy if you could share the formula that you use to calculate the drawdowns that you mention on these equity curves. I can then generate different ratio of IWM/GDX combinations as I only use now 50/50.

    Thanks again for your help.



    Pascal

    Attachment 8914
    Hi Pascal,

    Actually, I wasn't offering to help at this time. I would love to help but, you see, I'm quite busy right now with my work and other activities. I simply wanted to suggest a few ideas to you and the group to help get things rolling a bit.

    I have taken a bit of time, though, to make an example for you of how to calculate drawdowns in Excel. I have attached a spreadsheet showing how the calculations should be performed, based on my knowledge. In my spreadsheet, the EOD (end-of-day) and intraday drawdown calculations are for a simple strategy that takes a buy-and-hold approach on the SPY from the beginning of the year through to yesterday.

    I hope the spreadsheet is clear. Please let me know if you have questions.

    You will notice that, to calculate intraday drawdown, you will need to obtain the intraday % change for the Robots based on the High of the day (if short) or Low of the day (if long) for each day of the testing period.

  8. #18
    Quote Originally Posted by aly View Post
    Hi Pascal,

    Actually, I wasn't offering to help at this time. I would love to help but, you see, I'm quite busy right now with my work and other activities. I simply wanted to suggest a few ideas to you and the group to help get things rolling a bit.

    I have taken a bit of time, though, to make an example for you of how to calculate drawdowns in Excel. I have attached a spreadsheet showing how the calculations should be performed, based on my knowledge. In my spreadsheet, the EOD (end-of-day) and intraday drawdown calculations are for a simple strategy that takes a buy-and-hold approach on the SPY from the beginning of the year through to yesterday.

    I hope the spreadsheet is clear. Please let me know if you have questions.

    You will notice that, to calculate intraday drawdown, you will need to obtain the intraday % change for the Robots based on the High of the day (if short) or Low of the day (if long) for each day of the testing period.
    Thanks. I'll have a look.


    Pascal

  9. #19
    Join Date
    Dec 1969
    Location
    Kalmthout, Belgium
    Posts
    35
    Amibroker is probably more suited to test such things. But since you're more used to work with Excel that's probably the better option.

    It's possible to import the signals for each system into Amibroker and generate the equity curves.
    After that it should be quite easy to test various things.

    Amibroker also has optimization ...
    http://www.amibroker.com/guide/gifs/h_optimize.gif
    The X and Y axis are the parameters to opimize for example position size etc. Z axis is the value you opimize for (CAGR, Max DD, MAR, ...).

    Here's an example I've been looking at regarding testing a portfolio of different systems. Haven't had the time yet to test it out tough.

    http://quantingdutchman.wordpress.co...-amibroker-12/
    http://quantingdutchman.wordpress.co...-amibroker-22/
    Last edited by Rembert; 06-20-2011 at 04:21 PM.

  10. #20
    Join Date
    Dec 1969
    Location
    Kalmthout, Belgium
    Posts
    35
    It's nice to know intraday DD, but not really necessary I think.
    Again this article makes a good case for testing closed equity DD instead of intraday DD.
    http://www.automated-trading-system....uce-drawdowns/

+ Reply to Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts