Andy Pack 96c40481c0
Some checks failed
Build Binaries / Build Python (push) Has been cancelled
Build Binaries / Build .NET (push) Has been cancelled
Build Binaries / Publish .NET (push) Has been cancelled
Build Binaries / Build WASM (push) Has been cancelled
Build Binaries / Publish NPM (push) Has been cancelled
Build Binaries / Publish Rust Library (push) Has been cancelled
Build Binaries / Publish Python Library (push) Has been cancelled
Build Binaries / Build & Test (push) Has been cancelled
fixing publish indentation
2025-02-18 18:50:31 +00:00
2025-02-17 23:22:55 +00:00
2025-02-16 16:57:07 +00:00
2025-02-17 23:22:55 +00:00
2025-02-16 16:57:07 +00:00
2025-02-15 01:05:20 +00:00

finlib

Build Binaries

Some quantitative finance functionality written in Rust and consumable from many higher-level languages.

Derivatives Pricing

  • Options
    • Black-Scholes
      • Prices
      • Greeks

Risk

  • Value-at-Risk
    • Historical
    • Variance-Covariance (Parametric)
      • Single Asset
      • Portfolio

FFI

  • C++
    • FFI header files for C++ are generated automatically during build by cbindgen.
  • .NET
    • FFI wrapper code for C# tareting .NET Standard 2.0 is generated automatically using csbindgen.
  • Python
    • An adapter library for Python is generated usign PyO3
  • WASM (Js)

.NET

cargo build
cd FinLib.NET
dotnet build

Python

cd pyfinlib
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txt
maturin develop

WASM

cd finlib-wasm
wasm-pack build
Description
Quant finance functions written in Rust with FFIs to C/C++, C#, Python, WASM
https://sarsoo.github.io/finlib/
Readme 1,014 KiB
Languages
Rust 80.9%
C# 12.8%
JavaScript 4%
C++ 1.3%
HTML 0.8%
Other 0.2%