# All Questions

43 views

### Portfolios from Sorts

Some time ago Almgren and Chriss proposed a method for portfolio optimization based on sorting criteria such as $r_1 > r_2 >... > r_N$ instead of explicit expected returns: see portfolios ...
40 views

### default probability

Suppose the hazard rate is $\lambda$ the default probability density function follow exponential $f(t) = \lambda e^{-\lambda t}$ and cumulative probability function is $F(t) = 1 - e^{-\lambda t}$ ...
116 views

### Examples of non-increasing variance of a time homogeneous Markovian process

This is an edit to the previous question, on stationary process, which was answered by Richard below. Let $x_t$ be a zero mean, time homogeneous Markovian process over time $t$ starting from ...
37 views

### Calculate price of index from underlyings (weightings included)?

I have a day's worth of LSE data (FTSE100 companies) and I also have their weightings for the FTSE100. Ignoring the net present value of money, how do I calculate the current value of the FTSE? I ...
166 views

### How to simulate stock prices with stochastic time change subordinated arithmetic Brownian Motion?

the idea is to simulate price returns thus to be normally distributed i 'am trying to use subordinated arithmetic brownian motion subordinated to time activity (volume) stock prices are following GBM ...
3k views

### Implementing data-structures in a Limit order book

I'm working on implementing a 'LOB' and I'm being very careful about choosing my data-structures so as to maximize performance. Using F# as an example, I need to consider a List versus Array for ...
30 views

### What are the math topics involved in FRM 1

Is there a way to get the math curriculum for FRM level 1 without purchasing the Exam? I wish to take a look at the math topics and see if I have any chance of cracking it. But I could not find an ...
19 views

### How is the default probability implied from market implied CDS spreads for CVA/DVA calculation?

From point 38 on P.17 the default probability can be implied from market implied CDS spreads. "Macro Surface" method is mentioned, but I cannot get any clue of what it is? Where do I get the acedemic ...
35 views

### Delta Hedging for a put option [on hold]

Is my intuition correct? If we buy a put we want to hedge against price increasing, so we buy the underlier. If price increases, the absolute value of delta decreases so we need to reduce our hedge ...
144 views

### How to properly take averages to reduce data in regression/panel data analysis

I'm trying to do a regression on my panel data. Say I have T=3500 days of data and N=125 firms. Since Matlab get's major memory issues (which I try to prevent by the usual solutions as seen on the ...
240 views

### What is a cubature scheme?

Ideally an intuitive explanation with an example, please.
20 views

### calculating performance returns for a hedge fund [on hold]

I am struggling with the correctness of the return calculation for a portfolio when the hedge fund receives capital inflow mid-month. Putting it simply, suppose the fund has 100 million on Dec. 1, ...
5k views

### Calculating log returns using R

I am trying to calculate the log returns of a dataset in R using the usual log differencing method. However, the calculated data is simply a vector of zeroes. I can't see what I'm doing wrong. Here ...
14 views

### VBA: Dir Function [migrated]

I am using VBA, and looping through spreadsheets in a specific folder - opening the spreadsheets, coping some lines then pasting it into a master spreadsheet. I made use of the following link to ...
132 views

### Min VaR and Min TE as second order cone program

The quadratic optimization (min variance) $$w^{T} \Sigma w \rightarrow \text{min},$$ where $w$ is the vector of portfolio weights and $\Sigma$ is the covariance matrix of asset returns, is a well ...
10 views

### what is General IB2 Restriction in Basel II credit risk model

I was reading Basel II wiki page, it says: The first pillar The first pillar deals with maintenance of regulatory capital calculated for three major components of risk that a bank faces: ...
47 views

### Market overview trading platforms (with OTC)

I am searching for a trading platform for a client. It must include control of trading limits (per user and with regard to the clients portfolio), connection to Bloomberg data, ability to value ...
108 views

### The law of Brownian motion with constant drift

Suppose $B(t)$ is a standard Brownian motion, and $B_{1}(t)$ is given by $dB_{1}(t)=\mu dt+dB(t)$. Suppose $P$ is the Wiener measure induced by $B(t)$ on the $C[0,\infty)$, and $P_{1}$ is the Law ...
57 views

### Securitization of a loan portfolio

I am interested in the securitazion process and am looking for useful examples to help me understand how it can be applied in practice. Assuming I have a loan portfolio consisting of secured* and ...
163 views

### Large (5K-10K) non positive definite (particularly near singular) covariance matrices and treatments for Cholesky decomposition

I have a very large covariance matrix (around 10000x10000) of returns, which is constructed using a sample size of 1000 for 10000 variables. My goal is to perform a (good-looking) Cholesky ...
65 views

### Choosing a weak learner

I want to compare different error rates of different classifiers with the error rate from a weak learner (better than random guessing). So, my question is, what are a few choices for a simple, easy to ...
40 views

### Evaluation volatility with Garch model

I want to forecast the volatility (with Garch) of a canadian stock in 5 months with daily returns. How many data do I have to collect ? Thanks.
35 views

### Java limitbook implementation? [duplicate]

I am looking to create my own front-end. What is the best data structure/java swing object to represent a limit order book? currently I am using two JTables and loading best bid and qty data from a ...
46 views

### Fitting Student t-distributions to log-returns

It seems that some tail-risk centric groups are bent on using Paretian and t-distributions to account for tail risk when fitting log-returns. It has been observed, however, that with and without ...
50 views

### Optimal trading strategy in toy world of simple Gaussian mixture model

I want to solve the following optimization problem: What is the optimal general trading strategy on a time series which is the result of a mixture model of two Gaussians with a known transition matrix ...
465 views

### How to compute interest rate futures spread ratio?

I am confused on how to compute the spread ratio. For example, this is example I came across with my broker - Consider 2 contracts Bobl and Euribor. The DV01 of Bobl i 44.8 and Euribor is 25. To ...
829 views

### Optimality of Kelly criterion in non-normal environment

It is a not so well known fact that the Kelly criterion is only optimal in a nice and well-behaved Merton-world. It is far from optimal when things are getting non-(log)normal (i.e. more realistic!). ...
1k views

### How to obtain true probabilities from Black-Scholes?

How to obtain true probabilities from Black-Scholes option pricing equation? Suppose, that we know risk adjusted discount rate for the underlying asset (the drift term in the physical measure) and ...
316 views

### Ordering of CME Level 2 FIX Market data?

The following link contains a file containing CME Level 2 FIX Market/Orderbook data for Corn futures: ftp://ftp.cmegroup.com/datamine_sample_data/md/mdff_cbt_20130714-20130715_7813_0.zip However, ...
1k views

### How to create charts in WPF finance applications?

How to create charts for market data in WPF? Are there any charting controls provided by microsoft or you need to use only third party controls? Which are the popular third party charting controls ...
285 views

### Is the price of European put option monotone in volatility if we replace BM in Black-Scholes with a general Levy process?

Under the Black-Scholes model, we have the European put option is $\mathbb{E} [e^{-rt}(K-S_t)]$, where we take $\log(S_t)=X_t$ and $dX_t= \sigma dW_t - \dfrac{1}{2}\sigma^2 dt + rdt$. Here the option ...
18 views

### How to calculate the negative compound interest when the present value is below zero?

I'm having difficulty understanding how to calculate the negative compound interest when the present value is negative as well. For example, let's say that a company had earnings of £10,000 5 years ...
19 views

### How to calculate YTM for this product? [on hold]

Here is the details: Year 0 to Year 10: pay 2,500 dollar per month Year 11 to Year 40: receive 20,000 dollar per annual At the maturity(Year 40): receive 1,000,000 dollar Can it regard as a 30 ...
4k views

### How fast is QuickFix ?

In my firm we are beginning a new OMS (Order Management System) project and there is a debate whether we use Quickfix or we go for a professional fix engine? Because there is a common doubt that ...
96 views

### Growth of Order Book size during day

I am trying to find market-structure research on how the size / depth of the order book changes during the day for equities. I would expect it to get deeper and deeper and bigger and bigger ...
40 views

108 views

### When did volatilities start to smile in capital markets?

Glimpsing through literature, I read that volatilities in the equity market started to display a smile after the crash in 1987. But when did volatilities start to smile in capital markets?
87 views
+50

### What is the right group of durations?

It seems that the group of durations commonly used in quantitative analyse is $\mathbf{R}$ but it seems to me that $\mathbf{R_+^*}$ could also be an interesting choice. While I am not aware of ...
97 views

### Single Most Important Fact about a Fund - Interview Question [on hold]

I recently attended an interview to work as a software developer in an Asset Management company. I was asked by the interviewer: What is the most important piece of information that should be ...
2k views

### Garch modelling on Stata

I would like to ask "how to do GARCH modelling on stata". Basically I want to estimate stock market volatility using daily data. I have one variable as return series, $r_t=\ln(\frac{P_t}{P_{t-1}})$. ...
211 views

### Help with understanding a normal distribution/probability question

Could someone please help me translate what this is saying on page P15, section 4.2: http://www.ntuzov.com/Nik_Site/Niks_files/Research/papers/stat_arb/Ahmed_2009.pdf Specifically: When the ...
63 views

### Rate of Return Required on Buying Stocks with Loan

A bank gives a loan $L$ for $m$ months and the monthly interest rate is $i$. The bank requires monthly installments - which I calculate is $I = \frac{L}{m} + Li$. I use this loan to buy ...
50 views

### Estimate of fx trading volume

I understand that there are no official figures of fx trading volume per currency, but are there any good estimates? Is there any fx exchange that is particularly forthcoming with its volume data, ...
10k views

I am preparing for the CFA level 2 exam, I got confused by the concept Z-spread and OAS. When a call option is added to a bond, since it is not favorable to the bond buyer, they would require more ...
25 views

### Solvency II Assets-D1 - aggregation of line items by CIC code

The revised version of Assets D1 (now S.06.02 – List of assets under CP13) requires the following aggregations (page 24): CIC 71 (Cash), only one line per currency is to be reported; CIC 72 ...