# All Questions

110 views

### Stochastic Volatility CIR estimation

Would anyone have a code (pref. Matlab or R) for any type of estimation (QML, GMM) not using option prices of a stochastic volatility model driven by a CIR process described below? ...
6 views

60 views

### Fractals indicator (Bill Williams) R Quantstrat

Hi has anyone seen or know how to create an indicator for fractals in quantstrat? fractals explained http://forex-indicators.net/bill-williams/fractals example code (only interested in type 1 ...
54 views

### Transaction costs on option trades

It looks like the commissions alone for a non-index option trade is around 2-5%. For example, a BAC June ATM Call is currently trading at \$0.20; Interactive Brokers charges$0.7 per contract, which ...
120 views

### Covariance structure of call option surface

Assume the observed call option prices $C(K_i,T_i)$ for $i = 1,\dots,N$ are disturbed by some unknown measurement noise $\epsilon$. What would an appropriate covariance structure be for $\epsilon$? ...
20 views

### According to Lo and MacKinlay (1990), momentum profits can be divided in 3 parts. What do they represent exactly?

At first, Lo and MacKinlay (When are Contrarian Profits Due to Stock Market Overreaction?, 1990) didn't do it for momentum precisely. However,Kyung-In Park and Dongcheol Kim (Sources of Momentum ...
29 views

### Geometric Brownian Motion in a general interval $[t_1,t_2]$

I know that the Geomtric Brownian Motion, with the expresion $dX_t = v X_t dt + \sigma X_t dW_t$ has the next solution $$X_t = X_0 e^{\sigma W_t+ (v-\frac{\sigma ^2}{2})t}$$ on the interval [0,t]. ...
15 views

### Time discretisations, FDM vs FEM

I am interested in adaptive mesh methods for numerical solution of PDEs with applications to finance. As part of a school project, I have been pricing vanilla European call and put options using 2D ...
59 views

164 views

### What are the main market anomalies/inefficiencies detected in quantitative finance?

I wondered about the existence of a complete list of the anomalies detected in quantitative finance. Generally, a market anomaly or inefficiency is a asset price and/or rate of return distortion on a ...
34 views

### What is the machine learning language of choice in this industry for unsupervised learning

I was wondering from those with commercial machine learning financial experience, what the machine learning language of choice in this industry in the most general sense. Also, what would be the ...
20 views

### What's the best proffesional forex market data feed out there?

I trade forex latency arbs and find it harder and harder to get a reliable New York market data feed to server my purpose. Reuters and EBS send timesliced updates every 500ms for 5k/month which is ...
54 views

### Extended CIR and discretization

Did someone know how to discretize this process efficiently : $dX(t) = \kappa [\theta(t)-X(t)]dt + \sigma \sqrt{X(t)}dW(t)$ I am looking for something more sophisticated than the trivial Euler ...
12 views

### Examples using PyOpenCL for backtesting trading strategies?

Anyone used PyOpenCL for backtesting trading strategies? Any qualitative/quantitative benchmarks of implementations in Python, Cython, PyOpenCl? Is it worth it spending time implementing extra Lines ...
79 views

### Derivation of Stochastic Vol PDE

A couple questions regarding stochastic vol PDE derivation. Following Gatheral, a general stochastic vol model is given by \begin{align*} dS(t) & = \mu(t) S(t) dt + \sqrt{v(t)}S(t) dW_1, \\ dv(t) ...
108 views

### Closed form solution of PDE of Option Price

Let $V=V(S_t,t)$ be the option price and \begin{align} V_t+\mu\,S\,V_S+\frac{1}{2}\sigma^2\,S^2\,V_{SS}=0\\ V(S_T,T)=\ln (S_T)^{2}. \end{align} My question: How can I obtain a closed form solution of ...
130 views

### Deriving the definition of stochastic integrals with respect to Ito processes from first principles

When I first encountered the definition of integrals with respect to Ito processes (Shreve's Stochastic Calculus for Finance Vol II), I didn't think twice. However, I wanted to see if the definition ...
437 views

### Do hedge fund trading desks use portfolio optimization?

I tend to think that hedge funds that actively trade (and most of the ones I have seen trade very actively), don't use optimization methods like MVO or ...
42 views

### What is the best data structure/implementation for representing a time series in C#?

I'm looking for a tick by tick high performance container. So far I've been using List where Tick is a simple struct with a DateTime and double field. I'm using Linq for date lookups but it's ...
102 views

### How to get around flat likelihood function when calibrating GBM parameters

(Hope this is the correct place for this question - I posted it first on stackoverflow:) I want to calibrate jointly the drift mu and volatility sigma of a geometric brownian motion, ...
70 views

### Q regarding amortization of 500,000 loans

I am brand new to this forum. I asked this question on the main StackOverflow site and it was suggested that I ask here. My task is to find a method to quickly calculate the monthly cash flow on ...
173 views

### How to calculate implied volatility smile of basket using correlations?

For a basket, the realized volatility can be calculated using: $$\sqrt{\sigma_1^2 + \sigma_2^2 + 2 \sigma_1 \sigma_2 \rho}$$ If I have the volatility surface of two underlyings S1,S2 (strike space). ...
84 views

### Regression model when samples are small and not correlated

I received this question during an onsite interview for a quant job and I'm still scratching my head on how to solve this problem. Any help would be appreciated. Mr Quant thinks that there is a ...
11 views

### Is probability implied by binary FX options risk neutral or real world?

If we consider binary FX options in the market and estimate the market implied probabilities of certain FX rates occurring, would these resulting probabilities be risk neutral or real world? I hear ...
68 views
+50

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

### Conversion of SPY prices to ES prices

I have a system that I use intraday that works great on SPY. Due to the extra leverage available plus other benefits I am thinking about trading the system using ES. Is there a conversion factor ...