#characteristics #function #cf #distributions #variety

cf_functions

A library which has characteristic functions for a variety of distributions

20 releases (breaking)

0.16.0 Sep 4, 2021
0.14.0 Jan 11, 2020
0.13.0 Mar 2, 2019
0.10.0 Sep 23, 2018
0.2.0 Jul 16, 2018

#3 in #distributions

Download history 33/week @ 2024-11-27 283/week @ 2024-12-04 214/week @ 2024-12-11 23/week @ 2024-12-18 9/week @ 2024-12-25 112/week @ 2025-01-01 15/week @ 2025-01-08 77/week @ 2025-02-05 1/week @ 2025-02-19 19/week @ 2025-02-26

97 downloads per month
Used in 2 crates

MIT license

62KB
1K SLoC

[lin-badge]: https://github.com/danielhstahl/cf_functions_rust/workflows/Rust/badge.svg [cov-badge]: https://codecov.io/gh/danielhstahl/cf_functions_rust/branch/master/graph/badge.svg

Linux Codecov
![lin-badge] ![cov-badge]

CF functions

Implements common CF functions in Rust

References

Duffie: http://web.stanford.edu/~duffie/dps.pdf

Carr-Geman-Madan-Yor: http://finance.martinsewell.com/stylized-facts/distribution/CarrGemanMadanYor2002.pdf

My ops-risk paper: https://github.com/danielhstahl/OpsRiskPaper/releases/download/0.1.0/main.pdf

Benchmarks

https://danielhstahl.github.io/cf_functions_rust/report/index.html

Crates

https://crates.io/crates/cf_functions


lib.rs:

Provides several common characteristic functions for option pricing. All of the characteristic functions are with respect to "ui" instead of "u".

Dependencies

~250–355KB