# All Questions

48 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( ...
46 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 ...
133 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 ...
174 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 ...
130 views

### What is the most efficient way to periodically download all new 10-K filings from SEC's EDGAR?

I found this website which uses a perl script to download all the filings. It states: "There are 200K+ 10-K (and equivalent) filings, which will take considerable harddisk space and time to download. ...
106 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, ...
80 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 ...
96 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 \\ ...
111 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 ...
28 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 ...
72 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 ...
81 views

156 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 ...
132 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 ...
56 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 ...
54 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?
75 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 ...
171 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 ...
108 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 ...
157 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)$, ...
71 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 ...
83 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. ...
338 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 ...
147 views

### Testing Statistical Significance of Various Portfolio Simulations

I'm trying to determine which of my portfolio simulations/backtests if any are good enough to put some money into. I outline an approach below and I'm interested in knowing: What problems are there ...
757 views

### How to compute for basis adjusted forward rate?

To give you a brief background, I'm valuing a fixed-for-float Interest Rate Swap (IRS) using Bloomberg. I put in a notional amount in (USD) and a assigned 6MO USD LIBOR as the reference index for the ...
118 views

### Game theory and antagonistic games in trading

In one of the topic here, particularly in the comments, i saw a link to the page describing connection between Antagonistic Games and finances but i cannot find it now and would appreciate if somebody ...
121 views

### Scale of Market Quakes Computation

I would like to reproduce the results in the paper "The scale of market quakes", from T. Bisig, But I am getting stuck at the computation of the Fourier Coefficients in equation (4). They are defined ...
106 views

### Beta distribution - Holding period

Let's say I have a risk factor that is defined between [0,1], such as recovery rates. Assuming I have daily data, I can estimate the "daily VaR", i.e. the tails over 1 day period, since the data is ...
36 views

### How can I break down the change in value for an inflation-linked bond

I am trying to decompose the change in value of an inflation-linked bond into two constituent parts: 1) That due to changing nominal rates on the issuer's non-linked bonds 2) That due to changing ...
82 views

### Practitioner's criterion for MC pricing convergence

Let's say I have some Interest Rates (IR) pricing model which relies on Monte Carlo pricing and I'd like to benchmark its quality and find out optimal settings (time steps & iterations) per asset ...
38 views

### what kind of test for volatility and where find the data

I am working on a model for stochastic volatility. In short, the model try to capture that the volatility goes up suddenly after a shock (war, policy, financial events, etc) and then goes down slowly, ...