# All Questions

118 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 ...
92 views

### Problem with Naive Bootstrapping (US Government Bonds)

I am using the formula here to determine the discount factor function and eventually the zero-coupon yields. I get the data for Coupons, Face Values and Closing Prices from Thomson Reuters, which I ...
56 views

### Time discretisations, FDM vs FEM

I am interested in adaptive mesh methods for numerical solution of PDEs with applications to finance. As part of a school project, I have been pricing vanilla European call and put options using 2D ...
105 views

### Can you tell me what this RBloomberg formula means?

I've been asked to re-create a spreadsheet that used RBloomberg using a different data source. But I'm having trouble figuring out exactly what one of the spreadsheet's formulas does. Can anyone tell ...
52 views

### replicating strategy three step binomial

I am having some trouble setting up a replicating strategy for a call option with a three step binomial model (discrete). I have no trouble doing this in a two step binomial model by backward ...
268 views

### GARCH modelling and forecasting

I have a few questions regarding GARCH modelling and forecasting and it would be great if someone could help me. I am modelling the log return of oil spot prices using various GARCH models: GARCH, ...
127 views

### Multivariate Itô's lemma

Hey guys I'm looking for worked examples who show how to apply Itô's lemma in several variables, starting from the very basics. Thank you in advance!
64 views

### Variance of a stochastic integral

Ok guys, I'm new to stochastic calculus and I did an exercise that I don't know if it is correct, so I need somebody with more experience to check if it is true. Compute the variance of the R.V. ...
54 views

### Bond yield: is it martingale with respect to risk-neutral probability measure of some numeraire?

Let $t$ mean current time, let $T_0, T_n$ mean two times such that $T_0\le T_n$, and let $y_t[T_0, T_n]$ mean the forward swap rate of a swap starting at $T_0$ and ending at $T_n$. (I am ignoring ...
49 views

### Value-at-Risk Calculation with respect to the Capital Requirements

I want to calculate the Value-at-Risk at date $t$ in such a way that I minimize the capital requirements given as \begin{align} \text{CR}_{\,t+1\,:\,t+250} = \sum_{h=0}^{249}\max\left( ...
48 views

### Show that in an arbitrage-free and non-redundant market a certain set is compact

Some notation: We consider a financial market with $d+1$ assets, the $0$-th asset is considered the risk-free asset, the others are the risky ones. The vector $\overline \pi \in \mathbb R^{d+1}$ ...
33 views

### Budget Constraint in Duffie's book

On Page 5 of Duffie's Dynamic Asset Pricing Theory, the budget-feasible set is defined as: $$X(q,e) = {e+D^T\theta \in R_+^s:\theta \in R^N, q\theta \leq 0}$$ Compared to Kerry Back's presentation of ...
143 views

### Modeling market sentiment and pricing options by volume, open interest

Are there any empirically-proven methods/formulas for weighting IV surfaces, pricing a discount/premium in an option, and/or adjusting any of the 1st- or 2nd-order Greeks for the magnitude (volume or ...
190 views

### Modified duration in multi-currency portfolio

I was thinking about how to figure aut duration for portfolio of bonds denominated in different currencies… I would like to compare sensitivity of portfolio to shift of yield with competitive ...
45 views

### Time between end of use of ticker symbol by one company and beginning of use by another?

I have a CRSP stock dataset that goes up to december 2013. I'm trying to append yahoo finance data to it in order to bring it up to the current day. However, there are ticker symbols that once ...
107 views

### forecasting trading costs with end of day data

I am trying to create a model that forecasts trading costs (using end of day data, so no intra day data). My trading cost (also called Implemented Shortfall (IS) is defined as such for a single stock, ...
85 views

### How to calibrate volatility surface for Interest Rate Cap&Floor pricing

I'm using Black model to do interest rate Cap & Floor pricing. The volatility is determined by using the bootstrapping methodology. However, afterwards, how should I do the calibration, or ...
101 views

### Calibration of Heston version of CIR

I'd like to calibrate a variant of Heston model for interest rates which is describe by this couple of SDE \begin{aligned}dr_t&=a(b-r_t)+\sqrt{r_t}\sigma_t dW_t^1 \\ ...
112 views

### Empirical distribution function of overlapping time series data

If we model asset return volatility for periods of more than one (say more than one day) there is the square-root rule which holds true under some assumptions. The situation is more tricky if we look ...
29 views

### What does it mean to change the currency of a spread between bonds from 2 different countries?

On reuters I charted the spread between the 10yr US bond and the 10yr UK bond. It gives the me the option of choosing the currency. For just the standard spread(ie: yield(US)-yield(UK)) you select ...
73 views

### Why do leveraged and inverse leveraged WTI ETNs have this price relationship?

UWTI: 3x leveraged exposure to WTI DWTI: 3x leveraged inverse exposure to WTI The inverse relationship between these two symbols seems to trend toward the origin on a log-log plot (using log base ...
83 views

165 views

### Are there any software libraries for backtesting FX algorithms against tick data?

I've read question, however it doesn't appear as if any of those libraries work for FX data. A Google search for python forex backtesting turns up this project, ...
40 views

### Life annuity and the use of Gompertz-Makeham

The question goes as follows: Consider a life annuity contract that pays the holder a yearly fixed amount from a certain time until the death of the holder of the contract. (a) Suppose ...
137 views

### Ibrokers: reqMktData extremely slow when adding tickers

I am trying to snap prices in R for the latest price for a list of stocks (around 150). When I snap them for 2 stocks, it's almost instantaneous: ...
71 views

### How to compare market values with model values after calibration?

After calibration the G2++ model for interest (with swaption volatilities), I want to statistically test the quality of the calibration by comparing market to model values. What is the best way to ...
58 views

### Sharpe Ratio for loans

I am trying to calculate the sharpe ratio for a set of loans. These loans have already matured and I know if they were good or not: grades are the different grades of the loans. interest rate is the ...
57 views

### suitable benchmark to use for Sharpe ratio of power trading strategy

I have a algo which is trading a certain power contract. For calculating the Sharpe ration what would be a suitable benchmark to use?
79 views

I was asked this question in an interview and despite thinking about it for a while, I haven't been able to come up with a good answer. Suppose you have a strategy you are running where at certain ...
186 views

### Stationarity tests in the frequency domain for regression

Strict stationarity is the strongest form of stationarity. It means that the joint statistical distribution of any collection of the time series variates never depends on time. So, the mean, variance ...
111 views

### Dummy variable and negative estimation in GARCH (1.1)

I am trying to use GARCH model for my research. However, when I am running them, I see negative value for alpha and beta. How I can restrict them so that they do not provide me any negative value. Is ...
158 views

### PDE and Black Scholes problem

Consider Black Scholes problem $\frac{\partial V}{\partial t} + \frac{\sigma^2 S^2}{2}\frac{\partial^2V}{\partial S^2} + rS\frac{\partial V}{\partial S} -rV = 0$ with boundary condition $V(S,T)=f(S)$, ...
72 views

### Inflation/Rates Correlation

I've been looking into a short piece of maths a colleague has written on pricing inflation with payment delays, and was hoping someone could confirm whether my understanding is correct, or if my ...
87 views

### seasonality and generalized additive model

I am reading a report which talks about seasonality. There is a chart showing the average returns for each month of the year. In the chart it appears the last 3 months of the year tend to be negative. ...
362 views

### Law of a geometric brownian motion first hitting time (formula dont match Monte Carlo Simulation)

I posted this question before on MSE I need to use it in a small step in the middle of a simulation and I think I'm not getting correct results to this probabilities and so for my all ...