A temporal sequence of events measured at discrete points in time.

learn more… | top users | synonyms

2
votes
0answers
26 views

Thesis using Momentum strategies in R, tips on good books, guidelines etc on how to do the programming?

I am quite new to R and will be doing an empirical analysis of momentum strategies in R using a dataset from the index OSEAX from 1980 to 2014. The momentum strategy will for the most part resemble ...
2
votes
1answer
44 views

Up and Down days in GBPUSD and a Filter

I want to study if the odds of an up or down day in a forex pairs is 50-50. I just count the total number of up and down days in X years and compare it with the total days. The results are very ...
2
votes
2answers
123 views

Relationships between white noise and random walk

I would like to ask 5 questions about relations between these processes. 1) Could white noise be also a random walk? 2) Could random walk be also a white noise? 3) Could white noise be stationary? ...
1
vote
0answers
23 views

Specifying integration level of time series [on hold]

Following model was estimated on 200 observations. How to specify the level of integration of $X_t?$ In brackets there are standard errors and p-value of Breusch-Godfrey test is also shown. ...
3
votes
1answer
128 views

Measuring momentum as AR(1) process

I would like to measure the momentum in the price of a stock from the time the market opens until the time I trade each day. I want to use this momentum number in post-trade analysis (regression of ...
1
vote
1answer
51 views

what are the criteria to select pairs?

I'm new to this forum, this is the first question I posted. I have many candidate pairs and I've used ADF test to make a first selection. There are more than 800 selected. The pairs are absolutely too ...
0
votes
0answers
25 views

2-step estimation of DCC GARCH model in Python

Embedded in this thread are multiple questions. I'm currently im the process of implementing a DCC GARCH forecast model on quantopian (a python-powered trading platform). The two step consists of ...
0
votes
1answer
48 views

Does it make sense to interpret autocorrelation and box test on 5 data points?

I am trying to see if after I trade a stock the price movements at 2, 5, 7, 10, 30 and 60 seconds after exhibit any autocorrelation. Below I have the returns from my trade price to the trade 2,5,7,10 ...
23
votes
7answers
2k views

Is R being replaced by Python at quant desks?

I know the title sounds a little extreme but I wonder whether R is phased out by a lot of quant desks at sell side banks as well as hedge funds in favor of Python. I get the impression that with ...
0
votes
0answers
16 views

Return.portfolio error from PerformanceAnalytics package

When using the PerformanceAnalytics package of R, I am getting an error from the Return.portfolio function whenever I ask it to rebalance_on any frequency. If the rebalance parameter is removed, the ...
0
votes
0answers
29 views

What machine learning method can detect serial correlation and more? [migrated]

I have a simple problem I would like to see what advantage can certain machine learning methods provide over traditional methods. Below a simply regression that has statistical significance. X(t) = a ...
0
votes
0answers
88 views

predict next day's close price using hmm

I am reading this paper(Stock market forecasting using hidden Markov model: a new approach) and get confused about how they predict the next day's close price. Below is what the authors say about how ...
8
votes
2answers
366 views

GARCH model, expectation of volatility?

Consider a time series $\{r_t\}$ following a standard GARCH(1,1) model, i.e., $$ r_t = \sigma_t \epsilon_t,$$ where $\epsilon_t \sim N(0,1)$ and are i.i.d, and $$\sigma_t^2 = \omega + \alpha_1 ...
0
votes
2answers
142 views

Calculate the realised volatility from a time series

Does anybody know how to calculate the realised volatility from a series for a certain time frame? For example, I am looking at 5 days, 21 days, 63 days, 126 days and 253 days. thanks
4
votes
2answers
129 views

Value at Risk for Futures Contracts

I would like to know how you would compute Value at Risk on a portfolio of futures i.e rates futures, commodity futures and equity. How do you deal with the discontinuous form of commodity futures for ...
3
votes
4answers
156 views

Unsmoothing of returns

The following problem arises in the context of private equity, which typically report "smoothed" returns (think of it as a moving average). As you can imagine, "smoothed" returns would have a much ...
0
votes
1answer
27 views

compute technical indicators from candle data

i have a rookie question but can't find the answer anywhere so..what is the right way to compute a simple moving average when you have an array of (open,close,low,high) tuples ? From what i saw so ...
24
votes
4answers
6k views

What is a stationary process?

How do you explain what a stationary process is? In the first place, what is meant by process, and then what does the process have to be like so it can be called stationary?
0
votes
1answer
50 views

FORECASTING Model AR(1) in an Autoregressive Form The Pi´s Parameters

Ive been implementing a little exercise to obtain the first 2 forecasting points of an AR(1) process. And i want to have the forecasting ponts using the three forms: Im folowing this pdf ...
0
votes
1answer
66 views

Garch models and assumption of stationarity ?

I found big inconsistency in the GARCH models and their underlying assumption of stationarity. GARCH models require that data must be stationary, where stationary means both mean and variance are ...
5
votes
3answers
298 views

How is stock data objectively different to this random walk?

I have a random walk that is generated as so using python, numpy, and matplotlib ...
5
votes
2answers
180 views

Is there any research on pyramiding techniques of entering/exiting a trend?

I am looking for any research about optimal strategies for gradually building (scaling in) positions inside a trend as well as optimal gradual exit strategies on pullbacks/reversals to minimise ...
4
votes
0answers
123 views

Markov-Switching Multifractal and FX Rates

Is there a better model than Markov-Switching Multifractal (MSM) for detecting regime shifts in FX rates across multiple time horizons? I am especially interested in the different aspects of the ...
1
vote
0answers
38 views

Identifiability of a state space model (Dynamic Linear Model)

Take a general linear Gaussian state space model (SSM)(aka Dynamic Linear Model DLM): $X_{t+1}=FX_t + V_t$ $Y=HX_t+W_t$ $V_t \sim N(0,Q)$ $W_t \sim N(0,R)$ I am interested in the ...
0
votes
0answers
35 views

How to construct a cointegrating vector using more than 2 price series in R?

I use now this code from hier Why does the following data fail my cointegration test? with slightly modification of possibility to load something directly from Dropbox file storage . ...
1
vote
1answer
67 views

Estimating correlation using EWMA

I am using an EWMA model to evaluate the correlation between yearly time series. I know Riskmetrics uses $\lambda=0.94$ for daily data and $\lambda=0.97$ for monthly data. Is there a value ...
2
votes
1answer
66 views

Applying Time Delay Neural Network to financial events

I have an IT background and I would like to use data from a forex calendar like this one to predict prices. The problem is that calendar news impacts can last for days or weeks or even can effect ...
2
votes
1answer
82 views

What is the best data structure/implementation for representing a time series in C#?

I'm looking for a tick by tick high performance container. So far I've been using List where Tick is a simple struct with a DateTime and double field. I'm using Linq for date lookups but it's ...
1
vote
2answers
176 views

Speed of mean reversion of an interest rate model

I would like to have a bit more of intuition about the concept of "speed of mean reversion" for an interest rate model, e.g. Vasicek or CIR. In particular, is a negative speed of mean reversion ...
4
votes
2answers
124 views

Interpretation of Correlation

I have two geometric Brownian motions (GBMs) driven by the same underlying Brownin motion, namely \begin{align*} S_t^1 = S_0^1\exp\left(\left(\mu_1 - \frac{\sigma_1^2}{2}\right)t + \sigma_1 ...
0
votes
1answer
59 views

Accuracy of GARCH& ARCH forecast

I'm learing ARCH&GARCH model. I have four questions that I don't know the answers 1st: ARCH & GARCH are often used to evaluate equities. Does it mean that ARCH and GARCH are fitter for high ...
3
votes
2answers
81 views

Does heteroskedasticity of returns depend on the time frame?

Similarly to my last question, for which I obtained very interesting and useful answers, I would like to know if there has been any study regarding heteroskedasticity and time-frames of the returns. ...
1
vote
2answers
114 views

Extracting Signal from Noisy Data

Consider a scenario in which Y_t represents the % change in price and we want to use X_t to predict Y_t. We assume that X_t is information we get before Y_t is revealed. Suppose that in reality Y_t ...
4
votes
2answers
118 views

Is there a relation between these two forecasting/estimation approaches?

When learning econometrics I have usually seen stuff from the following perspective: Assume $Y_t = f(X_t) + e_t$, where f is some function of $X_t$ (typically linear). For example, assume $Y_t = X_t ...
10
votes
4answers
4k views

R: Fast and efficient way of running a multivariate regression across a (really) large panel (First pass of Fama MacBeth)

I am attempting to run a rolling multivariate regression (14 explanatory variables) across a panel of 5000 stocks: For each of the 5000 stocks, I run 284 regressions (by rolling over my sample ...
1
vote
2answers
209 views

Bloomberg tick data timezone offset

I am using python to access the Bloomberg Desktop API and am running into issues with the timezone conversion for their tick data. The data they deliver is supposed to be UTC but there is something ...
7
votes
1answer
274 views

Time series analysis on illiquid price data?

Say for example I have the following company in some specialized industry: A - Company that is about to be listed in Exchange 1, i.e., no price history B - Company that produce similar products as ...
0
votes
0answers
25 views

johansen cointegration test eviews interpreation

I am not sure whether i am interpreting the cointegration test correct. This is the test result : Because of the probability of the test i understand that my series are cointegrated of order 2. ...
1
vote
1answer
53 views

Cointegration tests: how do you accurately test the necessity of time trends in the Johansen and Engle-Granger Test?

Is there a correct and up to date procedure? I just run the equation in VEC form and test the significance of the time trends? What are the possible problems that I should be aware of?
0
votes
0answers
81 views

High frequency price forecast model ARMA GARCH or another?

Can you reccomend model for high frequency data (1 second and less) (returns and volatility forecasting)? Most papers use ARMA, GARCH etc in 1 minute and lower time frame. PROBLEM ARMA does not know ...
45
votes
7answers
15k views

Efficiently storing real-time intraday data in an application agnostic way

What would be the best approach to handle real-time intraday data storage? For personal research I've always imported from flat files only into memory (historical EOD), so I don't have much ...
1
vote
1answer
169 views

Machine learning to build top 3 price scenarios over n days

I have a time series of closing prices for a given stock. I would like to formulate possible future scenarios for the price. My intention is not to use these "likely" scenarios to take any position. ...
0
votes
0answers
46 views

Regressing NYSE returns: Lagged intercept term & efficient market hypothesis

By performing the following OLS time series regression, $y_t$ = $\beta_0$ + $\beta_1$*$y_{t-1}$ + $\beta_0$*$y_{t-1}^2$ + $\epsilon$ I cannot reject the null hypothesis that b1=b2=0. However, ...
0
votes
0answers
62 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 ...
1
vote
1answer
59 views

remove seasonality in future contracts

very new to commodities. I have raw agriculture future data, and I need to remove the seasonality (de-seasonalize) from the data, what is the general approach ? Thanks for the help!
8
votes
0answers
441 views

Alternative ways to understand time-varying comovement between two time-series?

I have been looking into ways to better understand how the dependencies/correlations/etc between two time series can vary over time. I first thought about using a Kalman/particle filter over a ...
6
votes
4answers
506 views

Is a stationary process necessarily mean-reverting?

Intuitively, a stationary stochastic process needs to be mean-reverting. This should follow immediately from the definition of stationarity: the mean of the process needs to be constant over time, so ...
0
votes
0answers
59 views

variance ratio for pair-trading

I am using the variance ratio test to check whether my sequence is mean reverting in that test there is a parameter n, How in general I choose this n? or what is the meaning of this parameter? ...
1
vote
0answers
52 views

Modelling turnovers with a random walk. Is it right?

I need to analyse a bunch of weekly time series that reflect the turnovers of various companies. I already read that return rates or share prices show stochastic patterns that can be modelled by a ...
0
votes
4answers
318 views

Intermarket analysis - related time series?

I'm about to embark on training a neural network on daily forex data, with a view to obtaining a predictive network. I'm also interested in using data other than the forex currency pair data itself, ...