L1 Module User Guide¶
L1 Module is the low-level primitives which could be used to build kernel and accelerate the specific option pricing. Currently, it includes two evaluation models, Black-Scholes and Heston model, which present the change of stock price with time. It also provides Monte Carlo framework to calculate the price of option. During the evaluation of American Option, it uses Least-Square method and linear solver based on SVD decomposition.
Core Utility¶
- Random Number Generator
- PRNG (xoshiro128)
- Singular Value Decomposition (SVD)
- Tridiagonal Matrix Solver
- Pentadiagonal Matrix Solver
- Sobol Sequence Generator
- Brownian Bridge Transform
- Stochastic Process
- Ornstein-Uhlenbeck Process
- Meshers
- Numerical Integration Methods
- Principal Component Analysis
- Covariance Matrix and Regularizaiton
- Probability Distribution
- Interpolation
L1 Module APIs¶
- RNG
- XoShiRo128
- SobolRsg
- BrownianBridge
- TrinomialTree
- TreeLattice
- 1DMesher
- OrnsteinUhlenbeckProcess
- StochasticProcess1D
- HWModel
- G2Model
- ECIRModel
- CIRModel
- VModel
- HestonModel
- BKModel
- BSModel
- PCA
- BicubicSplineInterpolation
- CubicInterpolation
- BinomialDistribution
- bernoulliPMF
- bernoulliCDF
- covCoreMatrix
- covCoreStrm
- covReHardThreshold
- covReSoftThreshold
- covReBand
- covReTaper
- gammaCDF
- svd
- linearImpl
- mcSimulation
- normalPDF
- normalCDF
- normalICDF
- logNormalPDF
- logNormalCDF
- logNormalICDF
- pentadiagCr
- poissonPMF
- poissonCDF
- poissonICDF
- polyfit
- polyval
- polyint
- polyder
- trap_integrate
- simp_integrate
- romberg_integrate
- boxMullerTransform
- inverseCumulativeNormalPPND7
- inverseCumulativeNormalAcklam
- trsvCore