Mathematics for quantitative finance.
- For educational purposes only
- Work in progress
- ~7200 lines of code
- Parsing historical data from Yahoo Finance
- Gregorian calendar
- Day count conventions
- Time of day in nanoseconds
- Formatted time of day (hh:mm:ss.ms'us'ns)
- Bernoulli
- Beta
- Binomial
- Bivariate Normal
- Cauchy
- Chi
- Chi-squared
- Continuous Uniform
- Dirac Delta
- Discrete Uniform
- Exponential
- F
- Folded Normal
- Gamma
- Geometric
- Gumbel
- Half-Logistic
- Half-Normal
- Inverse Chi-squared
- Inverse Gamma
- Laplace
- Levy
- Log-Cauchy
- Log-Logistic
- Log-Normal
- Logistic
- Maxwell--Boltzmann
- Multinomial
- Negative Binomial
- Normal
- Poisson
- Rayleigh
- Student's T
- Student's T with Location-Scale
- Triangular
- Wald
- Weibull
- Ali--Mikhail--Haq
- Clayton
- Comonotonicity
- Countermonotonicity
- Farlie--Gumbel--Morgenstern
- Frank
- Galambos
- Gumbel
- Husler--Reiss
- Independent
- Joe
- Marshall--Olkin
- Plackett
- Wiener / Brownian Motion
- Brownian Bridge
- Geometric Brownian Motion
- Ornstein--Uhlenbeck / Vasicek
- Square-Root / CIR
- Exponential Vasicek
- Binomial Tree
- Trinomial Tree
- Gamma
- Poisson
- Euler--Maruyama
- Milstein
- Stochastic RK1
- Sample Mean
- Sample Variance
- Sample Covariance
- Sample Correlation
- Sample Skewness
- Sample Excess Kurtosis
- Min
- Max
- Range
- Geometric Mean
- Harmonic Mean
- Histogram Generation
- Empirical Distribution
- Kernel Density Estimation
- Cosine
- Epanechnikov
- Gaussian
- Logistic
- Quartic
- Silverman
- Triangular
- Tricube
- Triweight
- Uniform
- Ordinary Least Squares
- Generalized Least Squares
- Polynomial Regression
- Kernel Regression
- Bernoulli
- Exponential
- Geometric
- Maxwell--Boltzmann
- Normal
- Poisson
- Rayleigh
- Wald
- Chi
- Chi-squared
- Exponential
- Gamma
- Geometric
- Gumbel
- Laplace
- Logistic
- Maxwell--Boltzmann
- Normal
- Poisson
- Rayleigh
- Student's T
- Student's T with Location-Scale
- Wald
- Brute Force Grid
- Differential Evolution
- Sequential Minimal Optimization
- Line Search
- Gradient Descent
- Conjugate Gradient
- Fletcher--Reeves
- Polak--Ribiere
- Hestenes--Stiefel
- Conjugate Descent
- Dai--Yuan
- Exponential Moving Average
- Double Exponential Moving Average
- Simple Moving Average
- Weighted Moving Average
- Autoregression
- Shift Operator
- Finite Difference Operators
- Efficient Frontier
- Unconstrained
- Fully-Invested
- Capital Asset Pricing Model (CAPM)
- Black--Litterman
- Portfolios
- Backtest
- Stochastic Test
- Return
- Log Return
- Volatility
- Sharpe Ratio
- Drawdown
- Max Drawdown
- Moving Average Convergence/Divergence (MACD)
- Relative Strength (RS)
- Relative Strength Index (RSI)
- Exponential
- Logarithmic
- IsoElastic
- Absolute Risk Aversion
- Relative Risk Aversion
- Accumulation factor
- Discount factor
- Conversion between continuous and non-continuous conversion periods.
- Black--Scholes pricing for European options
- Zero Coupon Bond
- Fixed Coupon Bond
- Floating Rate Note
- Flat Yield Curve
- Nelson--Siegel Curve
- Svensson Curve
- Fibonacci Numbers
- Fibonacci Ratios
- Chebyshev
- Hermite
- Legendre
- Factorial
- Binomial Coefficient
- Beta
- Digamma
- Trigamma
- Rectangular grid in n-dimensions
- Finite differences for partial derivatives, laplacian
- Multi-Index
- Eigen for linear algebra