# All Questions

4k views

### How good is managed code for algo trading?

I am currently working in a firm that does algo trading. We do all of our stuff in Java. And we do make money out of it. We have debates all the time whether we would have made more money with native ...
10k views

### Any known bugs with Yahoo Finance adjusted close data ?

Yahoo Finance allows you to download tables of their daily historical stock price data. The data includes an adjusted closing price that I thought I might use to calculate daily log returns as a ...
8k views

### Why is an inverted yield curve a problem?

Immediately preceding the worst of the financial crisis, my professors all pointed out to me that the yield curve had inverted -- short-term yields were more risky than 20-year or 30-year Treasury ...
3k views

### How do you mix quantitative asset allocation with qualitative views?

Usually in asset allocation you have a quantitative approach (which can be from example mean-variance), but you (or you and your firm) also have a more qualitative approach given market-conditions, ...
3k views

### How to design a custom equity backtester?

I was thinking about writing my own backtester and I realize I have to make some assumptions. So I was hoping I could post what I am planning on doing and hopefully some of you can give me some ideas ...
6k views

### What types of neural networks are most appropriate for trading?

What types of neural networks are most appropriate for forecasting returns? Can neural networks be the basis for a high-frequency trading strategy? Types of neural networks include: Support Vector ...
4k views

### Trading a synthetic replication of the VIX index

One cannot directly buy and sell the VIX index. Theoretically, however, one could approximate the index by purchasing an at-the-money straddle on the SP500, then delta-hedging the straddle. Does ...
9k views

### What type of investor is willing to be short gamma?

As far as I understand, most investors are willing to buy options (puts and calls) in order to limit their exposure to the market in case it moves against them. This is due to the fact that they are ...
2k views

### Have Goldman Sachs Quantitative Strategies Research Notes been published as a book or a comprehensive collection?

Back in the 90's, Goldman Sachs (publicly?) released a series called "Quantitative Strategies Research Notes" — mostly technical papers on topic. Emanuel Derman co-authored almost all of them. Some ...
2k views

### QuantLib in industry

How much is QuantLib used in industry and how much street cred does it have?
1k views

### Why do some anomalies persist while others fade away?

In their 1990 book, A Non-Random Walk Down Wall Street, Andrew Lo and Craig MacKinlay document a number of persistent predictable patterns in stock prices. One of these "anomalies" is variously known ...
5k views

### Skew arbitrage: How can you realize the skewness of the underlying?

It's not clear to me how to realize skewness. In other words, how do you implement skew arbitrage? There seems to be no well-known recipe like in volatility arbitrage. Volatility arbitrage (or ...
2k views

### Tools in R for estimating time-varying copulas?

Are there libraries in R for estimating time-varying joint distributions via copulas? Hedibert Lopes has an excellent paper on the topic here. I know there is an existing packaged called copula but ...
2k views

### How do different methods and techniques used in pairs trading compare?

I was going through the paper of Avellaneda (2008) on stat arb and I found it interesting that he uses asset returns vs. their respective ETFs to compute the s-score. I am wondering if anyone has ...
10k views

### How does the “risk-neutral pricing framework” work?

I've struggled for a long time to understand this - What is this? And how does it affect you? Yes I mean risk neutral pricing - Wilmott Forums was not clear about that.
4k views

### What kind of basic framework or application do you use to run your trading algorithms?

I heard about MetaTrader from http://www.metaquotes.net. Is there any other framework or program available? Do you use different software for backtracking and running your trading algorithms? Thank ...
27k views

### What is the difference between volatility and variance?

How do volatility and variance differ in finance and what do both imply about the movement of an underlying?
6k views

### Training set of tick-by-tick data?

I'm looking to find a free source of tick by tick data (<1sec) for training purposes. It doesn't need to be longer than a day, and I don't care what instrument, or exchange, or time it is. I just ...
11k views

### Python library for Portfolio Optimization

Does anyone know of a python library/source that is able to calculate the traditional mean-variance portfolio? To press my luck, any resources where the library/source also contains functions such as ...
1k views

### How can an ETF outperform its benchmark index?

Deutsche Bank’s ETF platform, db X-trackers, provides a rather remarkable ETF tracking Euro Stoxx 50 (which is the most widely used regional blue-chip index in Europe). What makes it remarkable is ...
1k views

### When do Finite Element method provide considerable advantage over Finite Differences for option pricing?

I'm looking for concrete examples where a Finite Element method (FEM) provides a considerable advantages (e.g. in convergence rate, accuracy, stability, etc.) over the Finite Difference method (FDM) ...
3k views

### Main backtesting & trading solutions: QuantFactory, Deltix, etc.

What are the most used/mature/promising commercial solutions today which handle backtesting/ automated trading needs? I'm talking about vertical product suites like QuantFactory or Deltix which ...
686 views

### How do macro funds manage risk and model asset returns? Do they use factor models?

Some of the largest funds in the world are entirely macro-based: Soros, Brevan Howard, Bridgewater. They trade across asset classes, and seemingly with very concentrated allocations. What type of risk ...
8k views

### How are cryptography and speech recognition technology applied to forecasting financial markets?

One of the answers to my previous question regarding the strategy of Renaissance Technologies, there was a reference to The Quants: How a New Breed of Math Whizzes Conquered Wall Street and Nearly ...
2k views

### How do I adjust a correlation matrix whose elements are generated from different market regimes?

Say I want to calculate a correlation matrix for 50 stocks using 3-year historical daily data. And there are some stocks that were recently listed for one year. This is not technically challenging ...
10k views

### How to identify technical analysis chart patterns algorithmically?

I'm working on a small application that will provide some charts and graphs to be used for technical analysis. I'm new to TA but I'm wondering if there is a way to algorithmically identify the ...
9k views

### What is the best data structure/implementation for representing a time series?

I was wondering what is best practice for representing elements in a time series, especially with large amounts of data. The focus/context is in a back testing engine and comparing multiple series. ...
2k views

### How random are financial data series?

Pseudorandom number generators are often tested using e.g. a test suite like Diehard tests or Dieharder. If one would run these tests e.g. on stock market time series or other financial data, would ...
3k views

### Evaluating automated trading strategies: accepted practice

Both for private projects, and for clients, I've been working on code a lot this year to evaluate automated trading strategies. This often ends up turning into the task of how to fairly compare apples ...
2k views

### How are risk management practices applied to ML/AI-based automated trading systems

A potential issue with automated trading systems, that are based on Machine Learning (ML) and/or Artificial Intelligence (AI), is the difficulty of assessing the risk of a trade. An ML/AI algorithm ...
2k views

### How to quickly estimate a lower bound on correlation for a large number of stocks?

I would like to find stock pairs that exhibit low correlation. If the correlation between A and B is 0.9 and the correlation between A and C is 0.9 is there a minimum possible correlation for B and C? ...
2k views

### Is there any theoretical basis for pattern-recognition strategies?

Mean-reversion and trend-following strategies have some kind of a theory behind them that explains why they might work, if implemented well. Pattern-recognition, on the other hand, seems like nothing ...
35k views

### Mapping symbols between tickers, Reuters RICs and Bloomberg tickers

Is there any known solution (preferably open source) to map between ticker symbols, Reuters and Bloomberg symbols. For example: Ticker: AAPL Reuters: RSF.ANY.AAPL.OQ Bloomberg: AAPL US Equity ...
4k views

### What are the best sources for equity quantitative research?

What are the best sources of quantitative finance research in equities? I will list a couple and note an asterisk if the research is available by request (i.e. non-clients) or online: BAC-Merrill ...
849 views

### How are distributions for tail risk measures estimated in practice?

Let's say you want to calculate a VaR for a portfolio of 1000 stocks. You're really only interested in the left tail, so do you use the whole set of returns to estimate mean, variance, skew, and shape ...
1k views

### Statistical properties of stochastic processes for moving average trading to work

Common wisdom holds it that a moving average approach is more successful than buy-and-hold. There is quantitative evidence for that across different asset classes (see e.g. this book, or this paper ...
3k views

### The Application of Quantitative Finance in Sports Betting

I notice that on the surface, there are some similarities between quantitative sports betting and quantitative finance. Both has the concept of arbitaging etc. What are the applications of ...
2k views

### How to forecast volatility using high-frequency data?

There is a large literature covering volatility forecasts with high-frequency tick data. Much of this has surrounded the concept of "realized volatility", such as: "Realized Volatility and ...
1k views

### Portfolio optimization with monte carlo sampling from predictive distribution

Let's say we have a predictive distribution of expected returns for N assets. The distribution is not normal. We can interpret the dispersion in the distribution as reflection of our uncertainty (or ...
7k views

### What is the intuition behind cointegration?

What is the intuition behind cointegration? What does the Dickey-Fuller test do to test for it? Ideally, a non-technical explanation would be appreciated. Say you need to explain it to an investor ...
7k views

### Why is volatility mean-reverting?

We all know it does mean revert. The question is why. What's making volatility mean-revert? Is it some sort of cyclical behaviour of option traders? The way it's calculated? Why?
4k views

### Proof that you cannot beat a random walk

There is much speculation to what degree financial series are random (and what kind of randomness prevails). I want to turn the question on its head and ask: Is there a mathematical proof that ...
199 views

### What are the effects of turning a backed currency into a fiat currency?

I hear a lot of debate over the removal of the U.S. Dollar's precious metal backing and the subsequent inflation rates, but is there any proven relationship between unbacked currency and extreme ...
2k views

### What is the necessary level of Econometrics-Know-How for a quant

It seems quants increasingly use econometric models at work. As someone who has sold his soul to probability theory and stochastical analysis I would like to catch up. What are the econometric tools ...
6k views

### What tools exist for order book analysis and visualization?

What tools exist for order book analysis and visualization? In particular, if one wanted to examine a limit order book and understand how it changes throughout the day where would you turn for ...
3k views

### Do you have historical tick data you want to donate?

Do you have historical market/pricing ticket data that you would like to donate to the Open Source Trader project (OST)?? Please: upload your files! Once we gather some data, we'll do our best to ...
618 views

### Tests that any system must pass to be taken seriously

In an interview from '96 Bill Eckhardt points out that there are tests that any system must pass to be taken seriously. That is: tests for (1) overfitting, (2) post-dictiveness, (3) maldistribution ...
737 views

### How do you correct Max Draw-Down for auto-correlation?

When returns are auto-correlated, calculating a Sharpe ratio := $\frac {mean(x)}{\sqrt{var(x)}}$, (where $x$ are the returns) is complicated, but basically solved (see, e.g. Lo (2005)). Without the ...