Search
× Search
Tuesday, November 19, 2024

Archived Discussions

Recent member discussions

The Algorithmic Traders' Association prides itself on providing a forum for the publication and dissemination of its members' white papers, research, reflections, works in progress, and other contributions. Please Note that archive searches and some of our members' publications are reserved for members only, so please log in or sign up to gain the most from our members' contributions.

Free Downloadable C++ Source code for the paper: Solution of Stochastic Volatility Models using Variance Transition Probabilities and Path Integrals

photo

 Ahsan Amin, CEO at Infiniti Derivatives Technologies

 Tuesday, November 11, 2014

Now you can download the free C++ source code for the numerical method in this paper that I have attached to the Wilmott thread. http://www.wilmott.com/messageview.cfm?catid=4&threadid=92316 You can download the original paper here: http://papers.ssrn.com/sol3/papers.cfm?abstract_id=2149231 Abstract: In this paper, we solve the problem of solution of stochastic volatility models in which the volatility diffusion can be solved by a one dimensional Fokker-planck equation. We use one dimensional transition probabilities for the evolution of PDE of variance. We also find dynamics of evolution of expected value of any path dependent function of stochastic volatility variable along the PDE grid. Using this technique, we find the conditional expected values of moments of log of terminal asset price along every node of one dimensional forward Kolmogorov PDE. We use the conditional distribution of moments of above path integrals along the variance grid and use Edgeworth expansions to calculate the density of log of asset price. Main result of the paper gives dynamics of evolution of conditional expected value of a path dependent function of volatility (or any other SDE) at any node on the PDE grid using just one dimensional PDE if we can describe its one step conditional evolution between different nodes of the PDE


Print

2 comments on article "Free Downloadable C++ Source code for the paper: Solution of Stochastic Volatility Models using Variance Transition Probabilities and Path Integrals"

photo

 Ahsan Amin, CEO at Infiniti Derivatives Technologies

 Thursday, November 13, 2014



There are some more possibilities for people who are more interested in improving stochastics part of the project. Since we know the value of various moments and cross moments of the integrals of both correlated and uncorrelated parts of the log of Asset price diffusion along all the variance grid points, it could be possible to locally construct the characteristic function of the desired log of asset price in terms of powers of transform parameter, and then add different terms weighted with their respective probabilities along all of the grid points. And then we could have a characteristic function in the form of a polynomial in the transform parameter. I have not written anything on the lines on the paper so there might be some hurdles but this seems a much better approach to the problem than the edgeworth expansions and may become perfectly precise with a bit of research. This is a thought for people who want to improve the stochastics part of the work.


photo

 Ahsan Amin, CEO at Infiniti Derivatives Technologies

 Monday, November 17, 2014



Since we know the value of various moments and cross moments of the integrals of both correlated and uncorrelated parts of the log of Asset price diffusion along all the variance grid points, it could be possible to locally construct the characteristic function of the desired log of asset price in terms of powers of transform parameter, and then add different terms weighted with their respective probabilities along all of the grid points. And then we could have a characteristic function in the form of a polynomial in the transform parameter. This seems a much better approach to the problem than the edgeworth expansions and may become perfectly precise with a bit of research.

The methodology can also be used for Hybrids and other reduced factor high dimensional models. Let us say we have a hybrid depending upon two/three correlated assets with their own stochastic volatilities (with these SV's uncorrelated with each other but possibly correlated with their own assets) and we can write the evolution of the total process in the form of a logarithm independent of the asset price itself but depending on the variances. We can orthogonalize the total process in terms of two/three independent factors each depending simultanously on two/three uncorrelated stochastic volatilities. We could do one dimensional evolution of each SV process using the one dimensional transition probabilities and find different values of moments of the related stochastic integrals. There are terms in the form of the cross product of the square root of variances but they can easily be handled without any two/three dimensional transition densities since the SV's are uncorrelated. We can finally construct a single characteristic function in the form of sum of the independent eigenvectors. Please note that each eigenvector has simultaneous dependence on all of the SV processes. Reduced factor LIBOR Market Model also falls in the same category after the freezing of the drift recipe. It is also possible to apply the method on LIBOR Market model with stochastic basis.

We could also work with other interesting stochastic differential equations for variance other than standard mean reverting or normal/lognormal as long as we could find the moments of the integral of SDE of variance using one dimensional transition probabilities which could be possible for a very large class of variance SDEs. Since most models in vogue today are limited due to analytical tractability of Fourier/Laplace transform methods, the Lahore method of solution of SV equations would help to work with much larger class of variance SDEs.

With a bit of hack, you could add other features like jumps in the model while retaining the framework of transition densities and the moments of various stochastic integrals leading to a characteristic function.

If somebody wants to discuss the possibility of the use of this method in more complicated problems, please feel free to discuss it with me on skype. My skype id is ahsan.amin2999 I know that the method could be used with a bit of effort in more complicated and sophisticated models in higher dimensions.

Please login or register to post comments.

TRADING FUTURES AND OPTIONS INVOLVES SUBSTANTIAL RISK OF LOSS AND IS NOT SUITABLE FOR ALL INVESTORS
Terms Of UsePrivacy StatementCopyright 2018 Algorithmic Traders Association