Questions tagged [rolling]

The tag has no usage guidance.

7 questions with no upvoted or accepted answers
Filter by
Sorted by
Tagged with
3
votes
0answers
231 views

Does the Shannon entropy of stock returns change over time?

Shannon entropy, $H(X) = -\sum_{i=1}^n p(x) \ln p(x)$ is a probabilistic measure of randomness or disorder within a random variable's probability distribution or histogram. If we take rolling window ...
0
votes
1answer
57 views

Rolling Calculation of Slope in Python

I am trying to calculate Slope for the rolling window of 5 and 20 periods and append it to the existing data frame. The length of the total dataset would be let's say 30 days. I have two columns "...
0
votes
2answers
116 views

Estimating distribution of rate of return

Let $f[t]$ be the price of a stock at time $t$. We can calculate the rolling rate of return of the stock in a window of length $n$ by computing: $$r[t] = \frac{f[t] - f[t-n]}{f[t-n]}$$ $r[t]$ is ...
0
votes
0answers
64 views

FX rollover tomorrow next and spot next

One traded a fx spot position on day T (say T+2 settlement). If he wants to roll the fx spot on day T, he will use SPOT/NEXT. If he wants to roll the fx spot on day T+1, he will use TOM/NEXT. Is this ...
0
votes
0answers
90 views

Volatility of multimodal distribution of returns

Take $x_1, x_2, \ldots, x_T$ to be the price of a stock, indexed by $t=1, 2, \ldots, T$. Define rate of return at time $t>W$ for a window size of $W$ to be $$r_t = \frac{x_t - x_{t-W}}{x_{t-W}}$$ ...
0
votes
0answers
62 views

Rolling Hedge Performance

So I have Time Series data for Gas Spot and Futures Prices (first 6 front quarters and first 3 front years) from 2009-2019 and I want to evaluate the performance of a 3- year static hedge vs. 3- year ...
0
votes
0answers
160 views

Correct way to calculate the S&P500 average CAGR of earnings over 10 years rolling periods

Let's say we have only the following data for the earnings (e) and we calculated for each 10 years period the total earnings growth (G) and its Compounded Annual Growth Rate (AG) \begin{equation} \\...