All systems operational · v0.1.0-beta · MIT licence

382 risk functions.
One REST API.
Open source.

Regulatory-grade financial and risk computation across 8 domains — Monte Carlo VaR, Greeks, stress testing, FRTB, IFRS 9 ECL and more. Accelerated via Numba JIT. Free forever.

$ pip install pyvar-client
382 functions
8 domains
99.97% uptime
1.4ms p50
pyvar.com · Monte Carlo VaR demo
$ python3
>>> from pyvar import VaRClient
>>> client = VaRClient(api_key="pv_...")
>>> result = client.var.compute(
    portfolio_value=1_000_000,
    returns=returns,
    confidence=0.99,
    n_simulations=1_000
)

# ── Result ──────────────────────────
>>> print(result.var_abs)
28200.0 # £28,200 (99% VaR)
>>> print(result.cvar_abs)
35100.0 # £35,100 (CVaR/ES)
>>> print(result.runtime_ms)
2341 # 1k paths · 2.3s
api reference

Simple async
job pattern.

All 382 functions use the same async job pattern: POST to submit, GET to poll. No timeouts, no blocking — designed for 100k-path Monte Carlo simulations running 2–10 seconds.

core endpoints
POST
/api/v1/{domain}/compute
Submit job · returns task_id immediately
GET
/api/v1/{domain}/result/{task_id}
Poll result · pending → started → success
GET
/api/v1/domains
List all 8 domains and function catalogue
GET
/health
Platform status · no auth required
Base URL: https://api.pyvar.com/v1
Auth: Authorization: Bearer pv_...
technology

Built for
performance.

Anthropic Claude
AI reasoning
claude-sonnet-4-6
NumPy · Numba JIT
Monte Carlo engine
@njit parallel
Polars · PyArrow
Data ingestion
lazy scan
FastAPI · orjson
REST API
async
Celery · SQS FIFO
Job queue
AWS
ECS Fargate · EC2 Spot
Compute · UK region
eu-west-2
Built by Fibtec Limited
pyvar.com is a Fibtec open-source project
Enterprise support, SLA guarantees and private deployment available via fibtec.co.uk
fibtec.co.uk ↗
get started

Free forever. Open source.

pyvar.com is MIT licensed. The API is free to use. Enter your email for a free-tier API key — no password, no credit card.