11
votes
4answers
4k views

What is an efficient data structure to model order book?

What is an efficient data structure to model order book of prices and quantities to ensure: constant look up iteration in order of prices retrieving best bid and ask in constant time fast quantity ...
9
votes
1answer
2k views

How do I reproduce the cross-sectional regression in “Intraday Patterns in the Cross-section of Stock Returns”?

Recently I was trying to reproduce the results of "Intraday Patterns in the Cross-section of Stock Returns" (published in the Journal of Finance 2010). The authors used cross-sectional regression to ...
7
votes
6answers
4k views

Book on market microstructure

Can I get some recommendations for a book on market microstructure? I'm not looking for some author's questionable methods for trading, I'm just looking for a book that provides me with facts about ...
6
votes
6answers
7k views

Option trading API other than Interactive Brokers

I'm looking for an options broker that provides an execution API. I'd like to ideally test on a papertrading version of it before connecting to a real execution engine. I know IB offers that, but they ...
22
votes
6answers
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 ...
17
votes
2answers
1k views

How to execute a large futures order?

I am currently trading futures products on some contracts that have low volumes. More accurately, the volumes of working orders in the book are fairly light. I am trying to execute a relatively large ...
16
votes
2answers
749 views

How do you distinguish “significant” moves from noise?

How do you distinguish between losses that are within the normal range for day-to-day shifts and situations with a real potential for loss? The specific application I have in mind is pattern ...
15
votes
2answers
2k views

Cleansing covariance matrices via Random matrix theory

I am exploring de-noising and cleansing of covariance matrices via Random Matrix Theory. RMT is a competitor to shrinkage methods of covariance estimation. There are various methods expressed usually ...
11
votes
2answers
1k views

What is the relationship between risk aversion and preference for skewness and kurtosis in portfolio optimization?

Is there any relationship between the risk aversion coefficient in an individual's utility function (commonly used in portfolio optimization) and the preference for higher moments such as skewness and ...
9
votes
2answers
4k views

How to build a mean reverting basket?

I have been playing with mean reverting pairs, but seems that most of the low hanging fruit (ie pairs) have been squeezed already. I would like to start with mean reverting baskets (>2 securities) in ...
9
votes
5answers
1k views

What blogs or articles online should I read to get started with quantitative finance? [closed]

I want to start learning quantitative finance, what articles or blogs should I look at to start? Also see the Related Question on Quantitative Finance Books
8
votes
1answer
2k 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 ...
8
votes
4answers
5k 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 ...
7
votes
6answers
1k views

Self-financing and Black-Scholes-Merton formula

Self-financing is an important concept in financial product replicating, normally used in pricing. I read about several ways to derive Black-Scholes-Merton (BSM) formula. Seems some approaches ...
3
votes
1answer
7k views

Where can I find some examples of high frequency or stat arb trading algorithms beyond basic textbook pairs trading?

In particular, http://en.wikipedia.org/wiki/Algorithmic_trading#Algorithms has several name algorithms. I understand most HFT algorithms are proprietary but I am looking for examples of HFT ...
14
votes
8answers
1k views

Measuring liquidity

While liquidity is one of the key figure of financial markets, It seems to be very difficult to measure. Volume is sometime used as a proxy but can sometimes be completly irrelevant. Could you point ...
13
votes
2answers
6k 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?
13
votes
4answers
1k views

HFT: What is the big differentiator in comparison to other time scales?

High Frequency Trading (HFT) seems to be the big money making mystery machine these days. The purported source of unlimited floods of gelt pouring into the investment shops using it. For me, HFT is ...
11
votes
2answers
3k views

How can I learn about the quantitative aspects of market making in illiquid single stock options?

I would like to learn more about the possible ways of doing quantitative research regarding option market making. In particular, while the mainstream index option market may be very liquid, the ...
11
votes
5answers
7k 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
10answers
61k 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 ...
7
votes
6answers
15k views

How to calculate stock move probability based on option implied volatility and time to expiration? (Monte Carlo simulation)

I am looking for one line formula ideally in Excel to calculate stock move probability based on option implied volatility and time to expiration? I have already found a few complex samples which took ...
7
votes
2answers
231 views

How to price an option allowing to change a call into a put?

A recruiter asked me this question: Suppose you have the following contract: a call option with maturity T = 2 years the possibility to change this call into a put at t = 1 year What is the price ...
6
votes
1answer
494 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 ...
6
votes
3answers
757 views

How do you remove expected returns from asset allocation strategies?

The classic mean-variance optimization problem tries to minimize variance of a portfolio for a given expected return: $$ \underset{w}{\arg \min} \quad w^T \Sigma w \quad \text{s.t} \quad \mu^Tw \geq \...
5
votes
1answer
1k views

Automated 10-K XBRL data grab using the SEC file structure

I would like to write a program that takes as input a list of CIK/year/quarter entries. The program should iterate through the list and, for each entry, grab XBRL financial data from the SEC website ...
20
votes
3answers
3k 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 ...
14
votes
1answer
753 views

What techniques are used for testing order book implementations?

I am finishing the implementation of a limit order book for modeling NASDAQ. The order book works off of the ITCH feed. My question is what techniques are typically used for testing order books. I am ...
13
votes
4answers
1k views

Resources for finding scholarly research on topics in quantitative finance?

A friend and I have taken up an interest in quantitative finance, and we're pretty much starting from scratch—neither of us have backgrounds in finance, but rather electrical engineering and ...
9
votes
4answers
1k views

What approaches are there to order handling in automated trading?

I am currently developing a commercial automated trading program in which users can write their own proprietary code and develop strategies, like in NinjaTrader, MetaTrader etc. Right now I am working ...
8
votes
1answer
691 views

Price functions based on order book events

Assume some equity traded on a given exchange based on an electronic limit open-order book $B$ that makes sequential updates as a function of time $t$. What are "natural" or common price functions $P: ...
6
votes
1answer
2k views

Regime-Switching Model for detecting market shifts

I'm always wondering whether anyone has utilized regime-switching models successfully in forecasting or trading. Academia has long discussed this topic in-depth, such as using Regime Switching ...
5
votes
4answers
2k views

Typical coefficients uses in square-root model for market impact

The square-root model is widely used to model equity market impact. It assumes that volatility, traded volume, total volume, and a spread cost are the drivers of slippage. Jim Gatheral has an ...
5
votes
2answers
546 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. ...
5
votes
2answers
5k views

How to tune Kalman filter's parameter?

I plan to use Kalman filter to estimate saving account amount. However, I'm a bit lost at how to tune the filter's parameters. Taking as the example from the Wikipedia page, basically there are ...
5
votes
2answers
470 views

Choice of prior as a shrinkage target in portfolio construction?

There's various research showing how priors such as the minimum variance portfolio turn out to be a surprisingly effective shrinkage target in portfolio construction. The sell point of these priors ...
4
votes
0answers
103 views

Survey of market making strategies and research [duplicate]

I am undergoing a focused study of market making theory. So far, I've encountered the following papers: Market Making and Mean Reversion Adapting to a Market Shock: Optimal Sequential Market-Making ...
20
votes
7answers
32k 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?
17
votes
2answers
2k views

Is there a standard method for getting a continuous time series from futures data?

I would like to be able to analyse futures prices as one continuous time series, so what kinds of methods exist for combining the prices for the various delivery dates into a single time series? I am ...
16
votes
2answers
9k views

Cross Currency Swap Pricing in nowadays environment

Multicurve setting has now become the new paradigm for vanilla swap valuation. For the record I give here (without getting into too much details) the methodoloy for pricing Euribor3M swaps in this ...
15
votes
2answers
2k views

How to update an exponential moving average with missing values?

Say you have an Exponential Moving Average being continuously updated over a time series using 1-second-long time periods. What should happen if there is no value for the next second, e.g. there were ...
14
votes
3answers
3k 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 ...
13
votes
3answers
1k views

How to account for transaction costs in a simulated market environment?

I am simulating a market for my trading system. I have no ask-bid prices in my dataset and use adjusted close for both buy and sell price. To account for this I plan to use a relative transaction cost....
12
votes
8answers
7k 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 ...
10
votes
1answer
1k views

What are modern algorithms for trade classification?

When dealing with trade data, for example from TAQ, a common problem is that of determining whether a trade was a buy or a sell. The most commonly used classifier is the Lee-Ready algorithm (Inferring ...
10
votes
2answers
830 views

How to compute performance attribution between daily rebalanced strategies?

I have a daily rebalanced portfolio of several strategies. After one month, I now want to attribute the performance to the different strategies. There are several ways to do it. For instance one ...
9
votes
3answers
1k views

Implementing a Fast Fourier Transform for Option Pricing

So, I'm in need of some tips regarding a small project I'm doing. My goal is an implementation of a Fast Fourier Transform algorithm (FFT) which can be applied to the pricing of options. First ...
6
votes
5answers
761 views

Indicators and research for stress-based investment strategies

In reference to this paper: Can risk aversion indicators anticipate financial crises? and the investable UBS Risk Adjusted Dynamic Alpha Strategy: http://www.ibb.ubs.com/mc/strategyindices/ubsrada/...
5
votes
5answers
5k views

Risk Neutral Probability

I read that an option prices is the expected value of the payout under the risk neutral probability. Intuitively why is the expectation taken with respect to risk neutral as opposed to the actual ...
5
votes
3answers
2k 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 ...

15 30 50 per page