NexusFi: Find Your Edge


Home Menu

 





KJ Trading Systems Kevin Davey - Ask Me Anything (AMA)


Discussion in Trading Reviews and Vendors

Updated
      Top Posters
    1. looks_one kevinkdog with 180 posts (416 thanks)
    2. looks_two SMCJB with 23 posts (40 thanks)
    3. looks_3 Mabi with 17 posts (12 thanks)
    4. looks_4 bluefightingcat with 16 posts (9 thanks)
      Best Posters
    1. looks_one grausch with 2.8 thanks per post
    2. looks_two kevinkdog with 2.3 thanks per post
    3. looks_3 SMCJB with 1.7 thanks per post
    4. looks_4 Big Mike with 1.5 thanks per post
    1. trending_up 170,385 views
    2. thumb_up 649 thanks given
    3. group 111 followers
    1. forum 433 posts
    2. attach_file 15 attachments




Closed Thread
 
Search this Thread

KJ Trading Systems Kevin Davey - Ask Me Anything (AMA)

  #221 (permalink)
 
Mabi's Avatar
 Mabi 
sweden
 
Experience: Advanced
Platform: NinjaTrader,MetaTrader
Trading: futures, FX
Posts: 141 since Oct 2010
Thanks Given: 121
Thanks Received: 136

Hi Kevin ,

Thanks again for your previous answer. Now something came up that are related to previous question. When Building portfolios i see that some strategies from some instruments are dominating. Now it is no problem if they do as long as they perform but if they do not perform it becomes a problem. Below you see some live traded results from a portfolio that have been running for i think 8 weeks or maybe 9 (160 trades). The 2 strategies on the far right are gold and they have hurt the performance badly even thought totally it is still in about 9% profit this morning . When building a portfolio what should i do. Remove the dominating strategies or leave them in. Or maybe instead change and individualize the moneymanagement from the start to even them up as per their historical performance.

If the two strategies on the right would have been winning it would actually also look strange since then the other strategies profits would have been really small in comparison.



Thanks

Thanked by:

Can you help answer these questions
from other members on NexusFi?
NT7 Indicator Script Troubleshooting - Camarilla Pivots
NinjaTrader
The space time continuum and the dynamics of a financial …
Emini and Emicro Index
ZombieSqueeze
Platforms and Indicators
Deepmoney LLM
Elite Quantitative GenAI/LLM
New Micros: Ultra 10-Year & Ultra T-Bond -- Live Now
Treasury Notes and Bonds
 
Best Threads (Most Thanked)
in the last 7 days on NexusFi
Get funded firms 2023/2024 - Any recommendations or word …
61 thanks
Funded Trader platforms
39 thanks
NexusFi site changelog and issues/problem reporting
26 thanks
GFIs1 1 DAX trade per day journal
18 thanks
The Program
18 thanks
  #222 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,645 since Jul 2012
Thanks Given: 1,890
Thanks Received: 7,338


Mabi View Post
Hi Kevin ,

Thanks again for your previous answer. Now something came up that are related to previous question. When Building portfolios i see that some strategies from some instruments are dominating. Now it is no problem if they do as long as they perform but if they do not perform it becomes a problem. Below you see some live traded results from a portfolio that have been running for i think 8 weeks or maybe 9. The 2 strategies on the far right are gold and they have hurt the performance badly even thought totally it is still in about 9% profit this morning . When building a portfolio what should i do. Remove the dominating strategies or leave them in. Or maybe instead change and individualize the money management from the start to even them up as per their historical performance.

If the two strategies on the right would have been winning it would actually also look strange since then the other strategies profits would have been really small in comparison.



Thanks


The answer to the question "what should I do" depends a lot on what you want to accomplish with the portfolio. Are you going for max returns, or maybe minimum drawdown, or smooth equity curve, or excellent return/drawdown ratio, etc.

Once you figure out what your goal is, you can examine the pieces of your portfolio, and construct a portfolio to meet your goals. Maybe Gold should be taken out, or maybe you should trade mini Gold. Or maybe you trade 2 or 3 contracts of everything else to 1 contract of Gold. Or maybe you just have a heavily weighted Gold portfolio, which maybe offsets some other investments you have.

I hope you see the point - what you have found is something correctable, but only if you know where you want to get to.

Follow me on Twitter
Thanked by:
  #223 (permalink)
 
SMCJB's Avatar
 SMCJB 
Houston TX
Legendary Market Wizard
 
Experience: Advanced
Platform: TT and Stellar
Broker: Advantage Futures
Trading: Primarily Energy but also a little Equities, Fixed Income, Metals and Crypto.
Frequency: Many times daily
Duration: Never
Posts: 5,041 since Dec 2013
Thanks Given: 4,375
Thanks Received: 10,192


Great question @Mabi, I'm only trading a few systems (as a systematic trader) and have found a similar situation with one system dominating prtfolio performance.


kevinkdog View Post
Or maybe you trade 2 or 3 contracts of everything else to 1 contract of Gold.

Assuming your confident in the system I think this is the best answer... but only if you have the capital to do it.!

Thanked by:
  #224 (permalink)
 
Mabi's Avatar
 Mabi 
sweden
 
Experience: Advanced
Platform: NinjaTrader,MetaTrader
Trading: futures, FX
Posts: 141 since Oct 2010
Thanks Given: 121
Thanks Received: 136


SMCJB View Post
Great question @Mabi, I'm only trading a few systems (as a systematic trader) and have found a similar situation with one system dominating prtfolio performance.

Assuming your confident in the system I think this is the best answer... but only if you have the capital to do it.!

Thanks Kevin and SMCJB,

Comparing with how you run a company you never want your whole existence depend on one or 2 costumers and you would like to be able to budget next years result but you still want the profit from the highvalue cotumers though but they shall not be able to pull you down if they leave. So i guess i will try to even them out in some way prefeably increasing contract size on the lesser performers,

  #225 (permalink)
 grausch 
Luxembourg, Luxembourg
 
Experience: Advanced
Platform: TWS
Broker: Interactive Brokers
Trading: Stocks
Posts: 494 since May 2012
Thanks Given: 1,731
Thanks Received: 1,159


Mabi View Post
Hi Kevin ,

Thanks again for your previous answer. Now something came up that are related to previous question. When Building portfolios i see that some strategies from some instruments are dominating. Now it is no problem if they do as long as they perform but if they do not perform it becomes a problem. Below you see some live traded results from a portfolio that have been running for i think 8 weeks or maybe 9 (160 trades). The 2 strategies on the far right are gold and they have hurt the performance badly even thought totally it is still in about 9% profit this morning . When building a portfolio what should i do. Remove the dominating strategies or leave them in. Or maybe instead change and individualize the moneymanagement from the start to even them up as per their historical performance.

If the two strategies on the right would have been winning it would actually also look strange since then the other strategies profits would have been really small in comparison.

Thanks

I can't answer the decision of whether to include or exclude systems, but I can give some insight into portfolio allocation methodologies that you could use. When I was still trading a suite of systems, I used either one of the following methods to assign risk / weightings to my systems.
  1. You can view your systems as independent systems and allocate capital evenly across them at the beginning. The benefit of this method is that winning systems will have a greater allocation of capital and losing systems will have a smaller allocation of capital as time progresses.
  2. You can view your systems as all part of one portfolio and constant re-weight them. An easy way to do this is to always risk x% per trade of your total portfolio value. Downsides are the opposite of the positives of the independent system approach, but when a system starts to become profitable it recovers losses much quicker.

If you wish, you could also add drawdown-reducing techniques to both methods. Some drawdown-reducing techniques are things like a) halve size every with every 10% in drawdown and bring it back only once you recover the drawdown-threshold, b) halve size after winning % drops to x%, or c) halve size after a certain number of losing trades in a row. You would need to keep track of the individual metrics of each system for this to work.

Final thought - with regards to gold dominating your portfolio - if you are basing your stop-loss (and then sizing your positions accordingly) on ATR or something similar, then the allocation to gold should be equal to an allocation to treasuries. I am guessing here, but I would suspect that your sizing on gold is larger than it should be in terms of ATR. If that is the case, you need to evaluate whether the added risk is worth it to you. If not, then you need to use Kevin's criteria to determine whether it should still be included.

Thanked by:
  #226 (permalink)
 
Mabi's Avatar
 Mabi 
sweden
 
Experience: Advanced
Platform: NinjaTrader,MetaTrader
Trading: futures, FX
Posts: 141 since Oct 2010
Thanks Given: 121
Thanks Received: 136

@grausch
Thanks again for your reply !!. I have been busy at work but I had time to shortly after your post lowered the contract size on the less performing strategies and increased them equally on the performing ones.

System shortly after went in to a drawdown and Gold kept loosing but with last couple of days due to increased volatility portfolio has been doing pretty well and even though Gold has continued to loose it's impact is now much less on the portfolio as you can see from the screen dump. I might ditch the Gold if it keeps loosing but it is not time for that yet due to it's historical performance. Portfolio has now done around 330 trades since October 10. I plan to launch 2 more portfolios by January 1 and if I find time I might start a thread how I did it. However I rather start a thread if it is doing good with some longer history.


Thanked by:
  #227 (permalink)
 ToMerK 
Tel Aviv Israel
 
Experience: Beginner
Platform: NinjaTrader
Broker: CQG
Trading: Futures
Posts: 21 since Feb 2015
Thanks Given: 30
Thanks Received: 13

Hi Kevin,
First I would like to thank you for taking the time to answer many posts very thoroughly.

I apologize in advanced if the following has been discussed here before but the thread is getting large

When optimizing a system there are a few types of strategy parameters. There are parameters you wish to check for a wide range of values and there are parameters that you only want to check 2-3 values. Sometimes it can be an "on off" switch parameter.

Do I need to differentiate between those types of parameters while determining the minimum trade count that is sufficient per in sample? In your book you say that 30 trades per parameter is sufficient, is it true for "on off" switches as well?

Another thing I was wondering about, if I am optimizing an intraday strategy and I do have more than enough trades for "avoiding overfitting" in 3 months, should I use more in sample data just in order to avoid optimizing (or exploring the idea) in the in sample to a certain "state" of the market which can pass shortly (like a 30 days of trend for instance)?

And one last subject I have issues with, should the data that I explore my strategy initially be a part of the in sample in a walk forward optimization?
You wrote before about not to try to optimize the backtest but if I do optimize by adding more filters (in the first in sample) and still have enough trades per parameter is it OK? Will the walk forward tell me the answer or should I avoid running too many walk forward optimizations in order not to look too much at the out of sample data?

Thanks in advanced!

  #228 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,645 since Jul 2012
Thanks Given: 1,890
Thanks Received: 7,338


ToMerK View Post
Hi Kevin,
First I would like to thank you for taking the time to answer many posts very thoroughly.

I apologize in advanced if the following has been discussed here before but the thread is getting large

When optimizing a system there are a few types of strategy parameters. There are parameters you wish to check for a wide range of values and there are parameters that you only want to check 2-3 values. Sometimes it can be an "on off" switch parameter.

Do I need to differentiate between those types of parameters while determining the minimum trade count that is sufficient per in sample? In your book you say that 30 trades per parameter is sufficient, is it true for "on off" switches as well?

I have never treated those as different, but I guess you could. Remember though that the 30 number is just a rule of thumb, ideally you'd want 50 or more. So, I'd be conservative and treat on/off the same as any other.


Quoting 
Another thing I was wondering about, if I am optimizing an intraday strategy and I do have more than enough trades for "avoiding overfitting" in 3 months, should I use more in sample data just in order to avoid optimizing (or exploring the idea) in the in sample to a certain "state" of the market which can pass shortly (like a 30 days of trend for instance)?

I would definitely test an intraday strategy over more than 3 months. You want something that works over the long haul, with a lot of different market conditions. You only see limited market conditions in 3 months.


Quoting 
And one last subject I have issues with, should the data that I explore my strategy initially be a part of the in sample in a walk forward optimization?
You wrote before about not to try to optimize the backtest but if I do optimize by adding more filters (in the first in sample) and still have enough trades per parameter is it OK? Will the walk forward tell me the answer or should I avoid running too many walk forward optimizations in order not to look too much at the out of sample data?

Thanks in advanced!

I usually leave the initial exploration time period in the walkforward. I would try running one walkforward optimization, and that is it. Everytime you make a change and rerun the walkforward, you are getting less and less "out of sample - ness". Rerun walkforward enough and you get an in-sample test. So be careful here.

Follow me on Twitter
Thanked by:
  #229 (permalink)
 ToMerK 
Tel Aviv Israel
 
Experience: Beginner
Platform: NinjaTrader
Broker: CQG
Trading: Futures
Posts: 21 since Feb 2015
Thanks Given: 30
Thanks Received: 13

Thanks you Kevin for taking the time to answer.

One other thing I have a problem with is that when we are testing over a few years an intraday strategy it means that we disqualify the possibility of new strategies that become relevant only in the last few months. For example, recently the iceberg orders in forex futures were cancelled. After such an event new strategies that take advantage of level 2 that were not valid before can suddenly have a merit. Should I not test these kind of strategies only because I do not have a few years to test on?

Also, if my strategy has only 3-4 ticks of target per trade, the "trendiness" or many of the other "states" of the market do not effect it. So a strategy like that cannot be optimized over a period of 3 months or so (with ~50 trades per parameter)?

About the walk forward optimization, if I make on walk forward run, discover I overfitted the data, remove one filter and rerun it, will it be valid?

If I make an agreement with myself not to look at the results thoroughly, only look at the cumulative profit graphs and if they do not satisfy me I will readjust the strategy, does it hurt the out of sampleness? I will not derive anything from the out of sample data but the shape of this specific graph.

Thanked by:
  #230 (permalink)
 kevinkdog   is a Vendor
 
Posts: 3,645 since Jul 2012
Thanks Given: 1,890
Thanks Received: 7,338



ToMerK View Post
Thanks you Kevin for taking the time to answer.

One other thing I have a problem with is that when we are testing over a few years an intraday strategy it means that we disqualify the possibility of new strategies that become relevant only in the last few months. For example, recently the iceberg orders in forex futures were cancelled. After such an event new strategies that take advantage of level 2 that were not valid before can suddenly have a merit. Should I not test these kind of strategies only because I do not have a few years to test on?

Also, if my strategy has only 3-4 ticks of target per trade, the "trendiness" or many of the other "states" of the market do not effect it. So a strategy like that cannot be optimized over a period of 3 months or so (with ~50 trades per parameter)?

About the walk forward optimization, if I make on walk forward run, discover I overfitted the data, remove one filter and rerun it, will it be valid?

If I make an agreement with myself not to look at the results thoroughly, only look at the cumulative profit graphs and if they do not satisfy me I will readjust the strategy, does it hurt the out of sampleness? I will not derive anything from the out of sample data but the shape of this specific graph.


Of course you can do all these things if you want to. I personally don't, but that doesn't mean you can't. The big keys to strategy development:

1) develop strategies in a way that you feel comfortable with
2) validate your approach with real money trading, and adjust your approach as necessary.

I know other traders who laugh at and tease me about my development process. They do things differently, and if it works for them, who am I to judge? I do what works for me. You should do what works for you.

Follow me on Twitter
Thanked by:

Closed Thread



Last Updated on July 5, 2019


© 2024 NexusFi™, s.a., All Rights Reserved.
Av Ricardo J. Alfaro, Century Tower, Panama City, Panama, Ph: +507 833-9432 (Panama and Intl), +1 888-312-3001 (USA and Canada)
All information is for educational use only and is not investment advice. There is a substantial risk of loss in trading commodity futures, stocks, options and foreign exchange products. Past performance is not indicative of future results.
About Us - Contact Us - Site Rules, Acceptable Use, and Terms and Conditions - Privacy Policy - Downloads - Top
no new posts