Skip to main content

Pair trading adventure I

It's been an exciting week doing more pair trading in the US stocks market and milking little gains from the market (I won't wear a bigger hat than my head even on margin). The most volatile counter played, no doubt, is Alibaba and I am out of it. Just look at the long long candle yesterday, woah.... Invincible, no other counter can be its pair now.

I know in one of my earlier posts I mentioned why I won't invest in oversea market - but now I ate my words? That is because three of the deterring factors are no longer bothering me (that much). First, the commission - my trade commissions for US stocks are lower than my buying of local stocks using Vickers. Second, custody fees - my position are not long term, so I am not sure how much custody fee would I be charged, however it is quite negligible (0.12% P.A). Third, foreign exchange spread - I am trading using account dominated in USD so I don't have to pay any fx spread for every trade executed (that's until when I need to withdraw the USD out to my local bank account).


My latest pair trade is on some pretty hot tech stocks. Shorted the one that was super over-valued but somehow market sentiment and TA would not succumb to FA's rationale, thus I got stopped out overnight and with 3 partial fills (dammit). The one I longed released good earnings so I have decided to just let it run till it exhausts its steam using a trailing stop loss.

The trailing stop loss function is really useful for overnight trades. It serves to lock in profit should the stock price decides to reverse course. In the worse case scenario, I will break even. The screenshot from SAXO below demonstrates how to set it up on an open position.

Right click on the open position and select 'Modify Related Orders'


In pair trading, the logic is that 2 stocks that are closely correlated in price movements would eventually 'close the gap' should they deviate from each other. So after opening a position, I just sit and watch the tug-o-war. However in my case here, both were on a short-term bull run. That over-valued stock, instead of closing the gap down, it moved further up yesterday. Oh well... a very good lesson learnt.

Top-most chart showing the price movements, bottom-most chart showing the 10-day correlation

Why I did choose pair trading out of all the strategies out there?

Because it can hedge my positions against the broad market movements (whether in up or down trend) should any unforeseen event happens. With the hedge and appropriate stop loss measures, I can allow myself a longer time frame of 1 to 2 weeks for a trade without having myself tied to the screen.


Is pair trading easy-peasy?

The concept of it is quite easy to understand but the whole trade set up takes much time and effort. The execution itself takes gut and discipline.

You will first need to spot 2 closely correlated stocks ,which are often in the same industry. They need to show enough volatility to make good profits yet not swing too wildly inter-days, and I prefer those that are more closely priced (for ease of sizing and profitability calculation). If a stock of interest has been swinging wildly inter-day, you might want to find out what caused it. Short squeeze is not fun. You will need to be alert to all recent news pertaining those stocks, including recent earnings, posted earnings, earning release date etc (the time consuming part). Where to put the stop losses and when to reap the profits are like art and science fit for a whole topic by themselves - I am still not learned enough to blog about them at this point.

I would say that trading requires a very different mind set from long-term investing. [Related post: First successful pair trade on SAXO]


"Pairs trading or pair trading is a long-short, ideally market-neutral strategy enabling traders to profit from transient discrepancies in relative value of close substitutes. Unlike in the case of classic arbitrage, in case of pairs trading, the law of one price cannot guarantee convergence of prices. This is especially true when the strategy is applied to individual stocks – these imperfect substitutes can in fact diverge indefinitely. In theory the long-short nature of the strategy should make it work regardless of the stock market direction. In practice, execution risk, persistent and large divergences, as well as a decline in volatility can make this strategy unprofitable for long periods of time (e.g. 2004-7). It belongs to wider categories of statistical arbitrage, convergence trading, and relative value strategies." Source

The main advantage of using pair trade is that we can set our stop loss points further away due to the theoretical reduction in risk from major price fluctuations as the positions are hedge for each other. 

So under what circumstances does pair trading fail?

Scenario 1

1. You opened both trades at the same time - one long, one short position.
2. The long position went down, the short position went up.
3. You got whip-saw stopped out. Case closed.


Scenario 2

1. You opened both trades at the same time - one long, one short position.
2. The long position gets profit stopped out.
3. The short position reversed course and went up (profit loss) before you could manually close it in time.
%@^&*#


Scenario 3

1. You opened both trades at the same time - one long, one short position.
2. After a week, the tug-o-war stayed the same. A perfect hedge.
3. Net loss from paying daily interest in CFD.


Here's some words of caution - quick gains are always tempting, but take only calculated risk.


***
Check out my Blog Archives here for previous posts

Comments

  1. Hi Rainbow Coin,

    I am using Vickers too.
    Does DBS Vickers allow us to short? and are you using their Multi-currency account with Vickers?

    Quite pleased as a customer with the whole DBS package :D
    Cheers.

    ReplyDelete
    Replies
    1. Hi Frowns88,

      DBS Vickers does not allow shorting because to my knowledge it does not offer CFD features (if they do, means I am not a sophisticated-enough investor to be able to access it). Currently, I am using SAXO.
      If you are interested to open an trading acct (they are running a very attractive referral promo now https://www.home.saxo/en-sg/accounts/referral), you could drop me a private message via 'Contact Me' at the right and we can split the referral fee.

      I have the DBS Multiplier acct but I think I cannot transfer USD to my Vickers cash upfront account, only allows SGD. :(

      Delete
  2. Hi,

    Okay, I may consider Saxo in the future and let you know.So far have not shorted any stocks.
    On the USD conversion and cash upfront, let me reply you on my blog since you have left a comment. :)

    ReplyDelete
  3. Rainbow girl,

    Ah! I see!

    For pairs trading, we normally enter BOTH pairs and exit BOTH pairs at the SAME time.

    No wonder you don't use OCO order types and can mix spot equities and CFDs orders at the same time ;)

    When one pair is stopped-out, you'll conitnue to let the other pair run if its in the money...

    What started out as a Pairs trade can morphed into a plain vanilla directional trade ;)

    Interesting.

    Hey! Whatever works and make money is boleh!

    ReplyDelete
    Replies
    1. Hi SMOL,

      Call me unorthodox. Haha!
      Yeah, 黑猫白猫,会捉老鼠就是好猫!(I am not talking about myself.) 😸

      Delete

Post a Comment

Popular posts from this blog

Reflections for year 2024

2024 has been a relatively peaceful year. So peaceful that I have read countless novels and other books, met my sports buddies almost every weekend and picked up horticulture. Physical and mental health As we say, health is wealth. I have stuck fairly consistently with my exercise regime and tried to include more fruits and vegetables in my meals (although I eat out more and cook less these days). My weight, BP and cholesterol levels are doing ok. For those 40 years and above, remember to get your  subsidized health screenings from the government . Working less and meeting up with friends more contributed to an improved mental health. I see that the government has stepped up on initiatives in the community but work place initiatives from employers still seemed lackluster, especially for those who can't WFH and need to commit 44 hours or more a week at frontline work. I have also started a Gratitude journey to celebrate all my little life milestones. Financials Investment wise ...

Shit happens and I lost my low-hanging fruits

My SAYE account has just hit its 25th month anniversary which is also the "month of maturity". Anticipating to get the 3.5% bonus interest for all these months of saving, I was shocked to see only $17+ cash gift credited as opposed to a few hundred dollars. I was about to send a message to query the bank what caused this interest plummet versus what I got in the 13th month when I came across a debit transaction in my account history (GASP!). To my oblivion and horror, I have accidentally selected my SAYE account to transfer $50 to a joint account to foot some bill in one of the months last year. Here's the terms and conditions for those who are not familiar with the SAYE account of POSB. "To receive the additional 3.5% p.a. Cash Gift Interest, ensure that you do not make any withdrawal from your POSB SAYE account." "If a withdrawal is made in the month, this will result in the previously accumulated additional 3.5% p.a. interest to be forfeited." Damn....

The best credit card for my house reno & prep

As updated in my previous post, I have finally bought my own place solo. For the past few months I have been busy coordinating with various contractors and vendors for my house renovation. As I am still on flexi work schedule, I decided to be my own ID. With only a simple renovation in mind, I set my reno budget as 20k (aircon & fixtures inclusive). The renovation process and acting as my own ID were not as easy as I thought. It took me about a month to gather and compare quotations from different contractors and another few weeks to finalize all the things that I need my chosen contractor to do. I eventually settled for a main contractor who specializes in carpentry work but also provides painting, tiling and electrical services. I have grossly underestimated the amount of defects that need fixing for this resale flat. Fortunately, the floor tiles and some of the existing built-ins are still in good condition so I kept them, otherwise I would have burst my budget. The first issue ...