pfhedge.instruments

Base Class

instruments.BaseInstrument

Base class for all financial instruments.

instruments.BasePrimary

Base class for all primary instruments.

instruments.BaseDerivative

Base class for all derivatives.

instruments.OptionMixin

Mixin class for options.

instruments.BaseOption

(deprecated) Base class for options.

Primary Instruments

instruments.BrownianStock

A stock of which spot prices follow the geometric Brownian motion.

instruments.HestonStock

A stock of which spot price and variance follow Heston process.

instruments.LocalVolatilityStock

A stock of which spot prices follow the local volatility model.

instruments.MertonJumpStock

A stock of which spot price and variance follow Merton Jump Diffusion process.

instruments.RoughBergomiStock

A stock of which spot price and variance follow rough Bergomi (rBergomi) process.

instruments.CIRRate

A rate which follow the CIR process.

instruments.VasicekRate

A rate which follow the Vasicek model.

Derivative Instruments

instruments.AmericanBinaryOption

American binary option.

instruments.EuropeanBinaryOption

European binary option.

instruments.EuropeanForwardStartOption

European forward start option.

instruments.EuropeanOption

European option.

instruments.LookbackOption

Lookback option with fixed strike.

instruments.VarianceSwap

Variance swap.