# All Questions

29 views

### Solvency Problem for Financial Institutions

According to my finance lecture, the motivation for risk measures is grounded in the solvency problem: Risk measures are used to determine the amount of capital to avoid insolvency of the financial ...
39 views

### Law of one price in continuous time

The law of one price (i.e. for assets $S^{(i)}$ and $S^{(j)}$, $S^{(i)}_T = S^{(j)}_T$ almost surely implies that $S^{(i)}_t = S^{(j)}_t$ almost surely for all $0 \leq t \leq T$) is known to hold ...
42 views

### How to generate jump times in in Multilevel path simulation for jump-diffusion SDEs?

I am trying to generate jump times in in Multilevel path simulation for jump-diffusion SDEs using the following MATLAB code: I used following Algorithm in Yuan Xia paper: But I have not reached ...
12 views

### How to simulate jump times in Multilevel path simulation for jump-diffusion SDEs?

How to simulate jump times in Multilevel path simulation for jump-diffusion SDEs in this pag ? Yuan Xia I used this code: ...
21 views

### What to do when I do not get enough fill in cash leg during cash - future arbitrage

Futures have fixed lot sizes in my exchange, but cash do not. When I am spread trading the cash - future pair, what should I do if I am unable to get enough fill on the cash side.
15 views

### dynamic programming with serially independent returns

Book suggests that "asset returns are assumed to be serially independent, so wealth is a single state connecting one period to the next". I understand path dependency is lost in case of serial ...
74 views

### What is the most elegant way to write a trading (or asset selection) algorithm in MATLAB, based on a simple criterion?

Assume a $T \times N$ matrix $X$ of values for an asset characteristic at time $t \in \{1,2,\dots,T \}$, where $T$ is the observation period in months and $N$ is the number of assets and a ...
14 views

### Are these nonstationary variables?

If I have understood correctly, computing the correlation of two nonstationary variables can lead to spurious results. For example, computing the correlation of two stock price time series would lead ...
25 views

### How to calculate the standard deviation of a 'deviation from a moving average'?

Say I have a vector of daily price changes for an asset and calculate the standard deviation of returns in the usual way. Let's call this result A. Now assume that for the same asset I also have a ...
43 views

### Any Simple Way to Prove Black Scholes Type Identies?

A certain complicated option pricing formula results in products of Black Scholes $N$ components like this: $-p_1N(d_1)N(d_6)+p_sN(d_2)N(d_5)>?0$ where $p_s>p_1$ Trying to find a simple way ...
40 views

### Cost of carry for posting bonds as collateral

Cost of carry for posting bonds as collateral How do you calculate cost of carry for posting bonds as collateral?
89 views

### Interpretation of Cointegration results, pValues and t-Stat

This is a follow up to: Cointegration results interpretation validation? I ran another Engel Granger Test on a pair, The results I get: ...
42 views

### What interest rate dynamics would you suggest to simulate a single swap?

I need to calculate the Potential Future Exposure (PFE) for a single swap (not a portfolio). As far as I know, a stochastic model is needed to simulate the interest rate curves (from here). Could ...
54 views

### Is the Volatility of the Fx Inverse process same as Fx

Let St = Fx and St(Inverse) = 1/Fx. Do both of these have same volatility and if so how would you prove it?
7 views

### Foreclosure Implications on CMO Cash Flows

I have a simple homework project where I am to create some models to value a CMO. Please make any simplifying assumptions necessary to provide an answer. Prepayment is simple to account for. This ...
37 views

### Web Based Market Profile Code

I am looking for someone who knows of or has access to web based charting code using Market Profile. Does this exist out there? I would prefer the source code so I can make changes to it. Any ...
36 views

### volatility grouping

I was working on risk levels of a combined portolfio (includes options,futures as well as stock). While using greeks we can asses some value of a portolio, but when one needs to assess some kind of ...
46 views

### Sample long/short portfolio profit and loss template

Does anyone have a suggestion of where I might be able to find a profit and loss template for a long/short equity portfolio? Thank you in advance.
84 views

### Derivation of the formulas for the values of European asset-or-nothing and cash-or-nothing options

The asset-or-nothing European option pays at t = T the value of the stock when at time T that value exceeds or is equal to the exercise price E, and nothing if the value of the stock is below E. So, ...
26 views

### What is the intuition behind the relationship between herding and trade (or investment) size?

I am studying herding behavior among investors, in particular I found a u-shaped relationship between herding and trade (or investment) size. As such, traders with the smallest or the largest trades ...
28 views

### How to calculate intraday implied vol on the last day of trading an OTM option

i've been trading globex options on US Treasury futures, but my option calculator only takes the date as the time input..so on the last trading day, the model assumes all values are errors because the ...
10 views

### CFD on warrants or options?

I'm looking for CFD-type contracts based off warrants or ETO prices; does such a thing exist? I'm interested in Asian markets; Hong Kong, Singapore, Japan.
40 views

### Standardizing SEC XBRL Reports into common format

I'd like to grab SEC XBRL 10-Q's from various companies and standardize/summarize their content to be able to run common analysis. But it looks like different companies use different elements, making ...
139 views

I am doing a Quantitative Finance PhD and would like some insight on data collection. I'm looking for open market share repurchase data (UK) over the past 2-3 decades. Simultaneously, their bid-ask ...
59 views

### How to calculate cash flow for XC swap

Given 3MLibor vs 12MLibor USD basis swap the 3M Libor is exchanged at 12MLibor+1%. How to calculate the cash flow
42 views

### Where can I find an historical data source for Fixed Income instruments?

We would like to find a data source for fixed income instruments. The information we would like is: Issuer Credit rating Terms Price The information needs to be available over a period, for ...
13 views

It doesn't seem yahoo finance and google finance supports download of historical exchange rates. Also, where could we get more accurate exchange rate tick data? Can we get this from open Bloomberg ...
32 views

### How to prove following order?

Consider a consol bond, i.e. a bond which will forever pay one unit of cash at $t = 1, 2, . . ..$ Suppose that the market yield $y$ is constant for all maturities. (a) Compute the price, at $t = 0$, ...
12 views

### Distribution of the differences of the inverse of the integral of a Gaussian Distribution

I have a time series, $P$, undergoing geometric Brownian motion, which varies between $1$ and $1000$. I difference it $P(t) - P(t-1)$ and can see the differences are distributed according to a ...
22 views

### Index tracker and inflation

I'm trying to get my head around how inflation really affects index trackers. I've been looking at this question, but somehow misses the point I want (How To Account For Inflation Over Historical ...
24 views

### simple question on DSCR

What is the DSCR for a 2.5 million property generating a 7.5% before tax annual return on equity with a 1.5 million ten year interest-only first mortgage at a 5% annual interest rate? a) 2.00 b) ...
55 views

### risk report factor exposures calculations

I am looking at a risk report which I have inherited. There are 5 lines of code that I want to make sure I understand. The risk report breaks down the exposures, contribution to variance and marginal ...
23 views

### Historical list of Primary Dealers in Europe

I would be interested in a list of all the banks and financial institutions that have been Primary Dealers in the European Union from the 1980s until today. For a current list you can check this pdf ...
26 views

### Advancers / Decliners data source

What is the best source for this data? I am trying to compute http://stockcharts.com/school/doku.php?id=chart_school:technical_indicators:mcclellan_summation in Python.
49 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 ...
53 views

### European style average price option Delta

I use a numerical method to calculate the value and Greeks of an European style average price option, e.g., with a given volatility, I simulate 1000 random walk price paths find the average value ...
74 views

### Vanna-Volga method to infer vol surface with just few realtime tick data

My broker gives me the opportunity to get realtime tick data for up to 50 fields. Since I would like to monitor option chains, this amount of data is very limited. Suppose I am interested in ...
20 views

### Residual maturity vol

The following question is probably (from a practical point of view) more relevant for EM markets which typically exhibit a more pronounced forward volatility compared to spot volatility. Say I buy a ...
190 views

### Factoring risk premium in to Forward Rate calculation

This is a self study question. I'm calculating a forward rate. Specifically, I have that in a country X, the Spot Rate is 5X/1US. I also have that the 1 year interest rate is 13% in country X and ...
57 views

### Pricing defaultable binary option with hazard rate approach

I'm studying defaultable claims and asked myself how to price a digital payoff. Consider an option paying $1$ at maturity in case of non-default before maturity and if a given underlying process $S$ ...
14 views

### Option platforms providing eurex products

I search an option platform providing eurex products as eurostoxx 50. Can you advice me some platforms ? Thank you in advance for your answer Julien
175 views

### How to calculate returns of backtested strategy?

Lets say I have some strategy (long/short) backtested for certain period. Strategy has entries/exits only at the end of the day and may have overnight positions hold. Now I would like to compare ...
566 views

### Calculating the efficient frontier from expected returns and SD

I'm trying to calculate the efficient frontier (and the optimal portfolio at the Sharpe ratio) given two vectors for a portfolio: (1) expected returns and (2) historical standard deviations. I would ...
82 views

### Duration calculation for perpetuity with continuous compounding

Let's say we have a continuously compounded perpetuity. Does macaulay duration = modified duration? I've read from wikipedia for Bond Duration that macaulay duration = modified duration for ...
86 views

### Incompatibility of Lognormal Forward Model (LMM\BGM) and Lognormal Swap Model

In his paper On the distributional distance between the Libor and the Swap market models (and also in his book about IR modeling) D.Brigo says: 10, 11, 12 are defined in the end of message. Do I ...
32 views

I'm curious whether anybody has any experience with using trend lines drawn using data which is vs isn't adjusted for dividends. For periods of sideways trading that give roughly horizontal ...
15 views

### Source on pricing / valuation of trust preferred securities?

Is there a good source on pricing / valuation of trust preferred securities? I used GOOGLE, GOOGLE SCHOLAR and NEW YORK PUBLIC LIBRARY, but the results were meager. Found book Handbook of Hybrid ...
35 views

### Variance of “hedged” term structure portfolio increasing?

I'm attempting to use PCA to hedge a small fixed income portfolio. I start with one particular bond and chose the nearest other bond to hedge the 1st principle component. This decreases the portfolio ...