Skip to content

Commit

Permalink
feat: stabalize variance gamma
Browse files Browse the repository at this point in the history
  • Loading branch information
dancixx committed Feb 19, 2024
1 parent 79a0edc commit d59d841
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,8 @@ Minimal documentation is available at [stochastic-rs](https://docs.rs/stochastic
- [x] Cox-Ingersoll-Ross process
- [x] Ornstein-Uhlenbeck process
- [x] Jacobi process
- [x] Variance Gamma model


# Stochastic models
- [x] Heston model
Expand Down Expand Up @@ -55,7 +57,6 @@ Minimal documentation is available at [stochastic-rs](https://docs.rs/stochastic
- [ ] Vasicek model
- [ ] Duffie-Kan model
- [ ] Jump-diffusion model
- [ ] Variance Gamma model
- [ ] Normal Inverse Gaussian model

## Future work
Expand Down
1 change: 0 additions & 1 deletion src/jumps/vg.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,6 @@ use ndarray::Array1;
use rand::Rng;
use rand_distr::Gamma;

// TODO: under development
pub fn vg(mu: f64, sigma: f64, nu: f64, n: usize, x0: Option<f64>, t: Option<f64>) -> Vec<f64> {
let dt = t.unwrap_or(1.0) / n as f64;
let rng = rand::thread_rng();
Expand Down

0 comments on commit d59d841

Please sign in to comment.