Option FanaticOptions, stock, futures, and system trading, backtesting, money management, and much more!

Risky Proposition (Part 2)

I believe we should always be thinking about the likelihood of history to repeat before concluding too much from historical backtesting. Usually, the answer is “unlikely to repeat” and Monte Carlo simulation to randomize trade sequence seems like a logical solution. Studying only one historical equity curve introduces selection bias to the system development process.

Lines 4-6 in the last post suggested dividing initial equity by the maximum drawdown (DD) to best understand trading system risk. This prevents someone from inflating potential returns by advantageously changing the backtesting start date. Certainly when developing my own system I also want to avoid underestimating risk. In live trading if I lose much more than expected then the result could be catastrophic.

Lines 1-3 address accurate assessment of DD risk. I love to see an equity curve grow exponentially but the way to do that is by increasing position size along the way. DDs occurring later in the trade sequence will be proportional to position size and this can distort our understanding of risk. For example, which year has the worst DD for each system shown below?

DD Analysis (1) (1-27-16)

Clearly the 2010 DD is twice that of 2008 for each system. Does the additional information shown below change your perception?

DD Analysis (1-27-16)

The 2010 DD is worse for system 1, the 2008 DD is worse for system 3, and the DDs are equivalent for system 2. I now can better understand how DD should be understood in terms of position size.

Using a constant position size during development of a trading system helps remove the bias produced by order-dependent testing results. We may already have a selection bias introduced by choosing an equity curve that is better than the mean. Do not compound that by adding artificial equity growth due to trade sequences not likely to be repeated.

Put in simpler terms, when analyzing DDs I need to keep position size constant to ensure apples-to-apples comparison.

A Brief Glimpse into Theoretical Physics

Last time I mentioned a concept arguably more suitable for a theoretical physics blog than a blog on option trading:

     > To say “calculate [drawdown] as if it happened on Day 1” is to
     > say any ordering of events is equally likely. A 2011-type
     > correction could have just as well happened in 2002 and a 9/11
     > could have just as well happened in 2008, etc.

Understanding our current reality as a cumulative result of historical events/decisions is a controversial interpretation amounting to fate and destiny. While many people do understand the world in these causal terms, cognitive psychology suggests the human brain works unconsciously to identify causation even where none actually exists. This is adaptive: living in a logical world is certainly less stressful than living in a world where utter chaos lurks around every corner.

How robust is our current reality? Is it like a sequence of dominoes where toppling of just one can affect everything that comes after? Is it more like Jenga where many previous decisions may be altered before the present is affected?

Trekkies will always remember the words of Jean-Luc Picard in “Yesterday’s Enterprise:” “Who is to say that this history is any less proper than the other?”

Another good description of the infinite realities concept is shown here from time index 07:00 to 09:45.

For all these reasons, I mentioned “overstated conclusion” in the final paragraph. I do not want to make the mistake of basing trading decisions on the shape of a backtested equity curve. People commonly ask to see these historical equity curves without realizing that these are just one possible path a trading system may follow through time. A slight alteration in the trade sequence may result in worse drawdowns, losing periods instead of profitable ones, etc.

Gaining that “broader perspective” by numerous Monte Carlo simulation runs can decrease the chance of falling prey to this sort of curve-fitting.

Risky Proposition (Part 1)

Continuing on with a previous discussion about normalizing risk:

     > Position sizing should be held constant throughout the   [1]
     > [duration of in-sample backtesting]… This allows for
     > an apples-to-apples comparison of PnL changes             [3]
     > throughout… A drawdown (DD) at any point should be
     > evaluated as if it occurred from Day 1; this is one          [5]
     > way of interpreting maximum risk.

I will start by describing the concept in lines 4-6 and then cover lines 1-3.

Risk tolerance may be used to determine position size. Suppose the max DD I can psychologically withstand is 10%. Based on the oft-quoted trading adage “the worst DD is always ahead of you,” I should select a smaller position size such as one corresponding to a max DD of 5%. If I now encounter something 2x worse in live trading, my psychology can [hopefully] tolerate it thereby avoiding the potentially catastrophic result of abandoning ship at the darkest moment.

Sticking with the conservative theme, I should also calculate DD as a percentage of initial equity because this will give a larger DD value and a smaller position size. For a backtest from 2001-2015, 2008 was horrific but as a percentage of total equity it might not look so bad if the system had doubled initial equity up to that point.

To say “calculate DD as if it happened on Day 1” is to say any ordering of events is equally likely. A 2011-type correction could have just as well happened in 2002 and a 9/11 could have just as well happened in 2008, etc. In case this is true, I prefer not to trade real money based on the overstated conclusion that a DD occurring later was destined to occur later. Monte Carlo simulation can randomize the trades to generate a large number of potential trade sequences for a trading system. I can then look at averages and standard deviations for things like net income and max DD to get a broader perspective of what to expect in live trading.

Sleep Easy Stocks (Part 2)

I intended this to be a quick hitter but in writing the last entry I discovered the fabled “sleep easy portfolio” has two separate characteristics: not being perpetually stressed over potential losses and bragging about winners.

People love to brag about winners. If bragging were ever to be justified then I believe one who works hard at something has more right to do so than one who had it easy and did not put forth any effort at all [I still think bragging should be avoided because it amounts to hubris and as the old adage states, “karma’s a *itch“].

Another cliché is “no risk no reward.” If I truly have no risk then I may sleep easy but I will not make any money.

What I don’t see happening is having my cake and eating it too: no stress and the ability to brag about windfall profits. If I make good money and it seems easy then I should avoid bragging because luck might have played a part and it’s probably just a matter of time before Mr. Market evens the score (and then some). Not everyone can make good money because not everyone works hard, which is one reason a hard work ethic is highly valued in this society.

The “sleep easy portfolio” is therefore nothing more than a myth.

I used to know somebody who would say “I don’t need to work as hard as you because I ‘get’ things faster.” She later went to alcohol rehab and things did not fare well for her. My guess is that until [if] she changes that belief about hard work, she will always be in denial and will continue to have great difficulty finding success in her life.

Sleep Easy Stocks (Part 1)

In May of last year, I saw a comment on a trading forum that truly resonated with me:

     > If a successful hedge fund manager is anxious about
     > the market, perhaps he should just take some valium.
     > Any investor in something as unpredictable as the
     > stock market who isn’t anxious–all the time–is not
     > in touch with reality. Whether the market is up,
     > down, or sideways, anxiety should be the baseline
     > emotion. Anyone who thinks he has a “sleep well at
     > night portfolio” is an idiot in denial.

In my opinion, plenty of reasons may be had to be bullish or bearish at any moment on the right edge of a chart. Optimists and pessimists always exist in the marketplace and the financial media’s whole business is to come up with both sets of arguments in order to capture as large an audience as possible.

In retrospect, it’s easy to look at a chart and say “it was easy to trade back here as the market was trending smoothly.” Investors and traders seem to do this all the time.

Now into my ninth year of full-time trading, I have not found these stories about easy money and stress-free trading to be reality. Rather, I consider it the stink of marketing and advertising. I’m not on edge during the days and experiencing cold sweats at nights but you also will not hear me bragging about profits. No matter what I’ve made in the past, I can easily lose everything when I encounter the next vicious market environment. This is reason enough to always keep one’s head on a swivel and to never think a portfolio without risk is a reasonable expectation.

If you disagree with the latter point then please consult Ronda Rousey. I would be very interested to hear what she thinks.

Challenges to Option Backtesting (Part 2)

Earlier this year I had an e-mail correspondence about difficulties with option backtesting. My pasted excerpts made points about how stale quotes may produce misleading data, how software mechanics may lead to unreliable backtesting, and how proficiency (or lack thereof) with trade execution may affect backtesting results.

I had one particularly memorable experience with the latter point about slippage. I backtested a calendar trade over two years with and without slippage. In the former case, the trade made huge money. In the latter case, the account was ground into minced meat. This was a night/day difference between a trade I would jump to put on every single month versus a trade I would never even wish on my worst enemy.

I try to be particularly cognizant of transaction fees when I backtest. I would rather estimate transaction fees too high than too low when looking at a trade I might actually do with real money.

One thing I have learned in the years since studying that calendar trade is the profound effect of sample size. I believe minor inaccuracies (also known as “random error”) here and there will be averaged out with a large number of occurrences. Put a different way, the more occurrences I have to study, the larger will be the signal-to-noise ratio. If a trade has worked in the past then I will be more likely to detect it.

As long as I am reasonable with regard to slippage, backtested results will give me the confidence to trade with real money. No methodology to trading system development will ever be perfect. At the end of the day, the ultimate goal must therefore be having the necessary confidence to trade it live and to stick with it during expected drawdowns to emerge profitable on the other side.

Challenges to Option Backtesting (Part 1)

I had an exchange with another trader some months ago about option backtesting. I wanted to copy and paste parts of my last response because they are good things to keep in mind:

    “Greeks do lie sometimes… I was just on the phone
    with OptionVue (OV) discussing a position I was
    studying… between 10:30 AM and 11 AM yesterday.
    Greeks suggested a market rally and volatility
    contraction would increase cash flow when cash
    flow significantly decreased. The back month
    option in the spread had no volume change over
    that 30 minutes so without any volume that may
    have been a stale quote. This is another
    potential contaminant to accurate backtesting…

    One thing that has frustrated me over the years
    with OV is that I can open a matrix and get
    identical prices but different greeks simply by
    refreshing the data, which I suppose forces the
    program to recalculate modeled values. If I’m
    looking to sell nothing greater than a 10 delta,
    for example, then a 10.4 versus 9.8 delta
    simply as a result of refreshing the data means
    the backtest is not reliable: one option may
    land a winner and the other a loser. This is
    another argument in favor of a large sample
    size because if small then the difference
    between a winning trade and a losing one can
    be very significant in the totality of results…

    Just this morning I was reading a trading forum
    and I found this post:

     > I have found backtesting options strategies
     > to be very difficult mainly due to the large
     > bid/ask spread.

     > If, in your backtest, you always use the
     > worst price, the strategy will never
     > make money. If you use the best price
     > then your probability of success is
     > artificially inflated.

     > Backtesting options strategies is very
     > hard, and the results given by most
     > websites and/or software seems to always
     > show the best case scenario. Most of the
     > time this is not happening

     This really hit home. I’ve encountered this for
     years and I totally agree.”

I’ll finish up with the next post.

Who Can You Trust? (Part 6)

I was hoping to end this fraud discussion last year but being such a pervasive cancer, it sticks around like a musty odor. I left off with the role of intersubjectivity in combating the con artists.

While a powerful tool, intersubjectivity has more difficulty validating experts. An expert is a “person who has a comprehensive and authoritative knowledge of or skill in a particular area.” Again, intersubjectivity is what makes someone’s knowledge “authoritative.” That judgment must come from someone else who shares or can appreciate the supposed expert’s level of understanding. Confirming popular subject matter may not be easy but it is at least doable because there are many teachers available in-person or online.

When it comes to an esoteric domain, however, intersubjectivity may fail altogether. Even more than motivational speaking, I would love to get up in front of a group of interested listeners and teach option trading! I am qualified because I have spent thousands of hours studying, backtesting, and doing it with real money. Despite my good intentions, though, few in a position to give me the gig I seek (e.g. school principals, department heads) can verify that I know what I am talking about or that my intentions are pure.

Think for a moment about what it would take to authorize a complete stranger to teach your students. Do you know/trust a successful trader able to confirm my expertise? You would certainly be hard-pressed to find verifiable approaches to consistent long-term profitability online. This is the hard work people must do on their own and once they get results, they typically look to sell or profit rather than sharing freely where they may be viewed by others (e.g. blogs, internet forums, free websites). At the end of the day, maybe I will get the gig if and only if I prove to be a good salesman.

These are recurring themes that I have discussed before.

My takeaway is “roadblocks everywhere!” This is a launch pad to a different discussion about how the financial industry protects a core approach to generating revenue: a story for another time, perhaps.

Happy New Year!