Getting Started
Installation
From PyPI
pip install vadeFrom Source (Development)
Requires Rust toolchain (1.70+) and maturin:
git clone https://github.com//vade.git
cd vade
pip install maturin
maturin develop --releaseVerify Installation
import vade
from vade import DiscountCurve
import datetime
# Build a simple discount curve
curve = DiscountCurve(
{datetime.date(2024, 1, 1): 1.0, datetime.date(2025, 1, 1): 0.96},
)
df = curve.discount_factor(datetime.date(2024, 7, 1))
print(round(float(df), 6)) # prints a discount factorIf the above runs without errors, vade is correctly installed.
Vade
Vade brings institutional-quality fixed income analytics to Python. Built from the ground up in Rust and exposed through seamless PyO3 bindings, it delivers the performance of a compiled trading system with the ergonomics of a Python library.
Architecture
Vade is a Rust-core Python library for interest rate analytics. All numerical