All Questions

Filter by
Sorted by
Tagged with
281
votes
30answers
211k 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?
49
votes
4answers
25k views

What are the quantitative finance books that we should all have in our shelves?

Which books/papers should we all have in our shelves? There are a couple that I use regularly such as: An Introduction to Financial Option Valuation: Mathematics, Stochastics and Computation Asset ...
35
votes
5answers
27k views

Integral of Brownian motion w.r.t. time

Let $$X_t = \int_0^t W_s \,\mathrm d s$$ where $W_s$ is our usual Brownian motion. My questions are the following: Expectation? Variance? Is it a martingale? Is it an Ito process or a Riemann ...
29
votes
4answers
23k 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: ...
14
votes
3answers
6k views

Carr-Madan Formula

Really new to financial Maths. I am currently having problems with the Carr-Madan Formula. $$f(S_T)=f(F_t) + f'(F_t) (S_T - F_t) + \int_0^{F_t} f''(K) (K-S_T)^+ \ d K + \int_{F_t}^{\infty} f''(K)...
4
votes
1answer
844 views

Black Scholes differential

I'm studying a BS derivation and I don't understand one part .We have a portfolio consisting of $\Delta(t)S(t)+B(t)$ where the first term is risky and the second is a riskless bond. The part i don't ...
51
votes
8answers
60k 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 $...
34
votes
6answers
8k 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 ...
40
votes
6answers
82k views

A simple formula for calculating implied volatility?

We all know if you back out of the Black Scholes option pricing model you can derive what the option is "implying" about the underlyings future expected volatility. Is there a simple, closed form, ...
10
votes
1answer
2k 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 ...
6
votes
1answer
4k views

Extended Hull White Interest Rate Model for Zero Coupon Bond

Let's take the following three SDEs: $$dr=u(r,t)dt + w(r,t)dX$$ $$u(r,t)=a(t)-br$$ $$w(r,t)=c$$ where $b$ and $c$ are constants and $a(t)$ an arbitrary function of time $t$. If Zero Coupon Bond $Z(...
27
votes
17answers
88k 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:...
68
votes
6answers
115k 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 ...
37
votes
14answers
21k views

Why Drifts are not in the Black Scholes Formula

This question has puzzled me for a while. We all know geometric brownian motions have drifts $\mu$: $dS / S = \mu dt + \sigma dW$ and different stocks have different drifts of $\mu$. Why would ...
27
votes
2answers
24k views

Transformation from the Black-Scholes differential equation to the diffusion equation - and back

I know the derivation of the Black-Scholes differential equation and I understand (most of) the solution of the diffusion equation. What I am missing is the transformation from the Black-Scholes ...
101
votes
16answers
13k 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 ...
45
votes
4answers
5k 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 ...
54
votes
8answers
76k 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....
31
votes
5answers
56k 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}-...
20
votes
1answer
7k 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 ...
3
votes
3answers
554 views

Derivation of BS PDE problem using Delta hedging

I've always been confused with Delta hedging. It is well-known that for a (smooth enough) function of $(S,t)$ we have, due to Ito's lemma, that: \begin{eqnarray*} dC = \left(\frac{\partial C}{\partial ...
30
votes
7answers
39k 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 "...
45
votes
8answers
39k 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.
16
votes
3answers
16k 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 ...
29
votes
9answers
16k 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 ...
17
votes
3answers
24k views

Derivation of the tangency (maximum Sharpe Ratio) portfolio in Markowitz Portfolio Theory?

I have seen the following formula for the tangency portfolio in Markowitz portfolio theory but couldn't find a reference for derivation, and failed to derive myself. If expected excess returns of $N$ ...
15
votes
3answers
13k 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 ...
12
votes
4answers
3k 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 $...
9
votes
3answers
4k views

Why discounted derivative price is a martingale?

Usually after showing that discounted stock price process is martingale under the risk-neutral measure, most authors say that this implies that the discounted derivative price process is a martingale ...
7
votes
1answer
4k views

Understanding Yang-Zhang Volatility Estimator

I am using TTR in R and I am trying to understand the Yang Zhang volatility estimator (without drift). The following equations seem to imply a single value: $$ \sigma = \sqrt{{\sigma_o^2}+k\sigma_c^2+...
77
votes
9answers
34k 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 ...
41
votes
13answers
95k views

Where to get long time historical intraday data?

I am looking for long time historical intraday day data on the S&P500 composite for a time horizon like 10 years with a - for example 10-minutes tick - or prices for call/put options on the S&...
32
votes
9answers
24k 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?
23
votes
8answers
5k 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 & ...
32
votes
6answers
18k 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 ...
36
votes
9answers
4k 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 ...
24
votes
5answers
11k 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.
10
votes
4answers
77k views

How to compute the implied probability of default from a CDS spread?

I have two tasks: Given country's CDS spread draw implied probability of default. Given probability of default calculate CDS spread. If possible, refer to any papers.
13
votes
12answers
139k 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 ...
26
votes
11answers
14k views

Probability of touching

For a vanilla option, I know that the probability of the option expiring in the money is simply the delta of the option... but how would I calculate the probability, without doing monte carlo, of the ...
21
votes
1answer
17k 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 ...
11
votes
3answers
6k views

Black-Scholes under stochastic interest rates

I'm trying to implement the Black-Scholes formula to price a call option under stochastic interest rates. Following the book of McLeish (2005), the formula is given by (assuming interest rates are ...
17
votes
6answers
3k 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 ...
15
votes
3answers
10k 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 ...
7
votes
5answers
2k views

Estimate probability of limit order execution over a large time frame

I have a negligible amount of money (\$5000) that I would like to invest in a stock. I would like to buy the stock at some point in the next year, and get the lowest possible price. I would like to ...
5
votes
2answers
3k views

Calculating alpha and its meaning

According to wikipedia, CAPM model is described by: $E(R_{i})=R_{f}+\beta _{{i}}(E(R_{m})-R_{f})$ And according to website such as http://investexcel.net/jensens-alpha-excel/, $\alpha = E(R_{i}) - ...
10
votes
2answers
3k views

How to derive the price of a square-or-nothing call option?

At maturity $T$, the holder of a "square-or-nothing" call option written on an underlying $S_t$ receives a payoff of the form $$ \phi(S_T) = \frac{S_T^2}{K} \pmb{1}_{\{S_T \geq K\}} = \begin{cases}\...
7
votes
1answer
949 views

Ho and lee derivation for short rates model

A silly question that is bugging me. I am working my way through Baxter and Rennie (again) and I am getting my wires crossed on the short rate models in particular the straight forward Ho and Lee ...
53
votes
6answers
25k 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
5answers
16k 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. ...

15 30 50 per page
1
2 3 4 5
27