All Questions

85 views

When should we use KDB database and when should we not?

What are the criteria s we should look into when we want to choose the suitable database. suppose If My requirement is to have a huge amount of insert and updates only the should we use KDB. When ...
20 views

Correct term for position accumulation relative to price?

I've been looking at various accumulation algos and it appears that the greater majority are predicated on building a position largely relative to a time component or market volume for obvious ...
25 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 ...
35 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 ...
30 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 ...
11 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: ...
20 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.
13 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 ...
61 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 ...
13 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 ...
20 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 ...
32 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?
59 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: ...
38 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 ...
38 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?
4 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 ...
24 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 ...
34 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 ...
36 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.
94 views

FX Delta Conventions

I'm currently reading Iain Clark's book Foreign Exchange Option Pricing and I got stuck at one sentence in the beginning of Section 3.3 that I feel is important to understand. He writes: FX ...
50 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 ...
27 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 ...
9 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.
23 views

Mortgage parameters

I'm looking for readings about the trade-off between the parameters of a mortgage: length of the mortgage, percentage of the principal to repay, inflation rate (at which the payment growths) and total ...
37 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 ...
38 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 ...
29 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$, ...
11 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 ...
38 views

Where to find agent-based software for the stock-market?

I am looking for game theory agent-based software to run simulations of the stock market. Ideally it would be a software where i could manipulate the variables and possible the underlying assumtions ...
19 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 ...
17 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) ...
52 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 ...
21 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 ...
23 views

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.
36 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 ...
51 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 ...
56 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 ...
19 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 ...
53 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$ ...
12 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
141 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 ...
37 views

Pricing inflation lags

I've been looking into a short piece of maths I found on pricing inflation with payment delays, and was hoping someone could confirm whether my understanding was correct or if the maths isn't quite ...
327 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 ...
57 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 ...
60 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 ...
27 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 ...