C# Класс VarianceGamma.VarianceGammaOptimizationProblem

Describes the Variance Gamma Optimization problem.
Наследование: IOptimizationProblem
Показать файл Открыть проект Примеры использования класса

Открытые методы

Метод Описание
G ( Vector x ) : Vector

This method is unused but part of the interface.

Grad ( Vector x ) : Vector

This method is unused but part of the interface.

Obj ( Vector x ) : double

Calibration objective function.

VGDiff ( Vector x, double q, double s0, Vector k, double r, System.Matrix cp, Vector m ) : double

Returns the root mean square error between market and model call prices

VarianceGammaOptimizationProblem ( double q, double s0, Vector k, double r, System.Matrix cp, Vector m ) : System

Initializes a new instance of the VarianceGammaOptimizationProblem class.

Описание методов

G() публичный Метод

This method is unused but part of the interface.
/// The exception is always thrown upon calling this method. ///
public G ( Vector x ) : Vector
x Vector The parameter is not used.
Результат Vector

Grad() публичный Метод

This method is unused but part of the interface.
/// The exception is always thrown upon calling this method. ///
public Grad ( Vector x ) : Vector
x Vector The parameter is not used.
Результат Vector

Obj() публичный Метод

Calibration objective function.
public Obj ( Vector x ) : double
x Vector /// The vector of parameters. ///
Результат double

VGDiff() публичный статический Метод

Returns the root mean square error between market and model call prices
public static VGDiff ( Vector x, double q, double s0, Vector k, double r, System.Matrix cp, Vector m ) : double
x Vector Parameter vector
q double Dividend yield
s0 double Index starting value
k Vector Call strike vector
r double Short rate
cp System.Matrix Call price matrix
m Vector Call maturity vector
Результат double

VarianceGammaOptimizationProblem() публичный Метод

Initializes a new instance of the VarianceGammaOptimizationProblem class.
public VarianceGammaOptimizationProblem ( double q, double s0, Vector k, double r, System.Matrix cp, Vector m ) : System
q double The dividend yield.
s0 double The actual value of stock.
k Vector The strike Prices (unrolled).
r double The risk free rate.
cp System.Matrix The observed call prices (unrolled).
m Vector The Maturities (unrolled).
Результат System