# All Questions

9k views

### Central Index Key (CIK) of all traded stocks

Is there a way by which I can get a list of CIK of all registered stocks at the SEC?
2k views

### Looking for a recommendation for a real life volatily trading book.

Recently I started working in an algotrading company as a programmer. After I studied that subject a little in the university and read a book or two in that field I gained a little knowledge in that ...
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 ...
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: ...
24k 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: ...
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 ...
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 ...
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
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 ...
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 ...
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 ...
1k views

### Setting the r in put-call parity?

Put-call parity is given by $C + Ke^{-r(T-t)} = P + S$. The variables $C$, $P$ and $S$ are directly observable in the market place. $T-t$ follows by the contract specification. The variable $r$ is ...
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 ...
3k views

### How to annualize intra-day volatility on minute data?

I am trying to convert minute based volatility into annualized volatility in such a way that both are comparable. $Vol_{min} * \sqrt(t)$ does not seam to get them into the same scale if I annualize ...
1k views

### How does one estimate the probability of the Fed increasing its benchmark rate based on Fed funds futures?

How was this 67% probability calculated from Fed funds futures? Fed funds futures show a 67 percent chance the central bank will increase its benchmark rate by year-end from virtually zero, ...
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 ...
253 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 ...
4k views

### How to calculate future distribution of price using volatility?

I want to create a lognormal distribution of future stock prices. Using a monte carlo simulation I came up with the standard deviation as being $\sqrt{(days/252)}$ $*volatility*mean*$ $\log(mean)$. ...
2k views

### How does Cornish-Fisher VaR (aka modified VaR) scale with time?

I am thinking about the time-scaling of Cornish-Fisher VaR (see e.g. page 130 here for the formula). It involves the skewness and the excess-kurtosis of returns. The formula is clear and well ...
587 views

12k views

### Innovative ways of visualizing financial data

Finance is drowning in a deluge of data. Humans are not very good at comprehending large amounts of data. One way out may be visualization. Traditional ways of visualizing patterns, complexities and ...
4k views

### Excellent information source on advanced machine learning / data mining based trading?

I did check the related posts, like this one here. However, given if one already has knowledge in finance, machine learning and statistics, and wants to know something more advanced on machine ...
37k views

### Why is C++ still a very popular language in quantitative finance? [closed]

I had to ask this question after reading the answers to What programming languages are most commonly used in quantitative finance? I understand that C++ programs can be optimized pretty well and are ...
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 ...
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, ...
4k views

### What are the popular methodologies to minimize data snooping?

Are there common procedures prior or posterior backtesting to ensure that a quantitative trading strategy has real predictive power and is not just one of the thing that has worked in the past by pure ...
16k views

### Why does the minimum variance portfolio provide good returns?

I've been a researching minimum variance portfolios (from this link) and find that by building MVPs adding constraints on portfolio weights and a few other tweaks to the methods outlined I get ...
12k views

### Usage of NoSQL storage in Finance

I am wondering if anyone has used NoSQL (mongodb, cassandra, etc.) to store and analyze data. I tried searching the web but was not able to see if the financial firms had gotten in to using nosql ...
7k 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 ...
8k views

### What is a good broker for HFT?

Currently I trade trough IB. I run my HFT strategies (100 roundtrips per hour) but I think that latency is killing me and my profits are shrinking. I need the fastest possible brokers out there which ...
3k views

### Has spectrum analysis ever been used successfully to analyse historical price data?

Spectrum analysis is often used to analyse waveforms. A common configuration, for example, is to create a graph where X is time, Y is frequency, and the brightness of each position represents ...
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 ...
5k views

### Which approach to estimating fundamental factor models is better, cross-sectional (unobservable) factors or time-series (observable) factors?

There are many approaches to estimating fundamental factor equity models. I would like to focus on two traditional methods: The time-series regression approach of Fama and French. Factors are ...
1k views

I am looking for academic articles which model the p&L of market makers. I have read the Ho-Stoll (1984) article. Is there any recent article on this subject?
2k views

### Are there any new Option pricing models?

Back in the mid 90's I used the Black-Scholes Model and the Cox-Ross-Rubenstein (Binomial) Model's to price Options. That was nearly 15 years ago and I was wondering if there are any new models being ...
10k 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. ...
6k views

### Implementing data-structures in a Limit order book

I'm working on implementing a 'LOB' and I'm being very careful about choosing my data-structures so as to maximize performance. Using F# as an example, I need to consider a List versus Array for ...
11k views

### Switching from Matlab to Python for Quant Trading and Research

Has anybody else out there made this switch? I'm considering it right now. What were the negatives and positives of the switch?
31k 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 ...
11k views

### Is Scala used in trading systems

I'm curious about high performance computing and consider algo/program trading as an interesting source of information about what are performant technologies that are used to trade the markets. Is ...
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 ...
1k views

### From a high frequency point of view, with a price prediction and assuming infinite leverage, how do you determine optimal trade size?

I have read about something like Kelly criterion for long term expectation maximization assuming a fixed starting bankroll. But if one can assume unlimited leverage, and one has a signal for a price ...
4k views

### How do I find the most diversified portfolio, or least correlated subset, of stocks?

I have a trading system that chooses top 10 stocks in Nasdaq 100 ranked on relative strength and some other factors. However, I'd like to take positions in only 5 of these 10 stocks based on how ...
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 ...
6k views

### Free intra-day equity data source

Are there any free data source for historical US equity data? Yahoo finance has daily prices but I'm looking for something more granular and goes back 2 or more years (doesn't have to be close to tick ...
3k views

### Should Sharpe ratio be computed using log returns or relative returns?

I am trying to reconcile some research with some published values of 'Sharpe ratio', and would like to know the 'standard' method for computing the same: Based on daily returns? Monthly? Weekly? ...
5k views

### Is there an all Java options-pricing library (preferably open source) besides jquantlib?

I am looking for an all-java implementation of black scholes, preferably open source. I found jquantlib and quantlib (C++). Any other recommendations? The jquantlib site seems to be down. I'd prefer ...