189
votes
26answers
125k views

What data sources are available online?

What sources of financial and economic data are available online? Which ones are free or cheap? What has your experience been like with these data sources?
30
votes
2answers
3k views

How much data is needed to validate a short-horizon trading strategy?

Suppose one has an idea for a short-horizon trading strategy, which we will define as having an average holding period of under 1 week and a required latency between signal calculation and execution ...
28
votes
17answers
70k views

What programming languages are most commonly used in quantitative finance?

What programming languages are the most common in quantitative finance, and why are these languages used? Note: I do not mean, what languages are used to develop the accounting system at a hedge fund:...
17
votes
2answers
8k views

How to derive the implied probability distribution from B-S volatilities?

The general problem I have is visualization of the implied distribution of returns of a currency pair. I usually use QQplots for historical returns, so for example versus the normal distribution: ...
15
votes
4answers
2k views

How to estimate real-world probabilities

In the world of finance, Risk-neutral pricing allow us to estimate the fair value of derivatives using the risk free rate as the expected return of the underlyings. However, the behavior of ...
9
votes
2answers
8k views

Daily returns using adjusted close

I want to chart the daily returns of a stock, and I'm using Yahoo finance data to download historic data. I was told to use Adjusted Close, but there seems to be an issue with this. For ANTO.L, you ...
14
votes
4answers
29k 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 (...
12
votes
1answer
3k views

Skewness and Kurtosis under aggregation

Returns possess non-zero skewness and excess kurtosis. If these assets are temporally aggregated both will disappear due to the law of large numbers. To be exact, if we assume IID returns skewness ...
66
votes
15answers
8k views

What concepts are the most dangerous ones in quantitative finance work?

There are a few things that form the common canon of education in (quantitative) finance, yet everybody knows they are not exactly true, useful, well-behaved, or empirically supported. So here is the ...
15
votes
8answers
3k views

What are some good technical and non-technical books for a math lover to get in to quantitative analysis? [closed]

To get the ball rolling... I will answer this question this evening For people aware & unaware I think it would be a great way to introduce the group, resources for fundamental knowledge & ...
21
votes
6answers
8k 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 ...
12
votes
7answers
18k views

How to calculate historical intraday volatility?

Sorry for what must be a beginner question, but when I went to write code I realized I didn't understand exactly how historical volatility, or statistical volatility, is defined. Wikipedia tells me "...
13
votes
6answers
2k views

How to generate a random price series with a specified range and correlation with an actual price?

I want to generate a mock price series. I want it to be within a certain range and have a defined correlation with the original price series. If I choose, say, oil, I want as many time series which ...
53
votes
8answers
20k views

Efficiently storing real-time intraday data in an application agnostic way

What would be the best approach to handle real-time intraday data storage? For personal research I've always imported from flat files only into memory (historical EOD), so I don't have much ...
25
votes
8answers
19k views

How should I store tick data?

How should I store tick data? For example, if I have an IB trading account, how should I download and store the tick data directly to my computer? Which software should I use?
34
votes
6answers
15k views

How are correlation and cointegration related?

In what ways (and under what circumstances) are correlation and cointegration related, if at all? One difference is that one usually thinks of correlation in terms of returns and cointegration in ...
32
votes
6answers
47k views

Where to download list of all common stocks traded on NYSE, NASDAQ and AMEX?

I have a very basic data question: how to get a list of all common stocks traded on NYSE, NASDAQ and AMEX? I would need to be able to get the approximate list of common stocks as is available in ...
29
votes
5answers
23k views

What are some useful approximations to the Black-Scholes formula?

Let the Black-Scholes formula be defined as the function $f(S, X, T, r, v)$. I'm curious about functions that are computationally simpler than the Black-Scholes that yields results that approximate $...
36
votes
5answers
2k views

What are the key risks to the quantitative strategy development process?

Prompted in part by this question on data snooping, I would be interested to know: What are the key risks that should be considered when developing a quantitative strategy based on: (a) historical ...
25
votes
9answers
11k 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 ...
16
votes
5answers
4k views

What exactly is meant by “microstructure noise”?

I see that term tossed around a lot, in articles relating to HFT, and ultra high frequency data. It says at higher frequencies, smaller intervals, microstructure noise is very dominant. What is ...
31
votes
9answers
3k views

Has high frequency trading (HFT) been a net benefit or cost to society?

Various studies have demonstrated the very large and growing influence of high frequency trading (HFT) on the markets. HFT firms are clearly making a great deal of money from somewhere, and it stands ...
14
votes
6answers
26k views

How to check if a timeseries is stationary?

I'm using KPSS Method to check if the series is stationary, but I would also like to use another test to confirm if the series is stationary or not, what method coudl I use?
13
votes
4answers
8k views

How should I calculate the implied volatility of an American option in a real-time production environment?

There are many models available for calculating the implied volatility of an American option. The most popular method, employed by OptionMetrics and others, is probably the Cox-Ross-Rubinstein model. ...
18
votes
5answers
945 views

Model Validation Criteria

Let's say I have a brand new fancy model on some asset class (calibration porcedure included over a set of vanilla options) in which I truly believe I made a step forward comparing to existing ...
14
votes
4answers
3k views

Is there a standard model for market impact?

Is there a standard model for market impact? I am interested in the case of high-volume equities sold in the US, during market hours, but would be interested in any pointers.
16
votes
3answers
25k views

How to simulate stock prices with a Geometric Brownian Motion?

I want to simulate stock price paths with different stochastic processes. I started with the famous geometric brownian motion. I simulated the values with the following formula: $$R_i=\frac{S_{i+1}-...
11
votes
1answer
7k views

Discrete returns versus log returns of assets

There have been similar posts here already but nevertheless I find the question worth posting: why do some people claim that log returns of assets are more suitable for statistics than discrete ...
9
votes
3answers
10k views

Why does the adjusted closing price take into account dividends?

I'm trying to get an intuition as to why the adjusted closing price includes a dividend adjustment: \begin{equation} 1 - \frac{dividend}{close} \end{equation} I understand why the adjusted closing ...
1
vote
1answer
114 views

Does the unconditional variance implied by a GARCH equal the sample variance?

In the MATLAB default settings for GARCH estimation they say "presample conditional variance is the sample average of the squared disturbances of the offset-adjusted response data y". Am I right in ...
0
votes
1answer
301 views

Setting input parameters for Nelson Siegel Svensson model

I am trying to determine the parameters for the Nelson Siegel Svensson model and am solving a Non-Linear Optimization problem to do this. I am trying to solve: $$ \min_\theta{\sum{(p_i - \hat p_i)^2}...
35
votes
8answers
8k views

What broker/feed/APIsetup allows for recording the most accurate data (cheaply)?

I'm currently using IB's Java API and getting feeds through them. However the real-time feed is updated only every 250ms and the historical feed only every second. I'm primarily looking for ES data ...
31
votes
8answers
9k views

Time-series similarity measures

Suppose I have two time series $X$ and $Y$ of stock prices. How do I measure the "similarity" of $X$ and $Y$? (I'm being deliberately vague as I don't have a particular application, and I'm curious ...
26
votes
4answers
7k views

What is a stationary process?

How do you explain what a stationary process is? In the first place, what is meant by process, and then what does the process have to be like so it can be called stationary?
26
votes
6answers
33k views

How to annualize Sharpe Ratio?

I have a basic question about annualized Sharpe Ratio Calculation: if I know the daily return of my portfolio, the thing I need to do is multiply the Sharpe Ratio by $\sqrt{252}$ to have it annualized....
24
votes
8answers
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 ...
23
votes
7answers
13k 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.
20
votes
4answers
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 ...
11
votes
5answers
6k views

Earnings and valuation data sources online

Are there any free/cheap sources for historical data on company earnings and valuations? I can get historical price data from Google and Yahoo, and it looks like I can get about five years of ...
21
votes
6answers
45k 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: AAPL.O (may be prefixed with RSF.ANY. dependent ...
14
votes
4answers
4k views

Volatility pumping in practice

The fascinating thing about volatility pumping (or optimal growth portfolio, see e.g. here) is that here volatility is not the same as risk, rather it represents opportunity. Additionally it is a ...
18
votes
1answer
9k views

How to interpret the eigenmatrix from a Johansen cointegration test?

I ran a Johansen cointegration test on 3 instruments, A B and C. The results that I got are: ...
15
votes
0answers
3k views

Algorithm to fit AR(1)/GARCH(1,1) model of log-returns

I am fitting numerically an AR(1)/GARCH(1,1) process to index and stock log-returns, $r_t=\log(P_t/P_{t-1})$, where $P_t$ is the price at time $t$, and thus far am not clear on where the observed log ...
7
votes
2answers
5k views

Is there a step-by-step guide for calculating portfolio VaR using monte carlo simulations

I am trying to determine a step-by-step algorithm for calculating a portfolio's VaR using monte carlo simulations. It seems to me that the literature for this is extraordinarily opaque for something ...
11
votes
3answers
4k views

Total Return measurement paradox w/ Adjusted Close Prices

Using total return calculations is critical in developing security selection models. The standard way to measure total return is to develop a series of price-adjusted data. Investopedia describes the ...
11
votes
3answers
6k views

What is Ito's lemma used for in quantitative finance?

Further to my question asked here: prior post and which left some points unanswered, I have reformulated the question as follows: What is Ito's lemma used for in quantitative finance? and when is it ...
6
votes
1answer
289 views

Variance replication using options

I would like to understand the intuition behind the following question: Why a certain weighted sum of prices of put and calls is equivalent to the implied variance of an underlying? A variance swap ...
5
votes
4answers
474 views

Understanding $N(d_1)$ and how to use the stock itself as the numeraire?

Assume the stock price follows a geometric Brownian motion Then in Black-Scholes pricing model, $N(d_2)$ is the risk-neutral probability that the option expires in-the-money. However, it is said that $...
7
votes
1answer
3k views

Implied dividend estimation

I am looking at two different ways of estimating the expected / implied dividends from market data. 1. Dividend futures I know that this asset class is not very liquid and might not be ...
4
votes
2answers
257 views

Why $N(d_1)$ and $N(d_2)$ are different in Black & Scholes

I'm struggling to understand the meaning of $d_1$ and $d_2$ in Black & Scholes formula and why they're different from each other. As per the formula, $$C = SN(d_1) - e^{-rT}XN(d_2)$$ which ...

15 30 50 per page