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.

Metadata

Release files for aadc-quantlib 1.38.10

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.10
File
aadc_quantlib-1.38.10-cp314-cp314-win_amd64.whl CPython 3.14 CPython 3.14 Windows x86-64 Details
aadc_quantlib-1.38.10-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.10-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.10-cp314-cp314-macosx_11_0_arm64.whl CPython 3.14 CPython 3.14 macOS 11.0+ ARM64 Details
aadc_quantlib-1.38.10-cp313-cp313-win_amd64.whl CPython 3.13 CPython 3.13 Windows x86-64 Details
aadc_quantlib-1.38.10-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.10-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.13 CPython 3.13 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details
aadc_quantlib-1.38.10-cp313-cp313-macosx_11_0_arm64.whl CPython 3.13 CPython 3.13 macOS 11.0+ ARM64 Details
aadc_quantlib-1.38.10-cp312-cp312-win_amd64.whl CPython 3.12 CPython 3.12 Windows x86-64 Details
aadc_quantlib-1.38.10-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.10-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.10-cp312-cp312-macosx_11_0_arm64.whl CPython 3.12 CPython 3.12 macOS 11.0+ ARM64 Details
aadc_quantlib-1.38.10-cp311-cp311-win_amd64.whl CPython 3.11 CPython 3.11 Windows x86-64 Details
aadc_quantlib-1.38.10-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
aadc_quantlib-1.38.10-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.11 CPython 3.11 Linux glibc 2.28+ ARM64, Linux glibc 2.24+ ARM64 Details
aadc_quantlib-1.38.10-cp311-cp311-macosx_11_0_arm64.whl CPython 3.11 CPython 3.11 macOS 11.0+ ARM64 Details
aadc_quantlib-1.38.10-cp310-cp310-win_amd64.whl CPython 3.10 CPython 3.10 Windows x86-64 Details
aadc_quantlib-1.38.10-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.10 CPython 3.10 Linux glibc 2.28+ x86-64, Linux glibc 2.24+ x86-64 Details
aadc_quantlib-1.38.10-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl CPython 3.10 CPython 3.10 Linux glibc 2.24+ ARM64, Linux glibc 2.28+ ARM64 Details
aadc_quantlib-1.38.10-cp310-cp310-macosx_11_0_arm64.whl CPython 3.10 CPython 3.10 macOS 11.0+ ARM64 Details

Total release size: 841.1 MB

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

Download URL aadc_quantlib-1.38.10-cp314-cp314-win_amd64.whl
Size 42.7 MB
Tags CPython 3.14 Windows x86-64
SHA-256 checksum
How to use checksums
55ad8bdea937b702eb1606024d15a6f17bfa2ff57f8313a4728eb3983faa6a4c
BLAKE2b-256 checksum
How to use checksums
aebf823ab76f4c8d032e1143f32390d41c36327aa5ea33d6c683f291c6160661
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.10-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL aadc_quantlib-1.38.10-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 33.5 MB
Tags CPython 3.14 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
8471f1b5d164767582330719bf75a3e1c7b26a9441a4407c8ca16066d1ec61e6
BLAKE2b-256 checksum
How to use checksums
9e334673ea62a98c502349a9708e82e9771e6374485757e72add4306ddeb467a
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.10-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL aadc_quantlib-1.38.10-cp314-cp314-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 35.2 MB
Tags CPython 3.14 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
030a2a973fad319169547ab88dad59e0dc76a8117a8a9ff577747e11409be03b
BLAKE2b-256 checksum
How to use checksums
1e01355c79a12b5ef3af7ef08304860be700e4662c8e80218e31d4bb92758ce0
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.10-cp314-cp314-macosx_11_0_arm64.whl

Download URL aadc_quantlib-1.38.10-cp314-cp314-macosx_11_0_arm64.whl
Size 57.2 MB
Tags CPython 3.14 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
25862bd417fbc23e229e3e5bf288864da30eaa5bd76bb25914bb70db148a4303
BLAKE2b-256 checksum
How to use checksums
d1bec8f229e1219151cab0241b14c1f22c815f21e3ac73c0e0673500cae5192a
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.10-cp313-cp313-win_amd64.whl

Download URL aadc_quantlib-1.38.10-cp313-cp313-win_amd64.whl
Size 42.4 MB
Tags CPython 3.13 Windows x86-64
SHA-256 checksum
How to use checksums
0286ef2116d0d4ed9236aaa466b20a0d71f38717337a91bc813de9f84a38000a
BLAKE2b-256 checksum
How to use checksums
495271bb7cb239e4be1545433fb1d55e2a3da6beb35400d14c6769a34f728142
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.10-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL aadc_quantlib-1.38.10-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 33.5 MB
Tags CPython 3.13 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
e680ea7a192ed946cf5453807f3c8c55fed6f6c8128332f20e9894ec42b2b04b
BLAKE2b-256 checksum
How to use checksums
fac33f962884c556b8cdeb362b04bc7501875e7b9dbb22e56bb70bb61b12d92c
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.10-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL aadc_quantlib-1.38.10-cp313-cp313-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 35.2 MB
Tags CPython 3.13 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
34e28775556ee24328fbca43fb6ba932767a423112b84db93ee0e22a15a313cf
BLAKE2b-256 checksum
How to use checksums
d5e0abb4e4287ecb360459fe8de41f8cf03f138c242261d47e9bb1b7c525e8b2
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.10-cp313-cp313-macosx_11_0_arm64.whl

Download URL aadc_quantlib-1.38.10-cp313-cp313-macosx_11_0_arm64.whl
Size 57.2 MB
Tags CPython 3.13 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
9873bec98d0032d07a6c887218d62bcb16a1e8b704203d7f72652527d13bf330
BLAKE2b-256 checksum
How to use checksums
d34ee08714556123c677e8be9ad18cc26725d0a81513f04efe662c659f5acd30
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.10-cp312-cp312-win_amd64.whl

Download URL aadc_quantlib-1.38.10-cp312-cp312-win_amd64.whl
Size 42.4 MB
Tags CPython 3.12 Windows x86-64
SHA-256 checksum
How to use checksums
463484b8660a560f9067e90269eaf0d0a04c527851e05dfe9f46e470b0d749c3
BLAKE2b-256 checksum
How to use checksums
fa0c9844365cbb8464d324ccc8e151a96a9e336987defe840789bceb54b1653e
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.10-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL aadc_quantlib-1.38.10-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 33.5 MB
Tags CPython 3.12 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
8e131c2a9600d069b2003f802103c137ebe4607e29e31f3f870261bee1d43fc7
BLAKE2b-256 checksum
How to use checksums
5422f55a06cf2d7ccb7c44ec9093dd8cc2c50358ebf671dce2fc57d255a6e90e
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.10-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL aadc_quantlib-1.38.10-cp312-cp312-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 35.2 MB
Tags CPython 3.12 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
e5ffa2c8bca6acad25a0f1cc9a7d6a4d21e0ae03785bb6911729c1d816aac41b
BLAKE2b-256 checksum
How to use checksums
4ffe553844b5166e3443ae7aa6c4ecefd7b2e777e4eabd2c743873cc7796c6b7
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.10-cp312-cp312-macosx_11_0_arm64.whl

Download URL aadc_quantlib-1.38.10-cp312-cp312-macosx_11_0_arm64.whl
Size 57.2 MB
Tags CPython 3.12 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
ace48016058fde494d4b09d0cc2128d793620e43fd16474589a75048b0820abb
BLAKE2b-256 checksum
How to use checksums
0cc45bedb031f21eefaf89797f72c23b02dbc43176353dce04494f6c70cb5c13
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.10-cp311-cp311-win_amd64.whl

Download URL aadc_quantlib-1.38.10-cp311-cp311-win_amd64.whl
Size 42.3 MB
Tags CPython 3.11 Windows x86-64
SHA-256 checksum
How to use checksums
79b8a4abd91210e019d9553e454b272c7df2e902ad2d11345a8519cbca9100e8
BLAKE2b-256 checksum
How to use checksums
72d662dd16162136f1ea0cf1fc4709ba06b0ee6aa49ef9c40b9ee731c6eb85f7
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.10-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL aadc_quantlib-1.38.10-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 33.5 MB
Tags CPython 3.11 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
050d6f3b799f02fca34e7fd1bf190707257bf1dae19a7ceae443e264b97a81ab
BLAKE2b-256 checksum
How to use checksums
702d02181a491fabece705c3a79319d26786c05a41d1f56391e20ec998b42133
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.10-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL aadc_quantlib-1.38.10-cp311-cp311-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 35.1 MB
Tags CPython 3.11 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
e14f4d4674e6db424f22f29e86d2e5845fb0e87d69a49c84048919e0a67a92dd
BLAKE2b-256 checksum
How to use checksums
1d711f01a453890d3110e982dea785df8b7f2a0c518f895bb8957e891bd65e70
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.10-cp311-cp311-macosx_11_0_arm64.whl

Download URL aadc_quantlib-1.38.10-cp311-cp311-macosx_11_0_arm64.whl
Size 57.1 MB
Tags CPython 3.11 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
3acf67de1f2c8ad30cd42d85bcce7f35028cb7f09116f3ab92f939f7881b6840
BLAKE2b-256 checksum
How to use checksums
70c024e9f0a7de68d84a0a605757f51be93b7b32557b80bbafd2c7ee7b5b7d7e
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.10-cp310-cp310-win_amd64.whl

Download URL aadc_quantlib-1.38.10-cp310-cp310-win_amd64.whl
Size 42.3 MB
Tags CPython 3.10 Windows x86-64
SHA-256 checksum
How to use checksums
6ef3512f7c63704c5a146913b85f5a7aad3005250a3c3fac9820ceb2fccfe607
BLAKE2b-256 checksum
How to use checksums
88182485c01d209b0f81b9217c4f692af2c2aa73619695c98476363bad210895
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.10-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL aadc_quantlib-1.38.10-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 33.5 MB
Tags CPython 3.10 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
46e872a79336ad41a72d5d974bff76e6cb7f8a701a21ce0279150a3c95cd008e
BLAKE2b-256 checksum
How to use checksums
a1631d38c9cce31a91531100abf32995b9f9b31b5885ff76b90fa28ebccc02c0
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.10-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl

Download URL aadc_quantlib-1.38.10-cp310-cp310-manylinux_2_24_aarch64.manylinux_2_28_aarch64.whl
Size 35.1 MB
Tags CPython 3.10 Linux glibc 2.24+ ARM64 Linux glibc 2.28+ ARM64
SHA-256 checksum
How to use checksums
7142652427d11d52df1d99d16d847ec2a007fe342383164e2452509c2421d631
BLAKE2b-256 checksum
How to use checksums
196504ad797cb04d5674c43c11192f3e6083920514bbb2f2792f0fddd7932043
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.10-cp310-cp310-macosx_11_0_arm64.whl

Download URL aadc_quantlib-1.38.10-cp310-cp310-macosx_11_0_arm64.whl
Size 57.1 MB
Tags CPython 3.10 macOS 11.0+ ARM64
SHA-256 checksum
How to use checksums
211c550881872d7eca7896373d73321cb666cbdae42a9f2bf3931d4f608f6f5c
BLAKE2b-256 checksum
How to use checksums
b511fcb71cc35e9df8bc40f708dfd0b2f5439d789655e233e5740f39a6eaa294
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.10 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