Skip to main content

aadc-quantlib

QuantLib 1.38 with exact AAD sensitivities, from Python.

aadc-quantlib is a build of QuantLib 1.38 whose Real type is the AADC-NG active double (idoubleNG), SWIG-wrapped for Python. You price with the QuantLib API you already know; the aadc core records the pricing as it runs and replays it compiled — with exact first-order sensitivities of every output with respect to every input, no bumping, no re-pricing per input.

Install

pip install aadc-quantlib

Wheels ship for CPython 3.10 through 3.14 on Linux (x86-64 and arm64), macOS (Apple Silicon) and Windows (x64). The aadc core package is a declared dependency and installs alongside; both must come from the same package index so that exactly one libaadc-ng runtime image is loaded per process.

The import is aadc_quantlib, not QuantLib

from aadc_quantlib import QuantLib as ql

This package deliberately does not install itself under the QuantLib name, so it can coexist in one environment with PyPI's own QuantLib distribution. Existing import QuantLib code can opt in explicitly:

import aadc_quantlib
aadc_quantlib.install_as_quantlib()   # makes `import QuantLib` resolve to this build

Example: a European option, price and delta

import aadc
from aadc_quantlib import QuantLib as ql

d = ql.Date(15, 6, 2026)
ql.Settings.instance().evaluationDate = d
ts = ql.YieldTermStructureHandle(ql.FlatForward(d, 0.03, ql.Actual365Fixed()))
vs = ql.BlackVolTermStructureHandle(
    ql.BlackConstantVol(d, ql.TARGET(), 0.20, ql.Actual365Fixed()))

s = aadc.idouble(100.0)
f = aadc.Functions()
f.start_recording()
sa = s.mark_as_input()
o = ql.VanillaOption(ql.PlainVanillaPayoff(ql.Option.Call, 100.0),
                     ql.EuropeanExercise(ql.Date(15, 6, 2027)))
o.setPricingEngine(ql.AnalyticEuropeanEngine(
    ql.BlackScholesProcess(ql.QuoteHandle(ql.SimpleQuote(s)), ts, vs)))
npv = o.NPV()
na = npv.mark_as_output()
f.stop_recording()

r = aadc.evaluate(f, {na: [sa]}, {sa: [100.0]}, 1)
print(float(npv), r[1][na][sa][0])
# 9.413403383853023 0.5987063256829239

The second number is the option's delta, taken from the recorded tape by adjoint differentiation. It agrees with central finite differences to about 1e-11 — and unlike bumping, one recorded replay yields the sensitivity to every marked input at once.

Licence in one paragraph

Proprietary. The AADC engine this wheel records into is free for non-commercial and academic use only; everything else — including commercial evaluation and any calculation whose output reaches a book, a client report or a regulator — is Production Use and needs a commercial licence from MatLogica. The binding text is the licence shipped inside the wheel at <dist-info>/licenses/LICENSE.txt, never this summary. The wheel also redistributes QuantLib, QuantLib-SWIG and other third-party components in binary form; each component's licence text is reproduced verbatim in licenses/THIRD-PARTY-NOTICES.txt beside it. Commercial licences and questions: info@matlogica.com.

Which QuantLib is this?

QuantLib 1.38, patched so Real = idoubleNG and rebuilt against the AADC-NG runtime. ql.__version__ reports the QuantLib version; importlib.metadata.version("aadc-quantlib") reports the wheel version.

Release files for aadc-quantlib 1.38.9

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Built distributions (wheels)

Table of built distributions (wheels) for aadc-quantlib 1.38.9
File
aadc_quantlib-1.38.9-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
aadc_quantlib-1.38.9-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.14 CPython 3.14 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details
aadc_quantlib-1.38.9-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.14 CPython 3.14 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details
aadc_quantlib-1.38.9-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
aadc_quantlib-1.38.9-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
aadc_quantlib-1.38.9-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
aadc_quantlib-1.38.9-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.28+ ARM64, Linux glibc 2.24+ ARM64 Details
aadc_quantlib-1.38.9-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
aadc_quantlib-1.38.9-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
aadc_quantlib-1.38.9-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
aadc_quantlib-1.38.9-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.12 CPython 3.12 Linux glibc 2.28+ ARM64, Linux glibc 2.24+ ARM64 Details
aadc_quantlib-1.38.9-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
aadc_quantlib-1.38.9-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
aadc_quantlib-1.38.9-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details
aadc_quantlib-1.38.9-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details
aadc_quantlib-1.38.9-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
aadc_quantlib-1.38.9-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
aadc_quantlib-1.38.9-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details
aadc_quantlib-1.38.9-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ ARM64, Linux glibc 2.24+ ARM64 Details
aadc_quantlib-1.38.9-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details

Total release size: 844.0 MB

Release files / aadc_quantlib-1.38.9-cp314-cp314-win_amd64.whl

Download URL aadc_quantlib-1.38.9-cp314-cp314-win_amd64.whl
Size 42.9 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
df15dce4ba2b2aa56c2f75e13680d584053b2f293675d1d91230abd9e92475a1
BLAKE2b-256 checksum
How to use checksums
7c997b67583dac99ce2fc617b117b33ba68b5382a6a38918447451aa95e7aa0d
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release files / aadc_quantlib-1.38.9-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL aadc_quantlib-1.38.9-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 33.7 MB
Tags CPython 3.14 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
7cdf979892b216e5b93e9acd1763861fc1e9df39fde022bd878d7ee8e4fabf7b
BLAKE2b-256 checksum
How to use checksums
607ea5653264845271e2233b05c52c0fb259f99eaea512db5a0698b03f6dee47
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release files / aadc_quantlib-1.38.9-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL aadc_quantlib-1.38.9-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 35.3 MB
Tags CPython 3.14 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
0520ddb4497aa98529e958ee859672ad95689585dfcb4776fda98ca40eb119cf
BLAKE2b-256 checksum
How to use checksums
4b04fe6de3bcb47bcd25144e09620a51ef2a82b9670ef646173a0313055140c6
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release files / aadc_quantlib-1.38.9-cp314-cp314-macosx_11_0_arm64.whl

Download URL aadc_quantlib-1.38.9-cp314-cp314-macosx_11_0_arm64.whl
Size 57.4 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
31ff63af93867667c59f666835bab707169e93f5171343f66fd475a63dbad4a7
BLAKE2b-256 checksum
How to use checksums
223a57db7e3bc324126df49989ee06026e2a1e632e8b548c95a3f03235e913b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release files / aadc_quantlib-1.38.9-cp313-cp313-win_amd64.whl

Download URL aadc_quantlib-1.38.9-cp313-cp313-win_amd64.whl
Size 42.6 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
f539cf714d6826f7ccaeffc87d60b91357b4bac1222024b3de816e7911fa9b09
BLAKE2b-256 checksum
How to use checksums
356c8861e32a010642e0909476285d250ded46759daaeebf06353fdf5bd2370c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release files / aadc_quantlib-1.38.9-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL aadc_quantlib-1.38.9-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 33.7 MB
Tags CPython 3.13 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
cd4603ad074e9ce71a9bb851521f3d065f22ec59ff69dd59c6aaab71d93886d3
BLAKE2b-256 checksum
How to use checksums
e3945d54c5ceecdea780365de3d46a806a5d0707e2c0a3f03bd90c17d3fa041c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release files / aadc_quantlib-1.38.9-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL aadc_quantlib-1.38.9-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 35.3 MB
Tags CPython 3.13 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
fd4aaff70a76f1489497990c96870b10c1f7c1ff35713e6c767cf2db695c4b18
BLAKE2b-256 checksum
How to use checksums
7058f77a30cb06984280f6816388400f8215a0499a31f4a62f07dd4896e89b58
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release files / aadc_quantlib-1.38.9-cp313-cp313-macosx_11_0_arm64.whl

Download URL aadc_quantlib-1.38.9-cp313-cp313-macosx_11_0_arm64.whl
Size 57.3 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
a8c1591daa2fd8d05043e984fb15647dcd3b5ff2bb359c2ad43ef294ae658ccf
BLAKE2b-256 checksum
How to use checksums
2c9bdbc8f5a155344e8c9c3da2cfc0608a33f72f95bd638a3ef427caf1ba6644
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release files / aadc_quantlib-1.38.9-cp312-cp312-win_amd64.whl

Download URL aadc_quantlib-1.38.9-cp312-cp312-win_amd64.whl
Size 42.6 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
770f8e0500a348ca3a167ced2afff963c35e2931d2d199b28ac4d6f93bee067e
BLAKE2b-256 checksum
How to use checksums
ec52ec6e1e74680e5c85a0c75c4bd71f546e21dc5782d3c8511648a9d3f3e751
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release files / aadc_quantlib-1.38.9-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL aadc_quantlib-1.38.9-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 33.7 MB
Tags CPython 3.12 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9901a54e8f1171330a985b82c16c2560ded938131954c46a590fec042c3ab67f
BLAKE2b-256 checksum
How to use checksums
66997623440cd204da5a47a20efeec09556f70db4634332422f9788273722a06
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release files / aadc_quantlib-1.38.9-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL aadc_quantlib-1.38.9-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 35.3 MB
Tags CPython 3.12 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
f7ecd8f7f969f7a55a5d53e36fd89c93b35bf4e627a4fb3238ab9922619de1c8
BLAKE2b-256 checksum
How to use checksums
8037730e8c929b6b69595aaea6229f68d06d35fadf2f42da822d079f3c5b36a2
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release files / aadc_quantlib-1.38.9-cp312-cp312-macosx_11_0_arm64.whl

Download URL aadc_quantlib-1.38.9-cp312-cp312-macosx_11_0_arm64.whl
Size 57.3 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
8f038dd9b975beac1753fb829d24f398845881930bf7ac20226d7fc1ac6dd864
BLAKE2b-256 checksum
How to use checksums
7faa17d81934c4838de148bec1d24bc3a0ed1adf61edd701b4c421f0b3477e75
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release files / aadc_quantlib-1.38.9-cp311-cp311-win_amd64.whl

Download URL aadc_quantlib-1.38.9-cp311-cp311-win_amd64.whl
Size 42.5 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
7b9d8cab8edb596425dd61a5ddc37181391f52c0163124bfe24a20a3255cf024
BLAKE2b-256 checksum
How to use checksums
cf09c3f4b6f552882ecc3930d6400c513daaba268a5439cbf9bbefe14c0addbd
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release files / aadc_quantlib-1.38.9-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL aadc_quantlib-1.38.9-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 33.6 MB
Tags CPython 3.11 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
81355728829bde97bf8f0cfeb711cfd980891a69f5556711aaf2af4bd30ed859
BLAKE2b-256 checksum
How to use checksums
dfc2462dead4cef1bd78551d2f9a76e383422b6c6bf0e545863b60784dfc3f82
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release files / aadc_quantlib-1.38.9-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL aadc_quantlib-1.38.9-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 35.2 MB
Tags CPython 3.11 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
829eb4725b4e0c1f17acb4f271f4651fbfa0c1a58c6090cdc10fc8b01e892693
BLAKE2b-256 checksum
How to use checksums
0f5456d5e3af126bbc5cf8e5e0789101291b46e4897fdf3bfceed5ed39203b8c
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release files / aadc_quantlib-1.38.9-cp311-cp311-macosx_11_0_arm64.whl

Download URL aadc_quantlib-1.38.9-cp311-cp311-macosx_11_0_arm64.whl
Size 57.3 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
714f3167692a7d32fbec2c6c3d9ec8771ef7781f88b6fdedfd01bf4d6e8881ca
BLAKE2b-256 checksum
How to use checksums
6d394b04d918f9f27af604106ad49cff1112b7741995de058601d4ef621bd78a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release files / aadc_quantlib-1.38.9-cp310-cp310-win_amd64.whl

Download URL aadc_quantlib-1.38.9-cp310-cp310-win_amd64.whl
Size 42.4 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
2398419503438433acb4c12b88368385c136e7acab3401ab32fd1a75e026a3ef
BLAKE2b-256 checksum
How to use checksums
50601bd517978a9760cb464858e8ec8672712877ed80a8d70b454ff17190340a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release files / aadc_quantlib-1.38.9-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL aadc_quantlib-1.38.9-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 33.6 MB
Tags CPython 3.10 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
3d54b42b48794c9c64d91631a3ef7d9f04637d6457c64b94e5a4c5aa006f3dd4
BLAKE2b-256 checksum
How to use checksums
efeb8f09f39bc909400ed431cd49b98328ea9605872d1e77954675d9b3b0b65b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release files / aadc_quantlib-1.38.9-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL aadc_quantlib-1.38.9-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 35.2 MB
Tags CPython 3.10 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
666ca7749d45f10bf9622c7f1c159059c37fafcde8d732ae336007ba048d020a
BLAKE2b-256 checksum
How to use checksums
31b97c47d35d7dc134f6c3ad94899b5c8d0d92d6b2c1077e9cd6d2e57c52bf00
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release files / aadc_quantlib-1.38.9-cp310-cp310-macosx_11_0_arm64.whl

Download URL aadc_quantlib-1.38.9-cp310-cp310-macosx_11_0_arm64.whl
Size 57.3 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
b096ffe7076bfe5cf92e0f23c9337402869f950d7921dcec4037a3dfbd29eea6
BLAKE2b-256 checksum
How to use checksums
fddce6e4ae2eb4fde3541927b445ba88d79dc24104ca37c9389b0fa3d56a0d01
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Release history Release notifications | RSS feed

This release

1.38.9 This release

20 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page