14
votes
7answers
7k 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?
10
votes
8answers
1k 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 ...
19
votes
5answers
2k 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 ...
15
votes
6answers
3k 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 ...
13
votes
5answers
12k 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 ...
14
votes
4answers
6k 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 ...
12
votes
4answers
3k 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 ...
14
votes
2answers
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 ...
11
votes
2answers
2k 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 ...
27
votes
6answers
1k 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 ...
14
votes
4answers
1k 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 ...
10
votes
4answers
1k views

What books should any quantitative portfolio manager or risk manager have as reference? [closed]

I'm interested to know what are the critical reference texts you rely on for portfolio or risk management? I mean those texts that you come back to because they are chock full of insight and know-how. ...
6
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
10
votes
2answers
1k 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.
9
votes
1answer
525 views

One dimensional analog of cleansing a correlation matrix via random matrix theory

The general idea of cleansing a correlation matrix via random matrix theory is to compare its eigenvalues to that of a random one to see which parts of it are beyond normal randomness. These are then ...
8
votes
1answer
658 views

Forward Adjusting Stock Prices?

How should one correctly forward adjust historical prices given a time series of Open, High, Low, Close, Return? Suppose that the data series is given below ('1' is the oldest interval; '5' is the ...
17
votes
2answers
2k 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 ...
11
votes
3answers
944 views

How do strategies deal with corporate actions?

There are many corporate actions that will affect the stock price, like dividend, stock split and rights. Given a large series of historical price data, how do we adjust the data to filter out the ...
10
votes
3answers
3k 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 ...
7
votes
1answer
355 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: ...
11
votes
2answers
1k 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 ...
10
votes
8answers
5k views

Is “eoddata” a good data source?

Not sure if this is a relevant question for site, but I am looking to move to www.eoddata.com as my data source. If anyone has used it, can you tell me how the data quality is ? I am currently ...
9
votes
1answer
890 views

Is there a popular curve fitting formula of options skew vs strike price or vs Delta?

I was trying to build a options trading/optimization system. But it often gets more inaccurate as it scans through the far from ATM options because, you know, options skews. That is because I did ...
12
votes
1answer
4k 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: R<=x | Test Stat | 90% | 95% | 99% r=0 --> 36.7 | 18.9 | 21.1 | 25.8 r=1 --> ...
12
votes
4answers
2k views

Are two identical time series cointegrated?

I did cointegration test on two identical time series, and the result shows that they are not cointegrated, but intuitively, I think they are. Can anyone share some thoughts on this? Thanks!
11
votes
1answer
710 views

So many volatility models. Any comparisons of them?

Are there any papers that make an explicit contrast/comparison of the following (or other) vol models in terms of the suitability for addressing some empirical problem? Wavelet multiresolution ...
11
votes
6answers
2k views

Why does the VIX index have *any* correlation to the market?

It appears that the log 'returns' of the VIX index have a (negative) correlation to the log 'returns' of e.g. the S&P 500 index. The r-squared is on the order of 0.7. I thought VIX was supposed to ...
10
votes
5answers
1k views

How to interpolate gaps in a time series using closely related time series?

I am trying to construct a daily time series of prices and returns for some large universe of securities. However, all I have available are a monthly time series of the prices/returns (as well as ...
10
votes
2answers
666 views

When should you build your own equity risk model?

Commercial risk models (e.g., Barra, Axioma, Barclays, Northfield) have evolved to a very high level of sophistication. However, all of these models attempt to solve a very broad set of problems. ...
10
votes
8answers
13k views

What is the difference between Option Adjusted Spread (OAS) and Z-spread?

I am preparing for the CFA level 2 exam, I got confused by the concept Z-spread and OAS. When a call option is added to a bond, since it is not favorable to the bond buyer, they would require more ...
9
votes
3answers
4k 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
2answers
922 views

How to calculate the most realistic historical option prices with additional publicly available parameters

This is a follow up question of this one. My aim is to create the most realistic historical option prices possible with publicly available data. I want to do this for backtesting purposes. The ...
7
votes
4answers
965 views

Library to solve optimization problems

I'm working with C# and I start being bored writing optimization algorithm. Do you know of any free library containing this sort of algorithms. In particular I'm cutrently working with Semidefit ...
7
votes
3answers
5k views

Trading C++ Libraries

Are there any free c++ libraries that would have some of the functions that would be used in developing a trading strategy. For instance, calculating drawdown, Volatility Forecasting, MAE, MFE....etc. ...
5
votes
1answer
399 views

Multi Fractals Models

From a quant point of view, how would you explain Multi Fractals Models 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 ...
5
votes
1answer
558 views

Trade execution in HFT - role of quants

What is the role of quants in trade execution in high frequency trading? AFAIR in "normal" trading trade execution is considered a very mundane task. What role can quantitative modelling play in trade ...
3
votes
2answers
137 views

Shortcomings of generalized Brownian motion for asset price modelling

I'm simply interested on hearing some views on which shortcomings arise by using the (multidimensional) SDE $$dS(t)=S(t)\alpha(t,S(t))dt+S(t)\sigma(t,S(t))dW(t)$$ as a model for asset prices. I know ...
11
votes
3answers
2k views

How are limit orders selected from the order book?

I'm sure there is a simple answer to this but I haven't had any luck with searches. I'm just wondering when someone places a market order which order(s) from the limit order book are selected to fill ...
5
votes
4answers
2k 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?
5
votes
3answers
484 views

Data Synchronization

I'm working on market trends. I have daily prices for 33 assets from different markets. I was wondering if there is a way to cancel the effects of different opening/closing times. I have been told ...
5
votes
1answer
288 views

How to value a floor when a loan is callable?

Certain bank loans pay a spread above a floating-rate interest rate (typically LIBOR) subject to a floor. I would like to find the value of this floor to the investor. Assume for this example that ...
4
votes
0answers
46 views

FTAP a-la Harrison, Kreps and Pliska

I was reading the papers co-authored by Harrison, Kreps and Pliska, that initiated the formal research on the connection between pricing, martingale measures, arbitrage and completeness. I have some ...
4
votes
2answers
788 views

How to make the final Interpretation of PCA?

I have question regarding final loading of data back to original variables. So for example: I have 10 variable from a,b,c....j using returns for last 300 days i got return matrix of 300 X 10. ...
3
votes
2answers
230 views

Forcing price to rise or fall by high volume buying and shorting

Is there an a name for the approach / strategy to artificially move a price either up or down by high volume buying or shorting. ie. Buying a large (say 5%) of a stock very quickly, thus ...
3
votes
3answers
676 views

What are the limits of bond portfolio immunization against interest rate changes?

I'm currently reading through an article on bond portfolio immunization against changes in the interest rate. I learned that the immunization can be done against instant changes in interest rate ...
2
votes
1answer
633 views

Modelling VIX Futures for risk management

I would like to model VIX futures. The aim is not pricing but risk management. Thus I want to get risk measures like volatility right and be able to accurately calculate correlations when the VIX ...
1
vote
1answer
86 views

Implied state price density (Question 1 - derivation of the formula)

I came upon the term "implied state price density" in a couple of papers. As far as I understand the concept one basically tries to extract the "pricing density" from the market data. For the sake ...
8
votes
3answers
469 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 ...
4
votes
1answer
270 views

What is the relative performance of hard-to-borrow securities?

Is there any research on the equity return performance of hard-to-borrow securities? Many shops will simply screen for hard-to-borrow and eliminate these names from their short book. Anecdotally, ...
2
votes
1answer
219 views

What are $d_1$ and $d_2$ for Laplace?

What are the formulae for d1 & d2 using a Laplace distribution?

15 30 50 per page