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.6.tar.gz (21.2 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.6-cp38-abi3-manylinux_2_34_x86_64.whl (297.4 kB view details)

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

File details

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

File metadata

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

File hashes

Hashes for pyfinlib-0.0.6.tar.gz
Algorithm Hash digest
SHA256 d69678c78a0dd698f4aa6f0f3a6f94c466a55b4ea84068c647de65dfa1177b11
MD5 314a71968cfabf69d88b44201cccfa7c
BLAKE2b-256 e37a4fc861acd0db7bbf51cc8defea78a00073d782ff21f77082bae0b4dacb50

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfinlib-0.0.6-cp38-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 1ac5a2df01d5ff68b33a6c2173d7da1c69657a8686fe4c5fcbf927f1fb75d5bb
MD5 fc94832ce5cae3890e3fef2162cea98f
BLAKE2b-256 785baf2adbb375e7a0c795d5ad8a4da847ac3be05c7e4b910dc63767b9e8e358

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