Questions tagged [cointegration]

Cointegration is often used in statistical abitrage as a way to identify how to combine some tradable instrument to obtain a *mean reverting* one.

27 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
5
votes
2answers
398 views

Cointegration and Ratio Pair Trading

I'm having some confusion doing Engle-Granger Cointegration test and then trade the ratio. Methodology: Run an OLS fit for A and B price time series without a constant. Therefore, $\hat{Y} = \gamma \...
3
votes
0answers
60 views

Law of one Price and Cointegration relationship

I have a question on the relationship between the law of one price and cointegration of (financial) time series. To set things clear I start with something simple: Suppose there is an unobserved "...
3
votes
0answers
119 views

What is the logic of the eigenvectors of the Johanson cointegration test determining hedge ratios?

Reading Algorithmic Trading: Winning Strategies and Their Rationale, Ernie Chan and there is a short section about the Johanson test for cointegration where it is mentioned that the eigenvectors ...
3
votes
0answers
212 views

Assets cointegration: optimal inventory for futures market

I'm interested in HFT cointegration stratagies, and recently found interesting article "Algorithmic Trading of Co-Integrated Assets" The article describes mean-reversion strategy for N-assets. ...
3
votes
0answers
1k views

Philips-Ouliaris test for cointegration

I'm trying to implement cointegration tests using the R urca package. I've figured out the Johansen test (ca.jo), but I'm having trouble with the Philips-Ouliaris test (ca.po). I have two questions: ...
2
votes
0answers
34 views

Cointegration between prices and dividends. How do I get the following expression?

Actually, I have two questions: 1. Let us assume that expected returns are constant. Then, we have the following expression for how the prices should be determined, provided that the operators are ...
2
votes
0answers
59 views

Spurious regression between two futures with the same underlying highly correlated (cor=0.9)

analyzing the correlation between soybean and soybean meal futures in ECBOT, and making a linear regression in R between them I check with an ADF Test that the residuals are not stationary, so ...
2
votes
0answers
366 views

cointegration strategy

If it can be proved that two time series $$S_t^1=\alpha + \beta S_t^2 + \xi_t$$ representing stocks are correlated, with $\beta=-2$ and then are proved to be cointegrated, how a portfolio should be ...
2
votes
0answers
499 views

Johansen cointegration test interpretation in R

I want to test my time series for cointegration using the Johansen test in R. I got the following result and so I know now that at least 5 out of 9 of my time series are cointegrated. My question is, ...
2
votes
0answers
374 views

pairs trading or long short strategy given volatility of the stocks

Suppose I have 2 stocks and the only thing I know about them is their volatility and that they cointegrate. Let's say vol of stock A is 25% and B is 20%. Will I be able to find a hedge ratio only ...
2
votes
0answers
309 views

Modelling long run relationship between dividend and earnings

I am working on a paper where I have to model the long run relationship between earnings and dividends. I have downloaded the raw data from shillers website. I have converted the series to log(...
1
vote
0answers
81 views

Spot trading: exact mathematical definition of the positions for a portfolio

Let us say that I want to spot trade a portfolio constituted of a pair of two stocks of respective prices (for example in USD) $S^1_t$ and $S^2_t$, and suppose for example that they co-integrate ...
1
vote
0answers
40 views

Fractional cointegration in R

I'm looking for a package (or some code that anyone has written) that will help me to estimate a VECM for fractionally cointegrated series. I.e. like the ca.jo ...
1
vote
0answers
107 views

Pairs trading strategy: Portfolio returns and NAV

Currently trying a pairs trading approach using cointegration. Tried both formations: $$log(P_t^A)=log(P_t^B) \hat{\gamma}+\hat{\mu}+\epsilon_t \hspace{0.5cm} (1)$$ $$P_t^A=P_t^B \hat{\gamma}+\hat{\...
1
vote
0answers
36 views

Johansen Cointegration Test in R

I know its probably been asked bevor but i just don't get it. I have 2 values (Oil and corn price) and i want to check if they are cointegrated. Bevor that, i have tested if they really are non ...
1
vote
0answers
77 views

Cointegration between daily time series and intraday time series

I am working with time series data of daily prices, and intraday prices. For simplicity sake I will refer to the daily time series as 'A' and 'B', and the intraday time series of the same instruments ...
1
vote
0answers
49 views

Is my coding for my kalman filter off when testing this specific set of pairs?

My kalman filter seems to be off for this specific set of pairs I'm looking at. As you can see, in the kalman filtered linear regression, there seems to be an outlying blue line nowhere near the data ...
1
vote
2answers
103 views

When constructing a cointegrating series, does choosing the linear regression with the lowest ADF test statistic yield the optimal hedging ratio?

Multiple sources say that you should find the optimal hedging ratio between two stocks in a pairs trade by conducting 2 linear regressions (with each stock as the independent variable), and using ...
1
vote
0answers
256 views

Cointegration and pairs trading

I have intuition that cointegration between elements of pair of equities somehow contradicts pairs trading strategies. Because the better is linear fit of the model the less opportunities we have for ...
1
vote
0answers
91 views

how to mix trading signals for the same product?

I have multiple trading signals developed using cointegration on the same stock using various correlated assets. Is there a mathematical way to combine them to achieve better entry/exit points and ...
1
vote
0answers
437 views

Cointegration for forex using ARMA model to forecast the spread

I am working on an automatized quantitative strategy that use cointegration in Forex. I am backtesting this strategy in Python. Please see below the python file: https://drive.google.com/file/d/...
1
vote
0answers
95 views

Problem with overlapping data when testing futures market efficiency

In my case non-overlapping data would represent the scenario where futures prices (3 months) do not correspond to the futures spot prices in terms of delivery date. For example, futures settlement ...
1
vote
0answers
94 views

Estimating Daily Dynamics using Hourly Data

This article gives a nice outline of how daily data can be used to estimate cointegration on a monthly horizon. http://papers.ssrn.com/sol3/papers.cfm?abstract_id=1404905 I'd like to use the same ...
1
vote
0answers
100 views

Cointegration and variance of time series

Given that $X_t , Y_t$ are two cointegrated random processes, what can we say about the relationship between variance of the two increments $var(X_{t+h}-X_t)$ , $var(Y_{t+h}-Y_t)$ for a given $h>0$...
1
vote
0answers
966 views

Cointegration Test: Residual is stationary but not random?

I am testing cointegration relationship on various pairs of stocks by this following these steps. Test for I(1) on a pair of stocks, says X and Y, using Dickey-Fuller test. If both time series are ...
0
votes
2answers
347 views
-1
votes
1answer
615 views

pair trading cointegration - calculating shares quantities traded, portfolio value and returns

I have a trading strategy based on the cointegration of X and Y where beta derived from the regression is 0.7. My initial capital to invest is 1000. My understanding that the quantities of X and Y to ...