# All Questions

60 views

### Where and how can I get FX intraday data for use it in R?

I need FX data (the most accurate possible) for use in R. Right now I have developed a script in Java to download the CSV file (from Oanda) and use this file to read it in R, but I think that is a ...
51 views

### How do I get Value-at-Risk for a GED distribution in R?

I need to calculate parametric Value-at-Risk using a GARCH model assuming a GED distribution. How can calculate it in R? thank you
75 views

27 views

### What I find if I bootstrap a binary logistic regression?

I want to describe the direction of some stock returns, using as predictors several independent variables which are uncorrelated. The relation in which I am interested is between the stock returns and ...
61 views

### Which value to use as shape parameter for Black-Scholes lognormal distribution?

When working with Scipy, lognomal distribution is defined by 3 parameters: the median (loc), the scale (standard deviation or, in our case, the implied volatility) and the shape parameter. But, which ...
27 views

### Are Morningstar performance prices split & dividend adjusted?

I was looking at the close prices of Morningstar and I could not figure out whether they are split and dividend adjusted or just split adjusted. Example : http://performance.morningstar.com/stock/...
19 views

### Does the FF 3-Factor model work with unadjusted prices?

I am trying to investigate some trading strategies based on the Fama French 3-factor model, for which I assumed I need to use adjusted prices to account for dividends and splits. However, my ...
18 views

### How to attribute the PL dollar impact of change in basis for cross currency basis swaps

I have a portfolio of foreign bonds that were hedged using fixed to floating interest rate swaps and then converted back to domestic currency via cross currency basis swaps. How do I calculate the P&...
54 views

### Parametric bootstrap in generating returns and hypothesis testing

I am trying to test a hypothesis of a statistic calculated from portfolio returns. To do so I estimate a model on the original returns series and want to obtain 100 bootstrapped series using ...
402 views

### How to optimize return in a moving average crossover algorithm

Moving average crossover strategy is a widely used strategy in algo trading. Is there a way to optimize return in a moving average crossover stratergy. I have used this site to backtest MA crossover ...
62 views

### Where to find E-mini S&P options price data or chart?

ES futures price data is easy to find, e.g. on Yahoo finance or with a free NinjaTrader demo account. I'm looking for the same for options on that futures contract. The best I could find is the ...
149 views

### Normalizing SPY ETF time series data with its sector ETFs?

I am looking to compare the returns of a sector rotation strategy between the various SPDR sector ETFs XLY, XLP, XLE, XLF, XLV, XLI, XLB, XLK, XLU vs. ...
99 views

### Derive an expression for the value of the asset as a function of time, V(t), t>=0

An investor deposits USD 300 in a bank account at time 0, reinvests all interest payments and continuously invests USD 300 per annum, until the total value of the deposits reaches USD 3312. At that ...
25 views

### Embedding the naive portfolio into economic decision theory

I am trying to gain some insights about the vast literature of portfolio optimization and I hope to get some help when it comes to embed the most standard allocation strategies into a coherent ...
75 views

### Strategies on steepen yield curve

Believe that the yield curve is going to steepen very soon. It may be fall in short-term rates, a rise in long-term rates, or some combination of these. What strategy should we pursue in the bond ...
61 views

### Expected returns vs expected prices?

This may be the most stupid question ever asked here, so sorry in advance for asking it. Suppose we have a single period security which gives dividend $D_{t+1}$ and has current price $P_t$. By ...
74 views

### To calculate shift in the shifted lognormal model

I tried to calculate the shift for CHF interest rates (tenors with negative rates) using MLE, but as the shift is increased the MLE value increases(or decreases depending on whether positive or ...
89 views

### Using Market Gamma to Predict FX Trading Environments

I want to test a hypothesis about using gamma to predict FX movements. Suppose that market makers will seek to be delta neutral given their portfolio of FX options. At any given time, market makers ...
11 views

If you were to Backtest data extracted from video feeds, let's say for commodities. How many years/hours of video would you desire? The video repository is currently harvested going back 5 years and ...
220 views

### Implications of shifting the lognormal model for forward rates from a probability perspective

I have a question regarding the application of a shift to the Black-Scholes formula for negative forward rates. I am reading in the Brigo book that "increasing the shift $\alpha$ shifts the ...
56 views

### Events effect on intraday volatility and large outliers

I have an event that takes place over a period of a few days, and I want to estimate the effect it has on market volatility using intraday data with one minute frequency. The problem is, that e.g. ...
29 views

23 views

### find the qth lower tail quantile

I have daily currency returns. For each month, I have to find the return associated to the 5% lower tail quantile for each currency (the lowest return or the second lowest return). Could you please ...
61 views

### Difference in Volatility Calculation from RiskMetrics 1996 to RiskMetrics 2006 VaR

In the original legacy RiskMetrics documentation from 1996, volatility is calculated using a simple exponentially weighted moving average with some decay factor to determine the weights. This would be ...
18 views

### why do we use greater than or equal to for submartingale?

I've just learned about martingale, but i could not find any reason that we use greater than or equal to sign when we define submartingale. In stead of using greater than or equal to symbol, can't we ...
329 views

### Why does the price of a convertible bond go up if the CDS spread goes up?

Looking at convertible bond prices in a commercial pricing tool, which is based on a model of Black-Scholes volatility plus a Poisson process of jump to default, I noticed that increasing the spread ...
121 views

### Simulating returns from ARMA(1,0)-GARCH(1,1) model

I want to obtain a simulation of one-step ahead forecasts of stock returns process governed by ARMA(1,0)-GARCH(1,1) process. The returns are of form: $x_t = \mu + \delta x_{t-1} + \sigma_t z_t$ From ...
38 views

### Inverse Smile Volatility Ibex35

I was analysing ibex implied volatility and when I draw it I found it was reversed: X axis are the strikes and Y axis implied volatilities calculated by BS. The blue line is the spot price. Data (...
301 views

### Does Matlab support exogenous variables in GARCH models?

Is it possible to introduce dummy variables or explanatory variables in the GARCH variance equation (garchset and garchfit) in ...
96 views

### CIR model and calibration

I am new to quantitative finance. We know that in the CIR model the short rate can't go negative. My question then concerns calibration of CIR to a ZCB yield curve. Is it (and why?) possible to ...
235 views

### Why is volatility said to be persistent?

Persistence in volatility of stock returns is one of the common 'stylized facts' when it comes to analyzing time series. However, I am wondering for theoretical arguments why (estimated) volatility ...