Also, check out Jon Tait's discussion on Profit Factor and his sneak peak of his backtesting project.
System Analyzer - FathersDay Edge
|
Funny, how it has taken many hours/weeks and brain-fried late nights in order to input, process, output into the simple little HTML table above. Reminds me of a story about the Y2K problem.
I was working around the clock for hours, weeks, and months on end in order to get our administrative systems ready for Y2K. For those few who don't remember...the Y2K issue centered around the fact that legacy systems used the 2 digit years instead of the 4 digits. And year calculations and comparisons drive a multitude of systems. So, if you compare the year 05 against 99...you get issues. Capisci?
Anyways, while I was burning the midnight oil getting everything in order...either converting everything to 4 digit years or windowing the problem...I got a call from a friend of mine.
Friend: "Hey, have you heard about this Y2K crap? Everybody is just making this Y2K stuff up, I tell ya. You watch...when January 1, 2000 gets here...nothing will happen."
Me: "You're right, nothing will happen because programmers like me have been working our butts off trying to make sure nothing will happen."
Friend: "Huh?"
Me: "Listen, it works like the George Soros Reflexivity theory. If all the programmers know there's a Y2K problem then the Y2K problem grows less of a problem as more of the problem is understood and worked on by those programmers. So, you are correct, when January 1, 2000 gets here...nothing will happen."
Friend: "Huh? Are you telling me Y2K is or isn't a problem."
Me: "Ah, Forget it. I gotta get back to work."
Friend: "Whatcha working on?"
Me: "The Y2K problem...[hangup]"
Six months later my friend calls me up on January 1, 2000 after I had stayed up all night to ensure our batch systems ran correctly and was still in the process of verifying their results.
Friend: "Hey, Happy New Year! I don't mean to rub it in...but I knew it, I knew it, I knew it! That Y2K was just a bunch of mumbo jumbo! Like I told you before...here it is Jan 1, 2000 and nothing...NADA...happened!"
Me: "Happy New Year yourself. And yes, there was a Y2K problem and we fixed it so nothing happened like I told you before!"
Friend: "Huh? Now, Mike, how can it be a problem if nothing happened!"
Me: "Ah, forget it...go watch your football games...I gotta get back to work"
Friend: "Work? Work? On New Year's Day? What the heck? What they got you working on now?"
Me: "Y2K...[hangup]"
Later Trades,
MT
1 comment:
Hey Jon,
The edge parameters are not optimized for each sector. I tried doing that this past weekend manually and the results turned out much worse than the original...mainly because I was optimizing on the wrong variables. As you can imagine, I was extremely frustrated wasting all those hours over the weekend on something that made the edge worse!
Now, that I've got the initial working of this software going...I can analyze all the variables of the edge properly...so in the next few weeks I'll begin looking at the sectors one by one.
You are correct, this is a mean reverting system. So, those stats are displaying the perfect world of trading. Real trading the system has been a learning experience because I don't capture all trades the backtester does. Thus, I have to adjust my backtester for those issues to try and capture the more realistic world. For example, in backtesting I was getting wonderful results by closing the position out at the market's open. Real world...not the case. Turned out the selling at the close gave me better fills because more liquidity exists there. I could go on... :)
Yes, I'm using the modified sharpe...actually a trade sharp since it's based on trades and not the daily returns annualized.
I feel you on the sleep part. All this research and programming late at night is tough on the brain! In fact, your comments are pretty funny...because I have been thinking the exact same thing over the past couple of days...I need to get some rest! So, I plan on taking a break from all this in a few days and just chill out. Step away from the computer! :)
Yeah, I post late for sure!!! When I should be getting some sleep or at least watching something I Tivo'd. :) Actually, this reminds me of a great quote regarding our plight. I can't remember all of it so I'll post it in the morning.
Take care and get some rest!
Mike
Post a Comment