# All Questions

2k views

### How to cluster stocks and construct an affinity matrix?

My goal is to find clusters of stocks. The "affinity" matrix will define the "closeness" of points. This article gives a bit more background. The ultimate purpose is to investigate the "cohesion" ...
2k views

### Why a self-financing replicating portfolio should always exist?

According to my understanding the derivation of the Black-Scholes PDE is based on the assumption that the price of the option should change in time in such a way that it should be possible to ...
782 views

### Deterministic interpretation of stochastic differential equation

In Paul Wilmott on Quantitative Finance Sec. Ed. in vol. 3 on p. 784 and p. 809 the following stochastic differential equation: $$dS=\mu\ S\ dt\ +\sigma \ S\ dX$$ is approximated in discrete time by ...
418 views

### How does one measure the effect of latency on potential returns?

I am looking to evaluate the hypothetical advantage one trading system has over another in terms of the possible returns given their latency. Irene Aldridge wrote a piece (How Profitable Are ...
543 views

### Effective Euro-USD (EURUSD) Exchange Rate Prior to Euro's Existence

Motivation: I am running a quantitative analysis that requires long-term, exchange rate data. Problem: Does anyone have methods for dealing with the EURUSD exchange rate prior to the Euro's ...
6k views

### Rationale for OIS discounting for collateralized derivatives?

Can someone explain to me the rationale for why the market may be moving towards OIS discounting for fully collateralized derivatives?
740 views

### Reference request: Survey article on GPU in Finance

I would like to get and idea of how people use GPUs in finance. I can find some specific papers or books on the subject. GPUs in binomial model, finite difference, monte carlo,... But I couldn't ...
829 views

### Is it ever possible that---because of illiquidity---exercising an out-of-the-money option is better than directly buying the stock?

Is there a case, where due to illiquidity, exercising out-of-the-money options could be better than directly buying the stock? When a stock is too illiquid, there are some costs because of this ...
2k views

### How to simulate slippage

I'm backtesting a trading strategy, using free OHLC data from yahoo or google. I'm simulating friction by lopping a flat percentage (say 0.5%) off my returns for each day that I make a trade. Whats ...
918 views

### Literature on generating synthetic time series for testing

I have some market data (daily time series) for bond prices and CDS indices and I would like to generate synthetic versions of these which are statistically "similar" for testing trading strategies. ...
1k views

### How to conduct Monte Carlo simulations to test validity of Black Scholes for a specific option?

In reference to the original Black Scholes model, what approach is best to test the model in a rigorous way? Is there a standard approach that can accomplish this in a reasonable amount of time? ...
729 views

### Missing step in stock price movement equations

Assuming a naive stochastic process for modelling movements in stock prices we have: $dS = \mu S dt + \sigma S \sqrt{dt}$ where S = Stock Price, t = time, mu is a drift constant and sigma is a ...
3k views

### Estimation of Geometric Brownian Motion drift

One can find many papers about estimators of the historical volatility of a geometric Brownian motion (GBM). I'm interested in the estimation of the drift of such a process. Any link on this topic ...
1k views

### How to detect structural breaks in variance?

I'm looking for a method to automatically detect structural breaks, I tried Chow test, It works good but it doens't work for breaks in variance. Do you know a test to check strucutural break in ...
5k views

### What are the main limitations of Black Scholes?

Pls explain and discuss these limitations, and explain which models can I use to overcome these limitations. Alternatively, provide examples of how to modify the original Black Scholes to overcome ...
827 views

### What is the expected return I should use for the momentum strategy in MV optimization framework?

As all research on the momentum strategies are focused on the indicator, i.e. the entry point, there seems not much discussion on its expected return? Though there are some discussions on the exit ...
2k views

### What is the ideal ratio of in-sample length to out-of-sample length?

Suppose you are running a portfolio of quantitative strategies and that you develop a new potential strategy to be added to the mix. Assume for simplicity that the new strategy is independent of the ...
2k views

### Easiest and most accessible derivation of Black-Scholes formula

I am preparing a QuantFinance lecture and I am looking for the easiest and most accessible derivation of the Black-Scholes formula (NB: the actual formula, not the differential equation). My favorite ...
2k views

### Drawbacks & Caveats of using (N)Esper for ESP/CEP in trading systems?

Esper and its .NET port NEsper are components that enable Complex Event Processing (CEP) and Event Stream Processing (ESP) engines. They are especially suitable for trading applications. They can, ...
1k views

### What are some computational bottlenecks that quants face? [closed]

What are the current computational (non-network) bottlenecks now in a quant's workflow? What computational tasks would be revolutionary with a 10-100x improvement in performance using general purpose ...
363 views

### How to account for market movement when some exchanges are closed?

Daily data, such as open and close prices, is often available for much longer periods than high-frequency data. However, whenever backtesting any strategy that examines instruments traded in different ...
232 views

### Does entropy pooling apply to distributions with time-varying drift?

I have a returns process that is drawn from a normal distribution with a nonlinear time-varying drift, so I was wondering if the entropy pooling method still applies or if I need an invariant ?
393 views

### How to “uncluster” a set of financial data?

I am attempting to evaluate and compare the profit factor of different "test runs" of a FOREX trading strategy. My problem is that, despite an average time between orders of 2hr+, some of these runs ...
343 views

### Currency Hedged ETFs

At work we were talking about currency hedging our equity index exposures but I am struggling to understand how this happens in a typical iShares ETF. If we take the Japan ETF IJPN then we see this ...
1k views

### Where to find Greeks for futures to form delta-hedged futures portfolio of S&P 500 index/futures

I can't find S&P 500 index (SPX) futures data with Greeks to create delta-hedged portfolios. Do these data exist? I have access to most of the common data sources. In the meantime, I am trying to ...
808 views

### Intuitive explanation of the Hansen-Jagannathan bound

The Hansen-Jagannathan bound states that the maximum Sharpe ratio of a portfolio can't exceed the ratio of the standard deviation of a stochastic discount factor to its mean. I more or less understand ...
1k views

### Is QuantLib more trouble than it's worth?

I'm just starting to work with QuantLib and wonder if I'm going down a very wrong path. I'm working on a site that presents the visitor with a table of streamed real-time options data, including ...
753 views

### Quantitative Derivatives Trading vs. Time

Most quantitative investment strategies focus on the changing prices of a commodity or equity over time. Derivatives, however, make this more complicated. How can I apply quantitative strategies to ...
490 views

### Exploiting breakdowns in correlation of estimated volatility

In the attached image I have a plot of the rolling correlation of 90-day historic volatility (using the Garman Klass estimator based on Sinclair's Volatility Trading) of JPM v. the S&P. As can be ...
262 views

### How do you characterize dividends for equity options?

While many systems like to treat dividends as a continuous yield when pricing equity options, it works quite poorly for short-dated options. In the short run, deterministic dividends are clearly the ...
1k views

### How to use macroeconomic indicators for long/short trading strategies?

I am trying to understand how to use macroeconomic data in my trading. I understand that using such data could be used to gauge an overall view of the market and how it's doing as a whole. I have been ...
421 views

### rugarch: Joint estimation leads to different results

I want to fit an ARMA-GARCH model to my data using rugarch package in R. First of all, I look at the acf and pacf: ...
345 views

### What are the major characteristics of natural gas volatility and options?

Seasonality is a big deal in the natural gas markets. My understanding is that they are broadly divided into summer and winter, with seasonality in both price and the volatility. What does this ...
865 views

### Strictly local martingales: what is the intuition behind them?

A process $X_t$ is a local martingale if for each increasing sequence of stopping times $\{\tau_k,k=1,2,...\}$ the stopped process is a martingale. All true martingales are local martingales, but the ...
322 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 ...
459 views

### Is creating constrained random portfolios a hard problem?

Creating random portfolios with weights $x_i$ can be thought of as sampling from the surface of a simplex given by $$Ex = f$$ and $$Ax \le b$$ Where $E$ and $A$ are constraint matrices for equality ...
418 views

### How to estimate the following model?

Suppose I have the following model: $$r_t=\sigma_t * \epsilon_t$$ where $r_t$ is the return at time t, $\sigma_t$ is the volatility, the model used to model this volatility is an exponentially ...
454 views

### Stochastic modelling of derivatives on dividends

I consider pricing and risk analysis of derivatives on dividends of the members of equity indices (such as Dow Jones EuroStoxx). There are options but I focus on futures. What are common stochastic ...
394 views

### Is Arithmetic Return Bias Basis of Low Vol Anomaly?

An observation in capital markets is that the connection between return and risk (measured as volatility) is not that straightforward (at least not as modern portfolio theory assumes). One interesting ...
441 views

### Creating an n-factor Certainty Equivalent Discounting Formula

Brealey & Myers provide a certainty-equivalent version of the present value rule, using CAPM, as follows: $$PV_0=\frac{C_1 - \lambda_m *cov(C_1, r_m)}{1 + r_f}$$ $PV_0$ - Present Value of cash ...
455 views

### What weights should be used when adjusting a correlation matrix to be positive definite?

I have a correlation matrix $A$ for an equity market that is not positive definite. Higham (2002) proposes the Alternating Projections Method, minimising the weighted Frobenius norm $||A-X||_W$ where ...
520 views

### Probability distribution of maximum value of binary option?

A binary option with payout \$0/\$100 is trading at \\$30 with 12 hours to expiration. Assuming the underlying follows a geometric Brownian motion (hence volatility remains constant), what ...
18k views

### Strategy of Renaissance Technologies Medallion fund: Holy Grail or next Madoff?

Renaissance Technologies Medallion fund is one of the most successful hedge funds - ever! Yet it is very secretive. Do you have information on the strategy used that is not yet mentioned in the ...
1k views

### When to shut down a trend following strategy?

Suppose I have trend following strategy(on close to close data) that is not getting acceptable returns for some time. When should I start thinking about shutting it down?
18k views

### How to compute Implied Volatility Calculation?

We all know if you back out of the BS option pricing model you can derive and solve what the options is "implying" as its volatility. However, what is the formula used to derive Implied Volatility ...
3k views

### When to use Monte Carlo simulation over analytical methods for options pricing?

I've been using Monte Carlo simulation (MC) for pricing vanilla options with non-lognormal underlyings returns. I'm tempted to start using MC as my primary option-valuating technique as I can get ...
2k views

### Hidden Markov Model & Its Application

I have started reading about HMM it gives an intuitive idea about what HMM is all about. I am looking out for example where its applied to Equity model using R / Excel. The material which I read so ...
399 views

### Seeking Historical Non-Finance Datapoints for Backtesting

I'm working on some financial analysis code which I'd like to test against a historical dataseries to analyze the correlations to my algorithm to some non-finance related data. Ideally, I'd like to ...