PMKing Trading LLC
Trading Blog
 A (Usually at Least Weekly) Trading Blog
Click here for the RSS feed of this Blog or add it to your Yahoo using Add
                                       PMKing Trading Blog to My Yahoo!

Let me know using the "Contact Us" page if you find this blog useful.

Trading Truths

Use the Contact Us section of this site if you want to receive this Blog as an email every time it is published, or if you simply enjoy reading it and want to encourage me to continue to write it.

 

_______________________________________________________________________________________

 

 

blog, noun, an online journal, diary, or collection of thoughts; shortened form of web log.

 

_______________________________________________________________________________________

 


 
_______________________________________________________________________________________

Banking Meltdown Warning

Paul King, July 16th 2008
 
I've recently been warning my financial advice clients to make sure at the very least they have no more than $100,000 in any one FDIC "insured" account.  This is so that they don't fall foul of the 50c on the dollar loss that IndyMac Bank depositors recently sustained for deposits over $100,000.
 
Reports are that the IndyMac Bank meltdown cost the FDIC up to $8 billion of its $52 billion insurance fund.  At that rate it can only afford to bail out another 6 banks before there's no more cash left to pay with (wonder what happens then?).  How would you feel about a life insurance company that only had enough cash to pay out on 6 of its insured client's life insurance policies?
 
According to the FDIC web site as of November 2007 (latest numbers available) there was about $4 trillion in US deposits, and the insurance fund was just over 1% of that.  Not a good margin of safety if you ask me.  Anyway, Elliott Wave International has a free report on the 100 "safest" banks. It's not quite time to take your cash and stuff it under the mattress yet, or start buying gold bars, or creating a local barter-based economy, but it's certainly worth checking out whether your bank is on Bob Prechter's list or not. Details below:

Free Report: Discover the Top 100 Safest U.S. Banks

Most of us think the term "deposits" mean funds that you deliver to the bank for safekeeping, but for nearly 200 years, the courts have sanctioned an interpretation of the term "deposits" to mean a loan to your bank.

Combine that fact with the latest headlines you’re reading about big name banks needing bailouts and you have a rude awakening of just how unsafe your bank may be.

Get expert, informed, and independent information on what you can do to protect your money, right now.

Elliott Wave International, the world’s largest market forecasting firm, has just released a free report, Discover the Top 100 Safest U.S. Banks.

The free report will show you:

  • The Top 100 Safest U.S. banks (two for each state)
  • How you can choose a safe bank.
  • Five incredibly risky banking conditions.
  • How even the FDIC can't really guarantee your money.
  • Tips on international safe banking.

Stop worrying about your money and get expert information on what you can do to protect it.

Click Here to Access Your Free Report – Discover the Top 100 Safest U.S. Banks

--------------------------------------------------------------------------------
About the Publisher, Elliott Wave International
Founded in 1979 by Robert R. Prechter Jr., Elliott Wave International (EWI) is the world's largest market forecasting firm. Its staff of full-time analysts provides 24-hour-a-day market analysis to institutional and private investors around the world.


 
_______________________________________________________________________________________

Amazon Kindle Stress Test

Paul King, June 3rd 2008

My Amazon Kindle, which I've been using for almost all my reading since I got it in November 2007 has just undergone its first real "stress test" and it failed miserably. I'm not happy.

OK, so I don't think it was designed to survive being driven over by a Toyota Tacoma truck, but at the current price of $359 (which is $40 less than the original price of $399) I'd still expect it to be near bullet-proof.

Anyway, it's a testament to Kindle's usefulness and appeal that I'm actually going to buy another one immediately because I can't live without it any more. I suppose one advantage of a traditional book collection is that it's unlikely to be driven over, and the books would probably still be OK even if it was.

Despite this problem I still think the Kindle is the best thing to happen to the written word since the printing press was invented. Get yours here, but remember that the thing is flimsy and can't survive being crushed by even a relatively small pickup truck.


UPDATE: I just found out that Kindle's 12 month warranty covers accidental damage too, so Amazon will replace it and even pay for the shipping to return the flat one to them. Now that's rare customer service!

UPDATE 6/4/8: I now have a new Kindle and all content has been restored like I never broke the old one (in less than 32 hours). I'm a happy Amazon customer :-).


 
_______________________________________________________________________________________

All Systems Go™ Online Trade Simulator and Analyzer Update

Paul King, May 28th 2008

The beta version of the online trade simulation and analysis product "All Systems Go" is up and running and has been updated with new functionality.

If you haven't already used it, you can try it out here.

The User Guide has now been written and is available here.

The Version History for the product is here.

Thanks everyone for their useful and constructive feedback about the initial version of the product.

Please send any bug reports, comments or feedback using the 'Contact Page' on this site. If you want any help interpreting the results of a simulation please send me an email. Please bear in mind that while the product is in beta testing (and free to use) I have limited resources to answer questions.


 
_______________________________________________________________________________________

All Systems Go™ Online Trade Simulator and Analyzer

Paul King, May 21st 2008

The beta version of the online trade simulation and analysis product "All Systems Go" is now released.

You can try it out here.


The thumbnail to the left shows part of the example output from the simulator.

Simply plug in a sample of real or hypothetical/historical trades and press the "Simulate" button to produce a simulation of the variability of your trading, and also an analysis of the quality of the trade sample.


Please send any bug reports, comments or feedback using the 'Contact Page' on this site. If you want any help interpreting the results of a simulation please send me an email. Please bear in mind that while the product is in beta testing (and free to use) I have limited resources to answer questions.


_______________________________________________________________________________________


 


The "High Probability Entry" fallacy 

Paul King, April 28th 2008

A lot of time in trading is spent (I'd say wasted) looking for so-called high probability entries, but what exactly does that mean?  Generally it's trying to identify patterns in price/volume/fundamental/economic data that identify when there is a detectable bias to the future price trend of a tradable instrument.

There are a couple of problems with this approach:

1. Over what timeframe is this future directional bias supposed to operate?  If it's significantly less than your estimated average trade duration then what real use is it?

2. For every positive/reinforcing example of your high probability entry how many negative examples are there?  If this pattern only manifests itself in a small amount of data, or price moves counter to the predicted direction in about 50% of the cases, then is there really a cause/effect or predictive relationship going on at all?

If you do happen to identify a possible pattern with an edge, that doesn't have many counter-examples, occurs with sufficient frequency to test, and has accurate historical data available so you can backtest it, then try this simple test to see how effective it really is:

Once you've programmed your system/pattern and have a nice looking historical equity curve then, leaving everything else the same (i.e. instrument selection and ranking, position sizing, exit strategy), reverse the entry signal and see how this affects the results.

I've yet to find a long/short "high probability entry" that doesn't provide similar results when it's reversed leaving everything else the same.  What does this tell me?  Entry signal does not determine trade winning percentage or winner size - exits and position-sizing do that, so the term "high probability entry" is really an oxymoron to me.

What a particular pattern is really determining is a) the entry frequency, and b) whether you're getting into a tradable instrument that's moving about or stagnant.  Neither of these has anything to do with what happens next in any particular trade.  However, obviously a pattern that generates more entries in instruments that are moving right now has a better chance of capturing trends (in either direction) than one that generates less signals, or signals in instruments that are "stagnant" as far as price movement goes.

Stop "wasting" time on entry patterns and start working on position-sizing and exit strategies and you'll see an immediate positive effect on your trading.

_______________________________________________________________________________________

 

Are you fit to trade? 

Paul King, March 31st 2008

Every time you sit down at your trading computer and make a trading decision you should have already asked yourself a simple question first:

Am I fit to trade today?

It's all too easy, once you have a well-defined trading method, or a few months (or even years) of experience behind you to get complacent and start thinking you're a mechanical trading machine that never makes any errors.

Forgetting that trading is a difficult activity to do accurately, consistently, and repeatedly without making any serious implementation errors can lose you many month's worth of profits in a single error.

When you wake up each morning take a moment while you're lying there waiting for your brain to boot up to think about how you feel.  Start off with a physical check:

  • Does anything hurt or ache?
  • Do you still feel tired?
  • Do you have plenty of energy?

Then move onto a mental checkup:

  • Is anything mentally bothering you?
  • Are you ready and happy to go to the office?
  • Do you feel alert and ready for the day?

I tend to simplify these questions into a daily "score" and then have some rules about what I can and can't do depending on how low (low is bad) my score is.  For example if I don't score high enough then I may decide to simply manage existing positions rather than putting on any new trades.  This means I'm not making important decisions when I'm not feeling 100%.

Obviously your fitness score can, and should, be changed as you go through your daily morning routine.  Sometimes, a little tiredness just needs a good hot shower to fix it.  Or some slow breathing when you get to the office may improve your mental state.

The important thing is not to be expecting full performance if you're not 100% fit.  It is OK to suspend trading if you're at a disadvantage mentally or physically that can more than eliminate any trading edge you have when you're 100% fit.  If you keep a diary of your "fitness score" versus any implementation errors you make then it should be relatively easy to see how your error rate increases as your fitness score decreases and then you can implement rules about how to reduce your trading activity when your fitness score is not high enough.

If you're trading when not fully fit you simply increase your chances of making an error, and that is the root cause of failure for traders that do have a complete and effective trading method already defined.  Don't take the risk, it's not worth it.

_______________________________________________________________________________________

 
 

Little mistakes can mean a lot 

Paul King, March 25th 2008

Recently a trader I know made a small typographic error that cost him nearly $100,000 in 8 minutes and it could have been much worse.  Instead of buying a couple of hundred shares of something, he entered an order for over 100,000 shares.  This was because the order entry platform he used defaulted to a size of 100 and he didn't replace it with his required order size, but added his order size to the end by mistake.

A brief analysis of the 10 main errors that were made is summed up below:

1 He was tired, so shouldn't have been trading at all.

2 He was on the phone at the same time as entering orders, causing a distraction and a loss of concentration.

3 He didn't check the order confirmation immediately after he'd entered it.

4 It was right before the close, so it was too late to get out of the position when the error was detected.

5 He did not know how to participate in the end-of-day auction process to possibly exit the position immediately (this was not a US trade).

6 The market was very volatile (compounded by the large exit order) the next day so slippage was big.

7 He over-estimated the liquidity available at the open the next day and assumed that he would have similar slippage on exit to what had occurred on entry.

8 He entered a market order for the whole position instead of scaling out or using limit orders.

9 He did not know how to enter a pre-market auction order to exit the position with less slippage.

10 He didn't have a written plan for what to do in the event of this kind of simple trading error.

One mistake that he didn't make was that he exited the position as soon as he could.  Keeping the position (that was 50 times bigger than intended) to "see shat happens" could have turned into the kind of situation that puts you out of the trading game for a long time (if not permanently) rather than costing you a couple of month's profits.

The moral of this story is twofold:

1 Have a written contingency plan for every problem you can think of.

2 Have rigid procedures for why, how, and when you will put trades on and take them off (and follow them on every trade).

3 Analyze, record, and quantify your mistakes and put things in place to reduce the chances of them happening again.

In my experience most mistakes cost you money, are nearly always preventable, and if you learn from them, the chances of them happening again (or costing you as much) are significantly reduced.  Steps that should be put in place to prevent this kind of mistake again would be:

1 Have a method of evaluating whether you are "fit to trade" and if not, have someone else you can delegate the trading to, or even suspend trading for a while until you are fit.

2, 3, 4 Have a written checklist for trade entry (including confirmation that the correct trade was placed) and follow it on every trade.  Don't trade right before the close since you won't have time to fix any mistakes when they do happen.

5, 6, 7, 8 & 9 Always fully understand the dynamics, personality, and mechanics of your chosen markets before you start trading.

10 A full written business plan, operational plan, and contingency plan for your entire trading business is essential if you are going to avoid making mistakes that can easily overwhelm any positive expectation of profit from your trading programs.

Having a suite of trading programs that can make 20% return per year is useless if you make 30% worth of implementation errors!  Learning from, reducing, and attempting to eliminate implementation errors is a very important factor in success.  As Dan Harrington says about poker:

 "..in the very long run, your results at the poker table will approach the sum of your opponents' mistakes, less the sum of your mistakes".

You are never in control of your opponents' mistakes in trading, but you can try to ensure that the "sum of your mistakes" is a very small number and in doing that you will greatly increase your chances of success.

_______________________________________________________________________________________

 
 

So much to do, so little time

Paul King, February 28th 2008

It's hard to believe that it's been 7 months since I've had the time to post to my blog, but I've been a little busy developing a suite of trading programs for a US-based hedge fund I'm helping to launch for a UK client. If you want more details about that then please use the "Contact" page or shoot me an email.

For those of you that would like a nice summary of the previous blog entries I feel are most valuable and informative, I've published them in a little paperback called "Trading Truths" which contains all the best blog entries I've written since I started it in 2002.

It's only available from Lulu.com right now since I haven't puchased an ISBN for it yet.

Click here to order a copy for $9.95

In other news, look out for an article in Futures magazine by me in the March 2008 edition and, you never know, I might just find a few minutes to do some more blogging here in the near future.

I've also been working on whether trend lines are actually useful in trading and part of that work includes some code that constructs automatic trendlines (in TradeStation) and I've included that below for your information.

// Automated Trendlines by Paul King, PMKing Trading LLC, (C) 2008 All Rights Reserved
 
variables:
float HH1(0),   // First highest high
float HH2(0),   // Second highest high
float LL1(0),   // First lowest low
float LL2(0),   // Second lowest low
int HH1Bar(0),   // Bar of highest price
int HH2Bar(0),   // Bar of next highest price
int LL1Bar(0),   // Bar of lowest price
int LL2Bar(0),   // Bar of next lowest price
int Pause(5),   // How long to wait to test for next highest high
float HighTrendLine(0), // High Trend line
float LowTrendLine(0), // Low Trend line
float HighDailyMove(0), // Daily move in down trend line
float LowDailyMove(0); // Daily move in up trend line

inputs:
 int Lookback(50);

// Highest Highs trendline
 
// Find new reference high
if BarNumber>Lookback and HH1Bar=0 then begin
 HH1=Highest(High,Lookback);
 HH1Bar=BarNumber-HighestBar(High, Lookback);
end;

// Reset HH2 if line far away
if HighTrendLine<>0 and AbsValue(HighTrendLine-HH2)>(AvgTrueRange(Lookback)*2) then begin
 HH2=0;
 HH2Bar=0;
end;

// Find next high
if HH1Bar <> 0 and BarNumber >= (HH1Bar + (Pause)) then begin

 HH2=Highest(High,BarNumber-HH1Bar-Pause);
 HH2Bar=BarNumber-HighestBar(High, BarNumber-HH1Bar-Pause);
 If HH1Bar=HH2bar then HighDailyMove=HH2-HH1 else HighDailyMove=(HH2-HH1)/(HH2Bar-HH1Bar);
end;

if HH2Bar<>0 and BarNumber>HH2Bar then HighTrendLine=HH2+(HighDailyMove*(BarNumber-HH2Bar));

// Reset if trend line broken or HH1 too long ago
if (HH2Bar <>0 and BarNumber> HH2Bar+Pause and Close>HighTrendLine or (BarNumber>(HH1Bar+(lookback*2)))) then begin
 HighTrendLine=0;
 HH1Bar=0;
 HH2Bar=0;
 HH1=0;
 HH2=0;
end;

// Reset HH1 if too long ago
if (BarNumber>(HH1Bar+(lookback*2))) or AbsValue(Close-HighTrendLine)>(AvgTrueRange(Lookback)*10) then begin
 HH1=0;
 HH1Bar=0;
 HighTrendLine=0;
end;

if HighTrendLine > 0 then plot1(HighTrendLine,"High Trend",LightGray);
if HH2>0 and BarNumber=HH2Bar then plot4(HH2,"HH2",LightGray);

// Lowest Lows trendline
 
// Find new reference low
if BarNumber>Lookback and LL1Bar=0 then begin
 LL1=Lowest(Low,Lookback);
 LL1Bar=BarNumber-LowestBar(Low, Lookback);
end;

// Reset LL2 if line far away
if LowTrendLine<>0 and AbsValue(LowTrendLine-Close)>(AvgTrueRange(Lookback)*2) then begin
 LL2=0;
 LL2Bar=0;
end;

// Find next low
if LL1Bar <> 0 and BarNumber >= (LL1Bar + (Pause)) then begin

 LL2=Lowest(Low,BarNumber-LL1Bar-Pause);
 LL2Bar=BarNumber-LowestBar(Low, BarNumber-LL1Bar-Pause);
 If LL1Bar=LL2Bar then LowDailyMove=LL2-LL1 else LowDailyMove=(LL2-LL1)/(LL2Bar-LL1Bar);
end;

if LL2Bar<>0 and BarNumber>LL2Bar then LowTrendLine=LL2+(LowDailyMove*(BarNumber-LL2Bar));

// Reset if trend line broken or LL1 too long ago or trend line too far away
if (LL2Bar <>0 and BarNumber> LL2Bar+Pause and Close<LowTrendLine) or (BarNumber>(LL1Bar+(lookback*2))) then begin
 LowTrendLine=0;
 LL1Bar=0;
 LL2Bar=0;
 LL1=0;
 LL2=0;
end;

// Reset LL1 if too long ago or trendline too far away
if (BarNumber>(LL1Bar+(lookback*2))) or AbsValue(Close-LowTrendLine)>(AvgTrueRange(Lookback)*10) then begin
 LL1=0;
 LL1Bar=0;
 LowTrendLine=0;
end;

if LowTrendLine > 0 then plot2(LowTrendLine,"Low Trend",DarkGray);
if LL2>0 and BarNumber=LL2Bar then plot3(LL2,"LL2",DarkGray);

            

_______________________________________________________________________________________

 
 

Trends are not the same in both directions

Paul King, July 6th 2007

Consider the chart below (click it to download a larger pdf)

            

The chart shows the "persistence" of trends in liquid US equities over the last 20 years.  A trend is defined as an X times the Average True Range over Y days move over Z days.  The price is then inspected time T days later to see if it was up or down.  The number of times the price had moved in the direction of the trend was then counted for 300 different parameter combinations of X, Y, Z and T.

As you can see from the chart, overall there is no trend persistence in the US equity market since the winning percentage for all the system instances tested clusters around 50% (i.e. random chance).

What is interesting is the big difference between trend persistence of up trends versus down trends.  Trend persistence in an upward direction is much more prominent than that in a downward direction.  Some of the difference can be explained by the "survivorship bias" in the data set used in that the best down-trending equities (i.e. the ones that went bankrupt) are not included.

However, the significantly difference results in downward trend-persistence indicates that there is a fundamental difference between the way that prices trend up and down (for US equities anyway).  This asymmetry must be understood, accounted for, and adapted to in your trading method if you attempt to trade both long and short.

_______________________________________________________________________________________

 
 

Markets Price Moves are Not Normally Distributed

Paul King, June 25th 2007

Consider the chart below (click it to download a larger pdf)

            

The chart shows the frequency and size of runs in the S&P 500 over the last 20 years.  A "run" is defined as a consecutive daily move in the same direction from close to close.  For example, if the S&P500 moved +1% then +2% then +0.5% on 3 consecutive trading days, that would be counted as a run of +3.5%.

There are a couple of things worth noting about this chart.  One is that there are more severe outliers to the left, which means that more significant runs occur on the downside when markets crash.  The other is that the distribution is not the normal bell shape that indicates that it is normally distributed.  The frequency and size of moves (especially on the downside) are too great and too frequent to be "normal".  The number of runs around -12% should not exist and the one at nearly -32% should have almost a zero probability (if price moves were normally distributed).

The higher frequency of the "outliers" to the left and right of the chart are referred to as "fat tails" and mean that "all bets are off" when it comes to estimating the size and frequency of market moves using regular statistical and mathematical models that assume a normal distribution (also called a bell-shaped, or Gaussian distribution after the German mathematician Carl Friedrich Gauss).

The fact is that larger than expected moves occur much more frequently than statistics would have us believe, and your trading better adapt to this reality or you will be in for a big disappointment sometime in the near future

_______________________________________________________________________________________

 
 

What Good Looks Like

Paul King, June 20th 2007

Evaluating the performance of your own (or somebody else's) trading is not as straightforward as it seems.  You need to take all the following things into consideration:

  • The objectives of the trader or the method
  • The risk adjusted return
  • The margin usage or leverage
  • The implementation errors
  • The volatility of returns
  • The time period of the sample performance

Unless you know what objectives the trading system or method was designed to meet, how can you tell if the achieved performance is good or not?  Achieving high returns with low drawdowns is not necessarily indicative of a "sound" trading method - it's likely to be due to luck, or trading methods where the small risk of a very large "blowup" just have not manifested themselves yet.

Return is only useful in the context of risk (e.g. drawdown).  Most sound trading methods have a return that is similar to the maximum normal drawdown.  Look at the largest drawdown ever in relation to the annual percentage return to give you an idea of risk-adjusted return.

Margin or leverage can be used to trade at a size that bears little relation to the actual amount of cash available.  This can distort any percentage return figures or drawdowns.  It's the ratio of the two that's important not the absolute percentages.

How many implementation errors are being made?  If you have a fully defined method it should be possible to determine how the actual return differs from the theoretical "perfect" return if you made zero implementation errors.  A sign of good trading is a gradual reduction in the number of implementation errors as the method matures and the trader becomes experienced at implementing it.

Volatility of returns is normally more important than the absolute percentage returns.  Achieving consisted returns is often better than bigger, but more volatile returns, to most traders and investors.

Any trading method will take a number of years to exhibit the true overall performance characteristics inherent in it.  Looking at small samples over only a few months is not representative of most trading methods, especially those that take a small hidden (but non-zero) chance of a huge loss.

There's more to trading results than compound annual growth rate, and one needs to do a detailed analysis of the trading behind the numbers to really draw a conclusion about what "good" looks like for any particular set of performance figures.

 

_______________________________________________________________________________________

 
 

Why Trend Following Works

Paul King, June 12th 2007

Trend following is a well known, widely used trading method, that goes into and out of favor like the wind.  Critics, academics, and traders alike either swear by it or discount it.  What is it about trend following that means it works at all?

Why trend following works is closely related to why it's psychologically hard to stick to.  With a low winning percent (usually around one third of trades) it means you get to be wrong a lot.  This may be demoralizing if you're more concerned with being right than making money.  Loser after loser can mount up and feel like the proverbial "death by a thousand cuts".  Months or even years can go by with nothing to show for your trading discipline except a smaller account balance.

All this for an infrequent huge boost from a small percentage of outsized winning trades that come along just after you've given up thinking you'll ever have a winner again.  But you kept trading anyway because you like the pain right?

This profile of lots of smallish losers interspersed with a few massive winners is exactly what makes trend following so hard, and also makes it a successful strategy.  To ride big winning trades you need wide stops, way outside the daily noise, and outside the inevitable two or three ATR reversals that most good trends contain.

Wide stops means smaller positions (if you risk a similar amount on each trade). This means you are less prone to a huge hit from prices gapping straight through your stop.  It also means trend following is pretty boring as trading goes, so if you're in it for the excitement you won't last long either.

All in all, trend following can be a very lucrative and successful strategy but only if you're psychologically adapted to the pain it can inflict on the inexperienced trader.  There's no gain without pain, and trend following can be financial agony if you're not mentally prepared for it.

_______________________________________________________________________________________

 
 

Pairs Trading - Part 2

Paul King, June 7th 2007

In my previous blog entry I outlined briefly what pairs trading is.  In this blog entry I'm going to discuss some of the main assumptions that this trading method is based on so you can make a decision about whether it's a good idea or not for you.

Assumption 1

The correlation between the 2 instruments in a pair is permanent, stable, and long-term (at least for the life of your trade).

This is a big assumption.  Correlated price movement between 2 instruments is not predictable.  It could be due to random chance, it could be due to a fundamental reason that may change.  It could be a genuine correlation that will persist for the life of your pairs trade.  Beware choosing pairs that look like they are correlated but don't have a fundamental reason why they should be - it could just be random chance.

Assumption 2

Correlated pairs like the one described in assumption 1 exist.

If you cannot find liquid instruments that exhibit correlated behavior then this whole method cannot work.

Assumption 3

There are times when the spread between the 2 correlated pairs is "much larger than average" and represents a profit opportunity.

If the correlation between the pair is "too perfect" there will never be times when the spread is wide enough to give a decent profit by taking the trade.  This is a paradox of pairs trading - you need to find pairs that are closely correlated on a permanent basis, but not all the time!

Assumption 4

You are able to short the side of the pair that is going down.

Since a pairs trade is long one instrument and short the other, if you can't put on the short side of the trade then it's no use finding pairs.  This can be a particular problem for equity pairs trades where the short side of the trade is not available for borrowing from your broker, and does not have actively traded put options as an alternative.

Assumption 5

The pair does actually revert to the mean spread and you take your (small) profit. 

What if the "permanent" correlation between the two instruments has broken down and they will not "revert to the mean"?  You will have 2 positions that can both go against you.  Where do you admit that the trade is not working?  How much is the loss compared to the potential for profit?

Overall when one looks at the underlying assumptions of pairs trading it seems like a lot of things have to be true for it to work as a viable trading method.  Also with the small profit targets and tight stops the position-sizes tend to be very large in order to generate a decent return.  This can lead to a single large adverse event losing the equivalent of many, many, winning trades.

My advice would be to carefully evaluate the suitability of this method for your own trading purposes before risking any cash.

_______________________________________________________________________________________

 
 

Pairs Trading - Part 1

Paul King, June 1st 2007

Assumptions are a big part of trading and understanding what assumptions a particular trading method is based on is a key part of trading success.  Some trading methods assume (and attempt to benefit from) trends or momentum of price movement while others assume some kind of "mean reversion".  Understanding which camp your trading methods fall into is an important concept.

Pairs trading falls into the "mean reversion" camp.  Pairs traders follow the method outlined below:

1 Find two instruments that have a close correlation of price movement (i.e. they generally move up and down together).

2 Determine what the variability of the "spread" between the prices of the two instruments has been historically by either dividing the price of one by the other, or deducting the price of one from the other.

3 Identify when the spread is above average (i.e. the prices have moved wider apart than normal).

4 Go short the instrument that has moved up and long the instrument that has moved down.

5 Capture the profit when prices "revert to the mean" i.e. the spread returns to "normal".

There are a whole bunch of assumptions that underlie the success of this trading method and in my next blog entry I'll discuss them and give you my opinion on whether they are useful assumptions or not.

_______________________________________________________________________________________

 
 

The Four States of Trading

Paul King, May 23rd 2007
 
Trading is a bio-mechanical process.  You have a method which outlines your trading rules (even if they are random) which is the "mechanical" part, and you have the trader deciding whether to implement each rule which is the "bio" part.  This classification gives rise to the following 4 states your trading can be in:

1 - Unsound/incomplete method + Poor Discipline/Psychology = Failure

2 - Unsound method + Good Discipline = Failure

3 - Sound Method + Poor Discipline = Failure

4 - Sound Method + Good Discipline = Success

As we can see, without both a sound method and good discipline to implement it, trading cannot be successful.  Common reasons for an unsound method include:

  • Incomplete trading rules
  • Trading rules based on beliefs that are untrue or not useful
  • Over-complicated trading rules
  • Trading rules "curve-fit" to past data
  • Trading rules that take too much risk per trade

Common reasons for little trading discipline include:

  • Poorly defined objectives
  • The wrong reasons for trading leading to self-sabotage
  • Trading with "scared money"
  • Plain old laziness
  • Lack of education about markets, instruments, and trading in general
  • Not taking responsibility for mistakes

Putting this all together to create a complete and sound trading plan that meets your objectives and suits your personality is not something that most people find easy to achieve without expert help.  This is the primary reason for trading failure in my opinion and why finding someone who can help you before risking real cash is usually a good idea (in hindsight of course).

_______________________________________________________________________________________

 
 

Ringer Stocks

Paul King, May 15th 2007
 
Most people know that Lexus is owned by Toyota and that there are a lot of common parts including the chassis on some Lexus models.  Would you pay up for a Lexus if all they did was slap a different Logo on a Camry and hike up the price?  That's what you're doing if you buy "ringer stocks" as I call them.

So what is a "ringer stock"?  It's the financial world's equivalent of a beat up old Camry dressed up as a brand new Lexus.  All major exchanges have minimum listing guidelines for the price of a stock.  For example the price of a NASDAQ stock must stay above $1.  If it drops below $1 the company may be de-listed from the exchange and be relegated to the oblivion of the "over the counter pink sheet" market.

So, what should you do if your business is going nowhere, your stock price is sub-$1 and you're going to be de-listed?  Easy, slap on the Lexus badge and carry on like nothing happened.  How do you do this?  A reverse stock split and a name/ticker symbol change, that's how.  Everyone has heard of a stock split where you get, say, 2 shares for every one you currently own, and each one is worth half the price (like cutting a cake in two).  A reverse split is where you end up with less shares outstanding, and each one is "worth" more (like gluing the pieces of a cake back together).  A NASDAQ stock trading at 0.90c that does a 1 for 10 reverse split is suddenly trading at $9 per share and can avoid de-listing assuming the market capitalization is above $5 million.

The historical prices for the stock get adjusted for the split (i.e. multiplied by 10 in this case) and if you change the ticker symbol (and the company name for good measure) at the same time there's no way to even know that the split has taken place just by looking at a regular stock chart.  Hey presto, you look just like a Lexus rather than a beat up old Camry and the good old general public (who didn't see the reverse-split/name change news) are none the wiser.

Nice trick if you can pull it off.

_______________________________________________________________________________________
 
 

Product Review: A New Look at Exit Strategies from InvestorFLIX

Paul King, May 8th 2007
 
It is unusual in the trading business for someone to actually focus on the right things.  This DVD presented by Charles LeBeau is the exception to the rule and almost all the information presented here is "spot on".

Although the presentation is relatively old (Charles mentions that he uses TradeStation version 4.0 at one point) the content is timeless in that it discusses sound exit strategies and their importance in successful trading.

Charles covers why:

  • Exits determine the trade outcome
  • Exits influence position-sizing
  • Exits even affect the number of trades

Explanation of why exits are overlooked, difficult to implement, and are neglected by traders is also covered.  The actual information on the different types of exits and why you would use them is excellent.  Charles covers:

  • Chandelier Exits
  • Yo-yo exits
  • Channel Exits
  • Moving Average Exits

Emphasis on the importance of the Average True Range as a measure of volatility and how to define exits that adapt to changes in volatility is also discussed.

In a world where most trading material is about the next greatest entry technique, this presentation is a very refreshing change - I wish I had seen this much earlier in my trading career, but I probably would have ignored it as irrelevant anyway.

Read other InvestorFLIX product reviews here

Visit InvestorFLIX

_______________________________________________________________________________________
 
 

If optimization is the answer, what's the question?

Paul King, May 7th 2007

Optimization of your trading systems is a very tempting thing to do.  If there are enough degrees of freedom (parameters) in your trading system then lots of fiddling and testing different combinations of values for those parameters will yield virtually any results you are likely to want.  As long as you have enough historical data to test on, you can find an "effective" version of your trading system to trade it.
 
This approach is completely flawed by the simple fact that given enough data, and parameter settings, the results you observe are completely due to chance.  Randomness can observe very compelling patterns if you have enough data and enough tests.
 
So, is optimization useless?  In my opinion, no, but it is very dependent on a) the way you interpret your results and b) exactly what historical data you use and c) the degrees of freedom in your trading method.
 
I recommend taking historical testing results and simulating the variability of returns they could produce rather than simply taking the single equity curve generated as your answer to "what your trading method looks like".  Simply changing the ordering of the trades you get can significantly affect the equity curve produced.
 
Also, don't optimize on you whole data set and then expect the future to look like the past.  At the very least optimize on half of your data and then see how performance differs using the other half.  A better way would be to create synthetic data streams for your source data and apply your system to those rather than use the actual historical data.  This is beyond the scope of a simple blog.
 
Additionally, the fewer degrees of freedom your system has, the less prone it can be to curve fitting.  Most of my trading systems have very few (one or two) actual configurable parameters that can be optimized.
 
Lastly, remember that net ending equity is not the only characteristic of your trading system you can optimize for.  What about trade frequency, average winner size, average loser size, equity curve volatility, maximum drawdown?  These are all features of your trading system that may be as important to you as actual net return.
 
A sound trading idea does not have to be endlessly "tweaked" for optimum performance; it should work within your requirements for a large range of possible parameter values. 
 
_______________________________________________________________________________________
 
 

Tradecision Trading System Software

Paul King, April 30th 2007

Tradecision is a very comprehensive trading system design, testing, simulation, and execution software package that has more features than the average systematic trader will ever need. As with all trading software it's the things it can't do that are most revealing and the list for Tradecision is quite small and relatively insignificant.
 
What it can't do (not much)
 
  • It can't test a trading strategy on a variable list of symbols determined by a historical daily scan (but what trading system software can do this?)
  • It doesn't have global variables that are available in each section of the trading strategy so you would have to write a custom dynamic link library (DLL) to achieve this.
  • A running total account value is not available in the custom position sizing section so you can't program a percent-risk position-sizing model (although this feature I'm told will be available in future releases).
What it can do (a lot)
 
There are plenty of useful features in this software. As well as the standard charts (historical and real-time), indicators (very comprehensive), and alerts, there are a selection of major functional areas that are very useful for designing, testing, and executing automated trading systems. The main ones include:
  • Data Manager - quickly and easily retrieves historical data from multiple data vendors and timeframes.
  • Neat Scan - a filtering and scanning tool.
  • Strategy Builder - fully-functioned trading strategies defined using a programming language "Improvian".
  • Simulation - a comprehensive strategy back testing feature.
  • Execution - ability to automatically send strategy orders to Interactive Brokers.

As well as these major functional areas there are other tools to handle streaming versus real-time data, a neural network model, and facilities to call external code/programs using the dynamic link library (DLL) module.

There is also comprehensive online help and most features are accessed using "wizards" and structured dialogues rather than having to learn the programming language immediately.  This allows a novice user to utilize the built-in functions easily, but is also flexible enough for the advanced professional user.

Read the rest of the review here.

Visit Tradecision here.

_______________________________________________________________________________________
 
 

The Black Swan by Nassim Nicholas Taleb

Paul King, April 23rd 2007

The familiar bell curve, or Gaussian distribution that is the foundation of many economic, financial, statistical, and mathematical models in use today works perfectly for applications where huge outliers (far from average) events don't exist and each individual event has little effect on the overall average.

An example would be the distribution of heights for homo-sapiens.  One will get a lovely bell curve where many people cluster around the average height and proportionally less occurences of individuals as you move above (taller) or below (shorter) the average.  You will never suddenly come across someone of zero height or 20 feet tall.

Taleb goes into forceful, irreverent, and interesting detail to show that life just doesn't work like the standard models assume, and that it is basically very foolish to rely on them or anyone who makes predictions or manages risk using them.  It probably would have been even more interesting to see the "uncensored" manuscript before the publisher/editor made their changes.

This book does cover some of the same ideas as Taleb's previous (excellent) effort Fooled By Randomness.  It is probably due to the commercial success of that book which allowed Taleb the latitude to write The Black Swan without "pulling any punches" and articulate what he really thinks about the established academic, modeling and prediction businesses (especially in economics and finance).

A very interesting, entertaining, insulting (for various academics) and eye-opening read that should change the way you look at a bell curve, standard deviation, and any "expert" predictions in the future.

View the other non-trading books I recommend here.

_______________________________________________________________________________________
 
 

An (almost) 100% accurate forecast

Paul King, April 16th 2007 

If I was a meteorologist, people would definitely hate my weather forecast.  It would look something like this:
 
Weather today in Middlebury Vermont as of 8:54 AM EST is cloudy.  Rain so far today is 0.5 inches, snow or other precipitation is 0.25 inches.  Temperature is 25 degrees Fahrenheit.  Five day foreca