All Questions

3k views

What C++ math libraries are typically used by quants?

Before you mark question as off-topic, please read it - it is, actually, quant-related. Basically, I'm working on an app that spits out a lot of C++ math. When it comes to simple things like ...
19k views

how to derive yield curve from interest rate swap?

According to some textbooks, to derive the yield curve, quote overnight to 1 week: rates from interbank money market deposit, 1 month to 1 year: LIBOR; 1 year to 7 years: Interest Rate Swap; 7 ...
22k 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?
2k views

How to incorporate technical indicators into neural networks?

I plan to develop a neural network to trade commodities futures, but while messing around with some code, a question came up. If I understand correctly, people use various technical indicators with ...
12k views

Correlation between prices or returns?

If you are interested in determining whether there is a correlation between the Federal Reserve Balance Sheet and PPI, would you calculate the correlation between values (prices) or period-to-period ...
1k views

What are the limitations of Gaussian copulas in respect to pricing credit derivatives?

The practice of using Gaussian copulas in modeling credit derivatives has come under a lot of criticism in the past few years. What are the major arguments against using the copula method in this ...
2k views

Formal proof for risk-neutral pricing formula

As you know, the key equation of risk neutral pricing is the following: $\exp^{-rt} S_t = E_Q[\exp^{-rT} S_T | \mathcal{F}_t]$ That is, discounted prices are Q-martingales. It makes real-sense for ...
2k views

Is there any good research on support and resistance?

Could somebody advise me on where to find good literature on the justification or motivation for using support and resistance lines - and also lines of maximums and minimums. In finance, it is ...
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 ...
9k views

Are there any good tools for back testing options strategies?

There are all kinds of tools for backtesting linear instruments (like stocks or stock indices). It is a completely different story when it comes to option strategies. Most of the tools used are ...
3k views

Why is the VIX futures market usually in a state of contango?

I'm a VIX newbie and I'm trying to understand why the VIX futures market is usually in a state of contango. All I can figure is that the sellers of VIX futures contracts demand high "prices" (because ...
5k views

Applications of Fourier theory in trading

What are fashionable applications of Fourier analysis in trading? I have heard vague ideas of applications in High Frequency Trading but can somebody provide an example, maybe a reference? Just for ...
747 views

Please give a step-by-step explanation on how to build a factor model

Factor models such as Fama-French or the other ones that are partially summarized here work on the cross-section of asset returns. How are the factors built, how are sensitivities/coefficients ...
2k 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 ...
4k 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 ...
4k views

portfolio optimisation with VaR (or CVaR) constraints

I would like to optimize a portfolio allocation (maximizing the exposure or the expected return), but with VaR or CVaR contraints. (some parts of my portfolio cannot exceed a certain VaR) How can I ...
936 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 ...
252 views

How reliable is Benford's Law in forecasting crises?

I was recently reading an article about how financial accounting has increasingly deviated from the ratios expected by Benford's Law. (Benford's Law and Decreasing Reliability). The author discusses ...
780 views

Duality between constant rebalanced portfolio (CRP) and corresponding derivative

One of the greatest achievements of modern option pricing theory is finding corresponding dynamical trading strategies in linear instruments with which you can replicate and by that price derivative ...
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 ...
5k views

Free market data (delayed or snapshot)

I know there are similar questions but I don't think there are any identical ones. Basically, I'm looking for one of these two things. Delayed market data feed. A tick by tick feed, but delayed by ...
8k 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 ...
908 views

How to forecast expected volatility from high-frequency equity panel data?

I'm wading through the vast sea of literature on realized volatility estimation and expected volatility forecasting (see, e.g. Realized Volatility by Andersen and Benzoni, which cites 120 other ...
1k views

How does one analyze diversification if stock prices follow a Cauchy distribution?

How does diversification actually lead to less variance in a portfolio? I'm looking for a formal reason why this is the case. There are a number of explanations I have been able to find, but they make ...
408 views

What should be considered when selecting a windowing function when smoothing a time series?

If one wants to smooth a time series using a window function such as Hanning, Hamming, Blackman etc. what are the considerations for favouring any one window over another?
2k views

statistical arbitrage option overlay strategies / volatility trading

Here's an interesting trading puzzle that I would love to get the community's input on. Let's say there exists an alpha signal that does a good job of sorting equities expected excess returns over ...
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 ...
30k views

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 ...
2k views

How to optimally allocate capital among trading strategies?

I'm trying to find an optimal way to allocate capital among trading strategies. "Quantitative Trading" by Ernie Chan claims on page 97 that the optimal fraction of capital to allocate to a given ...
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 ...
2k 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.
1k views

is beta of a portfolio always meaningful?

Consider the following strategies: a stat arb strategy with no overnight exposure, but significant market exposure intraday. a market timing model which is always long or short the market. etc is ...
8k views

What is the implied volatility skew?

I often hear people talking about the skew of the volatility surface, model, etc... but it appears to me that a clear standard definition is not unanimously in place among practitioners. So here is ...
13k views

How high of a Sharpe ratio is implausibly high for a low-frequency equity strategy?

I am looking to convince someone that an annualized Sharpe Ratio of 7 is 'extremely high' for a low frequency (daily rebalancing, say) long-short technical strategy on U.S. equities. I was hoping for ...
7k views

Should I use an arithmetic or a geometric calculation for the Sharpe Ratio?

What are the advantages/disadvantages of using the arithmetic Sharpe Ratio vs the geometric Sharpe Ratio? Is one more correct? Or is one better in certain circumstances?
6k views

R: How feasible is it to store — and work with — tick data in a database connected to R?

I'm looking to convert some tickdata .csv files into a database on a local disk and then use R to call the data and do my various analytics and modelling. What are some best practices / ...
3k views

At what point does someone using technical analysis become a Quant?

Sorry if the question sounds rough. It's not my intention to devaluate something I've not yet understood like Quantitative Finance. So to keep it simple: is Quantitative Finance a science, like ...
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!
2k views

How do you evaluate a covariance forecast?

Suppose you have two sources of covariance forecasts on a fixed set of $n$ assets, method A and method B (you can think of them as black box forecasts, from two vendors, say), which are known to be ...
3k views

How to combine multiple trading algorithms?

Is it possible to combine different algorithms so as to improve trading performance? In particular, I have read that social media sentiment tracking, digital signal processing and neural networks all ...
2k views

What are some quantitative approaches to value investment?

As a developer and statistician, I consider value investing to be a statistically sound investment strategy. I've read a few books on the area but I am still not clear on valuation measures. So I ...
1k views

How to encode trading strategies mathematically

If you have a bunch of different econometric data (e.g. indexes, FX, commodities, interest rates...) you can try to find a formula to see if there is any relationship in the data - e.g. to forecast ...
4k views

What are the best Journals & Conferences in Quantitative Finance?

What are some of the most prominent journals, conferences and publishing venues in Quantitative Finance research? Where can I find information more information about them? (e.g. impact factor and ...
5k 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 ...
583 views

Issues when considering a quantitative trading/finance firm

I have an upcoming quantitative trading interview (prop desk at a large bank), and I would like to have some good questions to ask about the group. However, I am changing fields from academia and I do ...
3k views

What is a “coherent” risk measure?

What is a coherent risk measure, and why do we care? Can you give a simple example of a coherent risk measure as opposed to a non-coherent one, and the problems that a coherent measure addresses in ...
737 views

What are some research articles on using principle components to generate alpha?

Here's an example by Marco Avellenada from NYU titled "Statistical Arbitrage in the U.S. Equities Market". The idea of this paper involves capturing mean reversion in the residual returns of a ...
2k 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. ...
There is a vast literature on copula modelling. Using copulas I can describe the joint law of two (and more) random variables $X$ and $Y$, i.e. $F_{X,Y}(x,y)$. Very often in risk management (credit ...