6
votes
1answer
995 views

A generic limit order book: What are the most important queries it should be able to answer?

Assume a class LimitOrderBook which represents a limit order book in a trading system. To be able to represent the limit order book a data handler reads a feed ...
5
votes
1answer
313 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 ...
5
votes
2answers
1k views

Constructing an approximation of the S&P 500 volatility smile with publicly available data

Besides of the VIX there is another vol datum publicly available for the S&P 500: the SKEW. Do you know a procedure with which one can extrapolate other implied vols of the S&P 500 smile with ...
4
votes
2answers
446 views

Malliavin Calculus

From a quant point of view, how would you explain Malliavin calculus in few words ? I have the level to take these courses, but won't be able to do it next year, so I want to know what I am missing. ...
4
votes
7answers
30k views

How to calculate unsystematic risk?

We know that there are 2 types of risk which are systematic and unsystematic risk. Systematic risk can be estimate through the calculation of β in CAPM formula. But how can we estimate the ...
3
votes
4answers
598 views

Do markets typically fall fast, and rise slowly

I'm wondering if there is some measurement or name to this notion, i.e.: Markets typically fall fast, but rise slowly. It seems like this is the case -- get some bad news out of Europe on the debt ...
2
votes
2answers
7k views

What does it mean to be long gamma?

When you are "long gamma", your position will become "longer" as the price of the underlying asset increases and "shorter" as the underlying price decreases. source: ...
14
votes
2answers
865 views

Parameter estimation of Ornstein–Uhlenbeck and CIR processes

I would like to estimate Ornstein–Uhlenbeck process' parameters via Kalman filter. My process is the following one: $\text{d}x_{t}=\alpha(\theta-x_{t})\text{d}t+\sigma\text{d}W_{t}$ I'm interested ...
13
votes
6answers
2k views

Why are options trades supposed to be delta-neutral?

I'm reading Natenberg's book, and he says that all options trades should be delta neutral. I understand that this prevents small changes in the underlying price from changing the price of the option, ...
13
votes
3answers
9k views

Correlation between prices or returns?

If you are interested in determining whether there is a correlation between the Federal Reserve Balance Sheet and PPI, would you calculate the correlation between values (prices) or period-to-period ...
11
votes
3answers
2k views

When does delta hedging result in more risk?

There's a question in an interview book saying "when can hedging an options position make you take on more risk?" The answer provided is that "Hedging can increase your risk if you are forced to both ...
10
votes
1answer
309 views

What approaches are there for stress testing a portfolio?

Wikipedia lists three of them: Extreme event: hypothesize the portfolio's return given the recurrence of a historical event. Current positions and risk exposures are combined with the historical ...
9
votes
4answers
4k views

What is a martingale?

What is a martingale and how it compares with a random walk in the context of the Efficient Market Hypothesis?
8
votes
2answers
3k views

Why do we use GARCH(1,1) to predict volatility?

What makes GARCH(1,1) so prevalent in modeling especially in academia? What does this model has that is significantly better than the others?
7
votes
2answers
2k views

What is the mean and the standard deviation for Geometric Ornstein-Uhlenbeck Process?

I am uncertain as to how to calculate the mean and variance of the following Geometric Ornstein-Uhlenbeck process. $$d X(t) = a ( L - X_t ) dt + V X_t dW_t$$ Is anyone able to calculate the mean ...
6
votes
1answer
757 views

What is exactly Euler's decomposition?

I have often seen the following statement in different paper: As $\sigma$ is homogeneous and of degree 1, we use Euler decomposition and write $\sigma(x)=\sum_{i=1}^n x_i \frac{\partial ...
6
votes
4answers
3k views

Analyzing tick data

What are some of the commonly used techniques to analyze tick data? I am looking at tick data to see how the quotes/ mid-price evolves due to certain events in the market. Since tick data is ...
5
votes
2answers
2k views

Quantmod: what's the difference between ROC(Cl(SPY)) and ClCl(SPY)

I feel like I'm missing something fundamental here, but I can't shake the feeling that these two series should be equivalent. /edit: there is also dailyReturn(Cl(SPY)). I've seen all 3 of these ...
4
votes
1answer
9k views

How to interpret results of Johansen Test?

I have two time-series a & b. The objective is to find out whether two series are cointegrated or not. I am using Johansen Test in R to find this out. I am using urca package of R. Here is the ...
4
votes
2answers
568 views

SKEW and VIX relations?

My question is about the CBOE published index VIX and SKEW. To start with, I consider working on the variance dynamics. I calibrate the market data (such as VIX and VIX futures) into the Heston ...
4
votes
2answers
1k views

Mass Market Data Source

My current project requires large amounts of historical and real-time market data (1m or 5m bars for various products, mostly US futures for as far back as available). This data will be analyzed by ...
3
votes
3answers
2k views

How to detect and adjust for stock splits? [duplicate]

I am using a large daily data panel for over 250 companies and over several years. I am concerned about adjusting for stock splits. Is there any program in SAS to detect stock splits? How do I adjust ...
3
votes
3answers
1k views

How much capital do I need to create a competitive automated trading strategy?

I'm a relatively small investor, and I'm interested in building my own fully-automated quantitative trading strategy. I also read about dark pools, and how difficult it is to get good prices on ...
2
votes
3answers
1k views

How is historical data for forex collected or computed?

I'm looking at four sources of forex data, as compiled in the question, What data sources are available online? And I think I must be misunderstanding something, perhaps something fundamental, but I'm ...
1
vote
1answer
243 views

Pre-trade evaluation and risk assessment of option trading strategies (in market practice)

When a trader gets conclusion of the volatility is being underestimated (via volatility cone or some other technology), actually there are multiple ways for his trading. (Let's assume the underlying ...
17
votes
7answers
20k views

What's the difference between volatility and variance?

How do they differ in what they imply about an underlying's (or any variable's) movement?
12
votes
5answers
1k views

is beta of a portfolio always meaningful?

Consider the following strategies: a stat arb strategy with no overnight exposure, but significant market exposure intraday. a market timing model which is always long or short the market. etc is ...
11
votes
2answers
803 views

Copula models and the distribution of the sum of random variables without Monte Carlo

There is a vast literature on copula modelling. Using copulas I can describe the joint law of two (and more) random variables $X$ and $Y$, i.e. $F_{X,Y}(x,y)$. Very often in risk management (credit ...
10
votes
4answers
2k views

What is a “coherent” risk measure?

What is a coherent risk measure, and why do we care? Can you give a simple example of a coherent risk measure as opposed to a non-coherent one, and the problems that a coherent measure addresses in ...
10
votes
8answers
5k views

Why does implied volatility show an inverse relation with strike price when examining option chains?

When looking at option chains, I often notice that the (broker calculated) implied volatility has an inverse relation to the strike price. This seems true both for calls and puts. As a current ...
8
votes
4answers
714 views

Is this a common variation of sharpe ratio?

As an aside on his answer on another question Freddy said: Sharpe ratio is an often cited metric, though I do not like it too much because you are penalized for out-sized positive returns while ...
8
votes
3answers
2k views

How does volatility affect the price of binary options?

In theory, how should volatility affect the price of a binary option? A typical out the money option has more extrinsic value and therefore volatility plays a much more noticeable factor. Now let's ...
7
votes
4answers
947 views

What commercial financial libraries are available to outsource implementation risk?

During our daily jobs as quants, we tend to be willing to develop all the quantitative libraries ourselves. While I know that we need to develop specific algorithms which are the foundations of our ...
7
votes
3answers
1k views

Limit order book size

I am trying to write a highly optimised limit order book and I wondered what sort of size I can expect for: Range of limit prices Number of orders at each limit price I am developing custom ...
7
votes
1answer
334 views

How to reduce variance in a Cox-Ingersoll-Ross Monte Carlo simulation?

I am working out a numerical integral for option pricing in which I'm simulating an interest rate process using a Cox-Ingersoll-Ross process. Each step in my Monte Carlo generated path is a ...
7
votes
2answers
2k views

Are there comprehensive analyses of theta decay in weekly options?

Are there comprehensive analyses of how much theta a weekly options loses in a day, per day? I know what the shape of theta decay looks like, in theory, where the decay towards zero happens more ...
6
votes
4answers
856 views

Threshold calculation for buying a mean-reverting asset

I am trying to figure-out an optimal policy for buying a unit when its price follows a mean-reverting price process (Ornstein–Uhlenbeck), when I have a finite time deadline for buying the unit. I ...
6
votes
2answers
922 views

Comparing MVO with Resampled Efficient Frontier

My question: How can I compare the Resampled Frontier (REF) to the standard MVO frontier when I have been provided with $\mu$, $\Omega$, and don't have access to true future data to test real out of ...
6
votes
1answer
953 views

What are the steps to perform properly a risk factor analysis on a portfolio?

I have been asked to perform a factor analysis on a given portfolio, assume it's a Swiss portfolio in CHF. First step, I chose which factors I would like to see in my analysis. The first factors I ...
6
votes
3answers
1k views

Time series of PCA - Sign change in factor loadings

I have a time series of data that is 300 days long. I compute PCA factor loadings on a moving window of 30 days. There are 7 stocks in the universe. Thus factors F1 through F7 are calculated on each ...
6
votes
2answers
2k views

How to extrapolate implied volatility for out of the money options?

Estimation of model-free implied volatility is highly dependent upon the extrapolation procedure for non-traded options at extreme out-of-the-money points. Jiang and Tian (2007) propose that the ...
6
votes
2answers
1k views

Why does this Co-integrated basket look too good to be true?

You need quantmod & tseries in R to run this: ...
6
votes
2answers
1k views

Cluster analysis vs PCA for risk models?

I built risk models using cluster analysis in a previous life. Years ago I learned about principal component analysis and I've often wondered whether that would have been more appropriate. What are ...
5
votes
5answers
1k views

Is there a charting API which allows to replicate Bloomberg chart tool features?

I believe that most of us will agree that being able to compute values is only part of our job, as we would also like to be able to display them nicely in order to better understand or help ...
5
votes
1answer
1k views

Optimizing a portfolio of ETFs

I am aware of how to do mean-variance or minimum-variance portfolio optimization with constraints like weights must add to 1.0 no short sells max weight in any ticker using basic quadratic ...
5
votes
1answer
859 views

How to simulate correlated assets for illustrating portfolio diversification?

I have seen multiple instances where people try to explain the diversification effects of having assets with a certain level of correlation, especially in the "most diversified portfolio" literature. ...
5
votes
2answers
917 views

Recommendation for a library to calculate the local volatility surface?

I'd like a library to calculate the options local volatility surface, i.e. the options implied volatility surface for a collection of strikes and their bid/ask prices. Here are the libraries I've ...
4
votes
0answers
230 views

Optimization: Factor model versus asset-by-asset model

In portfolio management one often has to solve problems of the quadratic form $$ w^T \Sigma w + w^T c \rightarrow Min $$ with portfolio weights $w \in \mathbb{R}^N$ a constant $c \in \mathbb{R}^N$ and ...
4
votes
1answer
1k views

how do we estimate position of our order in order book?

how would you estimate your order in the exchange order book? The order of order events and acks is not deterministic or guaranteed. How could you write an algo to estimate accurately your position in ...
4
votes
1answer
425 views

Should cointegration be tested using close or adjusted close prices?

When doing cointegration tests should I use the adjusted close price or just close price for the time series? The dividend of each stock is on different dates and can cause jumps in the data.

15 30 50 per page