 |
|
| View previous topic :: View next topic |
| Author |
Fear factor |
probtrader Senior Poster


Joined: 22 Oct 2005 Posts: 130
|
Posted: Mon Aug 13, 2007 4:58 am Post subject: Fear factor |
|
|
I backtested a simple system that buys the SPX when the VIX closes 3 std. deviations above its 100 periods average and closes the position when the VIX is 1 std. deviation below its 100 SMA.
Rules:
- If the VIX closes 3 stddev above the 100 SMA, buy SPX the next day at the open.
- If the VIX closes 1 stddev below the 100 SMA, close any open position.
From 1/1/1991 to 8/1/2007 there were 25 such signals and only 4 negative
trades for an average return per trade of 2.25%: | Code: | VIX2STDEV: Bought 1 376.47 1991-Aug-20 (Tue), Sold 1 390.59 1991-Aug-22 (Thu), Factor 1.03751
VIX2STDEV: Bought 1 382.62 1991-Nov-18 (Mon), Sold 1 384.48 1991-Dec-16 (Mon), Factor 1.00486
VIX2STDEV: Bought 1 407.57 1992-Oct-06 (Tue), Sold 1 415.67 1992-Oct-22 (Thu), Factor 1.01987
VIX2STDEV: Bought 1 452.94 1993-Sep-22 (Wed), Sold 1 457.74 1993-Sep-24 (Fri), Factor 1.0106
VIX2STDEV: Bought 1 445.66 1994-Apr-04 (Mon), Sold 1 448.73 1994-Apr-22 (Fri), Factor 1.00689
VIX2STDEV: Bought 1 582.63 1995-Oct-06 (Fri), Sold 1 590.65 1995-Oct-20 (Fri), Factor 1.01377
VIX2STDEV: Bought 1 598.48 1996-Jan-11 (Thu), Sold 1 608.44 1996-Jan-17 (Wed), Factor 1.01664
VIX2STDEV: Bought 1 633.5 1996-Mar-11 (Mon), Sold 1 655.26 1996-Apr-03 (Wed), Factor 1.03435
VIX2STDEV: Bought 1 626.19 1996-Jul-24 (Wed), Sold 1 635.9 1996-Jul-29 (Mon), Factor 1.01551
VIX2STDEV: Bought 1 720.98 1996-Dec-17 (Tue), Sold 1 776.17 1997-Jan-20 (Mon), Factor 1.07655
VIX2STDEV: Bought 1 912.94 1997-Jul-22 (Tue), Sold 1 940.3 1997-Jul-25 (Fri), Factor 1.02997
VIX2STDEV: Bought 1 922.02 1997-Aug-14 (Thu), Sold 1 939.35 1997-Aug-21 (Thu), Factor 1.0188
VIX2STDEV: Bought 1 876.99 1997-Oct-28 (Tue), Sold 1 958.98 1997-Nov-21 (Fri), Factor 1.09349
VIX2STDEV: Bought 1 1072.12 1998-Aug-05 (Wed), Sold 1 1066.09 1998-Sep-24 (Thu), Factor 0.994376
VIX2STDEV: Bought 1 1487.37 2000-Apr-06 (Thu), Sold 1 1516.35 2000-Apr-10 (Mon), Factor 1.01948
VIX2STDEV: Bought 1 1440.51 2000-Apr-14 (Fri), Sold 1 1477.44 2000-Apr-26 (Wed), Factor 1.02564
VIX2STDEV: Bought 1 1415.1 2000-May-04 (Thu), Sold 1 1420.96 2000-May-15 (Mon), Factor 1.00414
VIX2STDEV: Bought 1 1329.78 2000-Oct-13 (Fri), Sold 1 1429.4 2000-Nov-01 (Wed), Factor 1.07491
VIX2STDEV: Bought 1 1085.78 2001-Sep-10 (Mon), Sold 1 1084.78 2001-Oct-24 (Wed), Factor 0.999079
VIX2STDEV: Bought 1 920.47 2002-Jul-11 (Thu), Sold 1 919.62 2002-Aug-15 (Thu), Factor 0.999077
VIX2STDEV: Bought 1 1106.78 2004-Mar-12 (Fri), Sold 1 1109.19 2004-Mar-26 (Fri), Factor 1.00218
VIX2STDEV: Bought 1 1142.62 2005-Apr-18 (Mon), Sold 1 1175.65 2005-May-05 (Thu), Factor 1.02891
VIX2STDEV: Bought 1 1187.33 2005-Oct-11 (Tue), Sold 1 1195.76 2005-Oct-20 (Thu), Factor 1.0071
VIX2STDEV: Bought 1 1270.25 2006-May-18 (Thu), Sold 1 1251.92 2006-Jun-22 (Thu), Factor 0.98557
VIX2STDEV: Bought 1 1398.64 2007-Feb-28 (Wed), Sold 1 1410.92 2007-Mar-21 (Wed), Factor 1.00878
Invested days: 321 (5.3014%)
Trades: 25
Avg trade: 2.11%
Std dev: 2.62%
Skew: 134.26
2SD Range: -3.12% | 7.35%
3SD Range: -5.74% | 9.97%
Pos trades: 21 (84.00%)
Neg trades: 4 (16.00%)
Avg pos: 2.62%
Avg neg: -0.55%
Best: 9.35% [1997-Oct-28/1997-Nov-21]
Worst: -1.44% [2006-May-18/2006-Jun-22]
Max cons pos: 13 [1991-Aug-22/1997-Nov-21]
Max cons neg: 2 [2001-Oct-24/2002-Aug-15]
Max drawdown: -1.44% [2006-Jun-22/2006-Jun-22]
ROI: 67.34%
CAGR: 3.15%
GSDm: 9.12%
Position Excursions
--
Avg neg: -3.09%
Avg pos: 4.85%
Max cons pos: 8 [1992-Oct-09 00:00:00/1992-Oct-21 00:00:00]
Max cons neg: 5 [2001-Sep-10 00:00:00/2001-Sep-21 00:00:00]
Worst excursion: -13.42% [2002-Jul-12 00:00:00/2002-Jul-23 00:00:00]
Best excursion: 16.62% [2002-Jul-23 00:00:00/2002-Aug-15 00:00:00] |
Note that the average loss for the 4 negative trades (one was in 1998) is only -0.55% and the worst trade lost -1.44%.
The worst position excursion according to my backtester was in 7/2002 (-13%), immediately followed by the best excursion in 8/2002 (16%). |
|
| Back to top |
|
 |
| Author |
Fear factor Replies |
probtrader Senior Poster


Joined: 22 Oct 2005 Posts: 130
|
Posted: Thu Sep 06, 2007 4:28 am Post subject: Re: Fear factor |
|
|
| probtrader wrote: | Interesting. First, I just noticed that the 4 negative trades all happened during the May-Sep period:
| Code: | Bought 1 1072.12 1998-Aug-05 (Wed), Sold 1 1066.09 1998-Sep-24 (Thu), Factor 0.994376
Bought 1 1085.78 2001-Sep-10 (Mon), Sold 1 1084.78 2001-Oct-24 (Wed), Factor 0.999079
Bought 1 920.47 2002-Jul-11 (Thu), Sold 1 919.62 2002-Aug-15 (Thu), Factor 0.999077
Bought 1 1270.25 2006-May-18 (Thu), Sold 1 1251.92 2006-Jun-22 (Thu), Factor 0.98557 |
|
One more negative trade during the May-Sep period:
| Code: | | Bought 1 1482.44 2007-Jul-27 (Fri), Sold 1 1479.36 2007-Aug-27 (Mon), Factor 0.997922 |
Still not as bad as it looked in August... |
|
| Back to top |
|
 |
nodoodahs Moderator

Joined: 06 May 2005 Posts: 2408
|
|
| Back to top |
|
 |
nodoodahs Moderator

Joined: 06 May 2005 Posts: 2408
|
Posted: Thu Aug 23, 2007 7:10 am Post subject: |
|
|
As of 8/31/2001, the market had fallen 4.3% in a week and almost 7% for the month. I would think the VIX would be rising in a fall like that. The market fell another 4.3% into the 7th of Sept. _________________ I haven’t seen a beatin’ like that since somebody stuck a banana in my pants and turned a monkey loose. |
|
| Back to top |
|
 |
probtrader Senior Poster


Joined: 22 Oct 2005 Posts: 130
|
Posted: Thu Aug 23, 2007 6:47 am Post subject: |
|
|
| I meant, there were 25 signals in the last 18 years. How do you explain the rise in implied vol 2 days before 9/11? Just a coincidence? |
|
| Back to top |
|
 |
nodoodahs Moderator

Joined: 06 May 2005 Posts: 2408
|
Posted: Thu Aug 23, 2007 5:43 am Post subject: |
|
|
Not really. I don't watch VIX in relation to its own stdev or ma. I do watch VIX in relation to the 45-day average true range of the SPX, and that seems to be a good longer-term fear/complacency gauge. _________________ I haven’t seen a beatin’ like that since somebody stuck a banana in my pants and turned a monkey loose. |
|
| Back to top |
|
 |
probtrader Senior Poster


Joined: 22 Oct 2005 Posts: 130
|
Posted: Thu Aug 23, 2007 2:53 am Post subject: |
|
|
| Thanks. Any thought on that VIX 3 stddev rise on 9/9? |
|
| Back to top |
|
 |
nodoodahs Moderator

Joined: 06 May 2005 Posts: 2408
|
Posted: Tue Aug 21, 2007 9:56 am Post subject: |
|
|
I have generally seen set/trigger used in two instances, one being short-term countertrend trades and the other being trendfollowing trades where whipsaws are common. There's a wealth of information on system design here
http://tradingblox.com/forum/index.php
and in books like “Trading For A Living” by Alexander Elder, “Trade Your Way To Financial Freedom” by Van K. Tharp, and “Trend Following” by Michael W. Covel, just to name a few. If you go to the Amazon page for any of these books, there are other books listed as suggestions as well. _________________ I haven’t seen a beatin’ like that since somebody stuck a banana in my pants and turned a monkey loose. |
|
| Back to top |
|
 |
probtrader Senior Poster


Joined: 22 Oct 2005 Posts: 130
|
Posted: Tue Aug 21, 2007 8:56 am Post subject: |
|
|
| nodoodahs wrote: | Often these systems have a "set" and "trigger" to prevent drawdowns.
|
Thanks for the infos. Is the set/trigger technique employed for any breakout system or volatility in particular? Where can I find more information? |
|
| Back to top |
|
 |
probtrader Senior Poster


Joined: 22 Oct 2005 Posts: 130
|
Posted: Tue Aug 21, 2007 8:49 am Post subject: Re: Fear factor |
|
|
Interesting. First, I just noticed that the 4 negative trades all happened during the May-Sep period:
| Code: | Bought 1 1072.12 1998-Aug-05 (Wed), Sold 1 1066.09 1998-Sep-24 (Thu), Factor 0.994376
Bought 1 1085.78 2001-Sep-10 (Mon), Sold 1 1084.78 2001-Oct-24 (Wed), Factor 0.999079
Bought 1 920.47 2002-Jul-11 (Thu), Sold 1 919.62 2002-Aug-15 (Thu), Factor 0.999077
Bought 1 1270.25 2006-May-18 (Thu), Sold 1 1251.92 2006-Jun-22 (Thu), Factor 0.98557 |
Second, the VIX had a sigma 3 move on 9/9/2001, two days before 9/11:
http://stockcharts.com/h-sc/ui?s=$VIX&p=D&st=2001-08-01&en=2001-10-30&id=p96989453942 |
|
| Back to top |
|
 |
probtrader Senior Poster


Joined: 22 Oct 2005 Posts: 130
|
Posted: Mon Aug 13, 2007 7:43 am Post subject: |
|
|
| Quote: | | Max drawdown, July '06...humm. |
Max drawdown indicates the lowest equity point based on all closed positions. I think you're referring to the worst adverse excursion, which is reached for a position opened in July 2002.
| Quote: | | intuitively it seems once you break 2 STDs it goes to 4. |
The system buys the SPX after the VIX breaks 3 std dev, not 2. It closes the position when the VIX is back within 1 stddev. |
|
| Back to top |
|
 |
nodoodahs Moderator

Joined: 06 May 2005 Posts: 2408
|
Posted: Mon Aug 13, 2007 7:38 am Post subject: |
|
|
Often these systems have a "set" and "trigger" to prevent drawdowns.
Hypothetically:
Set when it crosses X standard deviations going up;
Trigger when it crosses back below X standard deviations going down.
Might try seeing if different values of X make it better, or if the Set and Trigger might be different values ... _________________ I haven’t seen a beatin’ like that since somebody stuck a banana in my pants and turned a monkey loose. |
|
| Back to top |
|
 |
rffrydr Moderator


Joined: 30 Oct 2005 Posts: 16932 Location: Sunny California
|
Posted: Mon Aug 13, 2007 7:13 am Post subject: |
|
|
Max drawdown, July '06...humm.
I don't know: intuitively it seems once you break 2 STDs it goes to 4. Maybe not VIX but definitely with the swings in the Bollinger Bands.
How many 4 STDs are there if any in this period? _________________ Today is the Tomorrow you worried about Yesterday! |
|
| Back to top |
|
|
Please log in to view without the ad banners |
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
Powered by phpBB
|