Skip to main content

Quant finance functions implemented in Rust

Project description

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

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyfinlib-0.0.8.tar.gz (30.4 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyfinlib-0.0.8-cp38-abi3-manylinux_2_34_x86_64.whl (357.0 kB view details)

Uploaded CPython 3.8+manylinux: glibc 2.34+ x86-64

File details

Details for the file pyfinlib-0.0.8.tar.gz.

File metadata

  • Download URL: pyfinlib-0.0.8.tar.gz
  • Upload date:
  • Size: 30.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: maturin/1.8.2

File hashes

Hashes for pyfinlib-0.0.8.tar.gz
Algorithm Hash digest
SHA256 49b6c75729e5e78f50c7b2de8532dae54006a1dc1b9b0b1027c5f394cced26b0
MD5 00aaf86590ae171d590b53c2ce93def3
BLAKE2b-256 3d68457f97ba1cc3f760d887f6dbd4b2f04ddf0151d9b76f973e87d210141e59

See more details on using hashes here.

File details

Details for the file pyfinlib-0.0.8-cp38-abi3-manylinux_2_34_x86_64.whl.

File metadata

File hashes

Hashes for pyfinlib-0.0.8-cp38-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 f28929e4535eec5045d3909ae43c46a0a5b84e5a62e8383d385466616ae06b44
MD5 085b5cb510580154eac70115b0bcfafc
BLAKE2b-256 22694113deb733779f4c017a4f458514229584e0ce466d121038cd50425b5ef5

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page