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.10.tar.gz (36.9 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.10-cp38-abi3-manylinux_2_34_x86_64.whl (367.6 kB view details)

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

File details

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

File metadata

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

File hashes

Hashes for pyfinlib-0.0.10.tar.gz
Algorithm Hash digest
SHA256 e59cdab08fa5618d8c64d812749b68d3a14de5ae9dc8421a48c03f97273ea535
MD5 66d9193fceaf79869ef0936f262a8e62
BLAKE2b-256 ca2d18f4d122185d0003893c80e11428cbb9f9cf75f43b25be292969f2885ec6

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for pyfinlib-0.0.10-cp38-abi3-manylinux_2_34_x86_64.whl
Algorithm Hash digest
SHA256 ac4110cac8be8cb3bec55ff4f7f4c6795a031877e9a14dd65d434c2ab0f1a978
MD5 760d8d07c4dad4861869826a0258e749
BLAKE2b-256 ea6678e60bd6d4615d90aaa209716acf93cba77837e57667ad73ff2032b5aeae

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