Pair Trading

Discussion in 'Advanced Trading Strategies' started by Big Short, Mar 7, 2015.

Tags:
  1. Riskyman

    Riskyman Well-Known Member

    Joined:
    Feb 13, 2013
    Messages:
    2,212
    Likes Received:
    4,144
    Trophy Points:
    113
    Thats the problem!. A lot of times price does not act like we want it to. A few days ago, I took a very short term trade and my calculations said the pair on a certain time frame should revert to mean in less than 4 trading days. Ended up coming together on the 8th day. The 4th month long wait i mentioned was meant to be a positional trade that ideally should have fructified in about 30 trading days.

    Take a look at Ranbaxy and Sun pharma. They dont really offer much of a trade on daily TF. But on small time frames like 10-30 min charts you can find prices tend to sway. The beauty of this pair is when you find a trade, you can always make money.

    Another question out of curiosity... Do you trade pair with stop losses?
    When im pair trading, I dont usually have stops, even mental. I just make sure I have enough margin and when i see some MTM losses on the board, I just swallow hard and sit tight. Mostly, they end up being profitable eventually.
     
  2. Riskyman

    Riskyman Well-Known Member

    Joined:
    Feb 13, 2013
    Messages:
    2,212
    Likes Received:
    4,144
    Trophy Points:
    113
    Big Short,

    My life is all about travelling this beautiful world, meeting people and experiencing life the way its meant to be. As I get older (not old :D) I want to do more of these fulfilling things than be seated in front of a computer for 8 hours. Pair trading is a great way to make money and it doesnt even require you to monitor the pair every few minutes. Some day I plan to put an algo together. The machine can take entries/exits and churn some cash while I go chasing pretty gals.

    Until then Ill live on this forum and chew some brains:thumb:
     
    rajesh0000 likes this.
  3. ethan hunt

    ethan hunt Well-Known Member

    Joined:
    Jan 24, 2012
    Messages:
    739
    Likes Received:
    386
    Trophy Points:
    63
    Which software / utility do you use to run co-integartion for several stocks in one go ?
     
    pankajpari and mastermind007 like this.
  4. Big Short

    Big Short Active Member

    Joined:
    Dec 15, 2012
    Messages:
    297
    Likes Received:
    126
    Trophy Points:
    43
    Ok, So the first thing anyone will tell us if we are TRADING ( not investing ) is to have our Stop Losses Defined. But when we are doing mean reversion trading we cant really have stop losses, cause we cant predict how much a pair will deviate from its mean before reverting to the mean.

    In my initial years , i used to do pair trading without any stop losses. So whenever a pair used to undergo a structural break like i mentioned, it would result in huge MTM losses and half the time it would not revert back to its mean. Since then i have tweaked my system so as to trade it with Stop Losses.

    Now , out of the four types of signals i mentioned in the earlier post, i use stop loss in 3 of them. In 2 of the signals the stop loss is in terms of price i.e. if the spread or ratio goes beyond a certain point we exit it. In 1 of the signal the stop loss is in terms of the holding period e.g if the pair is expected to revert/converge in 2 days and it does not , we get out.

    The only trade in which i dont keep a stop loss is a positional trade. Hope that answers your query :)
     
  5. Big Short

    Big Short Active Member

    Joined:
    Dec 15, 2012
    Messages:
    297
    Likes Received:
    126
    Trophy Points:
    43
    Although there are softwares available which will let you run co-integration test on multiple stocks in a single go, most of them are paid.

    I basically use an excel model which calculates it but you can only run it on one pair i.e 2 stocks at a time. It is available for free and if you want i can give you the link for it, if its not an infraction of the rules of this forum.

    But as i said, its more of a hindrance rather than help. :)
     
    pankajpari, mastermind007 and ybha like this.
  6. mastermind007

    mastermind007 Well-Known Member

    Joined:
    Dec 17, 2011
    Messages:
    2,336
    Likes Received:
    2,293
    Trophy Points:
    113
    Hi Big Short

    Yes you can post links ... Usual convention is to upload it on some file sharing site (mediafire, google docs, etc etc ) and then paste the URL here
     
    pankajpari and ybha like this.

  7. Big Short

    Big Short Active Member

    Joined:
    Dec 15, 2012
    Messages:
    297
    Likes Received:
    126
    Trophy Points:
    43
    One of the most important thing while doing pair trading is Capital Requirement. You cant do pair trade with 1-2 Lac INR. So for those of who to whom this system appeals, please only begin trading with a large Capital. I know, i know, it goes against the convention knowledge of trying out new strategies with less money, but in this trading system you need ample liquidity. Ideally a capital of INR 10 Lacs + INR 5 Lacs for drawdowns is sufficient to start with and generate substantial returns in absolute terms.

    Money management plays an important part as we will be running multiple positions and multiple trades at the same time. Lack of money management led me to liquidate my positions in loss many a times during the testing phase.
     
  8. Somatung

    Somatung Banned

    Joined:
    Dec 10, 2013
    Messages:
    3,146
    Likes Received:
    8,393
    Trophy Points:
    113
    @Big Short

    First: Is there any thing you can tell the forum which we do not know already? I have gone through your thread in which you even tell people that you will answer certain questions after your meal and even five days later there is no answer to the question. Just one example. Kindly correct me if I missed it.

    Second: Are you further planing to move on with your thread in this way or are you able to post real posts about pair trading like posting charts, statistics and so on to educate people here or what is your main plan to move on with your only "Already known words post" for the coming future?

    Kindly wait for your most interesting and most educational post you will do next. :thumb:
     
    ybha likes this.
  9. Big Short

    Big Short Active Member

    Joined:
    Dec 15, 2012
    Messages:
    297
    Likes Received:
    126
    Trophy Points:
    43

    The purpose of this forum is for the people to get their questions answered on pair trading and as my journal for the pair trades.

    Someone asked a question, i answered it. Read the posts, i explained why i follow somethings or use certain things and more importantly, why i do it in the model. Then we discussed on certain aspects like co-integration and stop losses. Do i have to summarize it more to you? Someone asked, i replied. Dont read it if you already know it.

    I could have vaguely answered his question regarding "buying/selling nifty or banknifty" but i thought it better to have certain discussions, establish how i am doing it so that the flow of information is better and more efficient.


    Regarding your second part, I was contemplating on how to move about it. Because anyone can look at historical data and say this should have been bought or sold. So past Trades dont matter. I might be a bit busy till march ending, however i ll try to post something which matches your expected level of information soon.
     
  10. sahilmcx

    sahilmcx New Member

    Joined:
    Mar 10, 2015
    Messages:
    4
    Likes Received:
    0
    Trophy Points:
    1
    plz help me out to do pair trade
     
Loading...

Share This Page