Skip to main content

aadc-quantlib-tracing

The aadc-quantlib build that can tell you which line of C++ produced each number.

This is QuantLib 1.41 with Real = idoubleNG, the same AADC type as aadc-quantlib, compiled through the AADC source-tracing pass. What it adds is attribution: after recording, every hardcoded constant and every frozen branch inside the library can be traced back to the C++ file, line and enclosing function that produced it.

It is a diagnostic and model-validation build, not the production one. Install aadc-quantlib for pricing; install this alongside it when you need to answer "where did this number come from?".

How it differs from aadc-quantlib. This build is the level 1 integration: stock QuantLib with Real bound to the AADC type and nothing else changed, so the attribution points at QuantLib's own code. aadc-quantlib carries AAD-aware replacements for some numerics (solvers, bootstraps), which record fewer frozen branches. Prices and sensitivities agree at the point of recording. When a recorded tape is replayed far from that point, this build follows more frozen branches than aadc-quantlib and can drift where the production wheel would not — treat its tapes as a diagnostic of this recording, and re-record rather than reuse them for bump-and-replay at distant inputs.

Install

Pick the QuantLib line that matches your aadc-quantlib: the wheel's version starts with the QuantLib version it wraps (1.38.* is QuantLib 1.38, 1.41.* is QuantLib 1.41), and several lines are published under this one name.

pip install "aadc-quantlib-tracing==1.41.*"

An unpinned pip install aadc-quantlib-tracing resolves to the newest release across every line, which is not necessarily the line of the aadc-quantlib you already have.

Linux x86-64 and macOS arm64 (Apple silicon, macOS 13 or later), CPython 3.10–3.14. There is no Windows or Linux arm64 build: the tracing pass is an LLVM plugin, built where an instrumenting toolchain exists. aadc-quantlib itself ships on all four platforms; only this variant is restricted.

It installs beside aadc-quantlib rather than replacing it: separate distribution, separate import name, so both can be present in one environment and you choose per import. Do not expect import aadc_quantlib to pick this up.

The import is aadc_quantlib_tracing

from aadc_quantlib_tracing import QuantLib as ql

What it shows you

import aadc
from aadc_quantlib_tracing import QuantLib as ql

f = aadc.Functions()
f.start_recording(trace=True, trace_inputs_as_random=True)
# ... build and price an instrument with the QuantLib API ...
f.stop_recording()

for leaf in f.traced_leaves():
    print(f"{leaf['file']}:{leaf['line']}  {leaf['function']}  = {leaf['value']}")

for w in f.passive_warnings():
    print(f"frozen branch at {w['file']}:{w['line']}")

traced_leaves() reports the constants the library itself supplies — day-count denominators, tolerances, comparison epsilons — each with its declaration site and its record-time value. passive_warnings() reports every place a decision was frozen into the tape at recording time, which is where a replay at different inputs can silently follow the wrong branch.

Together they answer a question no amount of reading the Python can: what does this pricing actually depend on, including the parts nobody passed in?

Costs, stated plainly

  • Size. ~43 MB per wheel against ~32 MB for aadc-quantlib, and the unpacked library is substantially larger — the attribution index is ~34 MB of the shipped libQuantLib.
  • Not faster. Tracing changes what the recording remembers, not how fast it replays. Use aadc-quantlib for throughput.
  • Attribution follows inlining. It is compiled -O2 -g, which is what makes the attribution point at real call sites. Do not expect debugger-grade stepping.

What it does not contain

The shipped library carries no DWARF debug sections and no symbol table — it is stripped like any release build. The attribution index stores source locations, not source text: no QuantLib or Matlogica source code is embedded in the wheel.

Licence

Proprietary — Matlogica. LICENSE.txt in the installed aadc_quantlib_tracing-<version>.dist-info/licenses/ is the AADC Community Edition Licence Agreement; non-commercial and academic use only, with commercial and full-performance academic licences available from info@matlogica.com. THIRD-PARTY-NOTICES.txt beside it covers QuantLib, Boost and the other bundled third-party components.

importlib.metadata.version("aadc-quantlib-tracing") reports the wheel version.

Metadata

Release files for aadc-quantlib-tracing 1.41.4

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-tracing 1.41.4
File Actions
aadc_quantlib_tracing-1.41.4-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 for aadc_quantlib_tracing-1.41.4-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
aadc_quantlib_tracing-1.41.4-cp314-cp314-macosx_13_0_arm64.whl CPython 3.14 CPython 3.14 macOS 13.0+ ARM64 Details for aadc_quantlib_tracing-1.41.4-cp314-cp314-macosx_13_0_arm64.whl
aadc_quantlib_tracing-1.41.4-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 for aadc_quantlib_tracing-1.41.4-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
aadc_quantlib_tracing-1.41.4-cp313-cp313-macosx_13_0_arm64.whl CPython 3.13 CPython 3.13 macOS 13.0+ ARM64 Details for aadc_quantlib_tracing-1.41.4-cp313-cp313-macosx_13_0_arm64.whl
aadc_quantlib_tracing-1.41.4-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl CPython 3.12 CPython 3.12 Linux glibc 2.24+ x86-64, Linux glibc 2.28+ x86-64 Details for aadc_quantlib_tracing-1.41.4-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
aadc_quantlib_tracing-1.41.4-cp312-cp312-macosx_13_0_arm64.whl CPython 3.12 CPython 3.12 macOS 13.0+ ARM64 Details for aadc_quantlib_tracing-1.41.4-cp312-cp312-macosx_13_0_arm64.whl
aadc_quantlib_tracing-1.41.4-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 for aadc_quantlib_tracing-1.41.4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
aadc_quantlib_tracing-1.41.4-cp311-cp311-macosx_13_0_arm64.whl CPython 3.11 CPython 3.11 macOS 13.0+ ARM64 Details for aadc_quantlib_tracing-1.41.4-cp311-cp311-macosx_13_0_arm64.whl
aadc_quantlib_tracing-1.41.4-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 for aadc_quantlib_tracing-1.41.4-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
aadc_quantlib_tracing-1.41.4-cp310-cp310-macosx_13_0_arm64.whl CPython 3.10 CPython 3.10 macOS 13.0+ ARM64 Details for aadc_quantlib_tracing-1.41.4-cp310-cp310-macosx_13_0_arm64.whl

Total release size: 412.3 MB

Release files / aadc_quantlib_tracing-1.41.4-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL aadc_quantlib_tracing-1.41.4-cp314-cp314-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 48.6 MB
Tags CPython 3.14 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
94e3fe8ea41aa8801cc86fde031060b9031d79c14b8af8a4c635a2307b9e5911
BLAKE2b-256 checksum
How to use checksums
beaa46329280b1d9b73fea4de9a53a2b26c483f95aa87ecda77cfebd7c9ab50f
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_tracing-1.41.4-cp314-cp314-macosx_13_0_arm64.whl

Download URL aadc_quantlib_tracing-1.41.4-cp314-cp314-macosx_13_0_arm64.whl
Size 33.9 MB
Tags CPython 3.14 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
ae0e436ab99f264f447a00117dd292b986ca7acc8b211d7bfb7abb4b2200de8f
BLAKE2b-256 checksum
How to use checksums
ed3f6f64461e7fc9f009d445637043b98915f508c2b32a917973aadb3c1e7344
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_tracing-1.41.4-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL aadc_quantlib_tracing-1.41.4-cp313-cp313-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 48.6 MB
Tags CPython 3.13 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
9ba32aebf50510ed660cfe6b899884efdc41f3fd1a59e9bb25c402b8ff0895fb
BLAKE2b-256 checksum
How to use checksums
af1e4fd47c1d7238b623d8177498e98fb041be96a057d4a642f7aeeeeed44371
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_tracing-1.41.4-cp313-cp313-macosx_13_0_arm64.whl

Download URL aadc_quantlib_tracing-1.41.4-cp313-cp313-macosx_13_0_arm64.whl
Size 33.9 MB
Tags CPython 3.13 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
c82a73a3708fc4fb4018ce19ba0131bb048e6c26d83441fbd992dd1058b86af9
BLAKE2b-256 checksum
How to use checksums
062aa20a93c75ac8420c2e0b7d3c2b46d08160d313af7378740c115b6f695886
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_tracing-1.41.4-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL aadc_quantlib_tracing-1.41.4-cp312-cp312-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 48.6 MB
Tags CPython 3.12 Linux glibc 2.24+ x86-64 Linux glibc 2.28+ x86-64
SHA-256 checksum
How to use checksums
67ab92ce5efbfa302cff01a4e4bad0c3256a343a1e67c241de7e60024d04d2a5
BLAKE2b-256 checksum
How to use checksums
95e40480b5e74b1692f69fc6ca68e17096133bddb469a8f07d4b0d097722d4cb
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_tracing-1.41.4-cp312-cp312-macosx_13_0_arm64.whl

Download URL aadc_quantlib_tracing-1.41.4-cp312-cp312-macosx_13_0_arm64.whl
Size 33.9 MB
Tags CPython 3.12 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
732467fcee44fcce84b396ea5d76f45666c68ad85bbdcffdfc27119e0bc2017d
BLAKE2b-256 checksum
How to use checksums
6814078cf32f3028f2b73bab74ec661b7d1df388f8f6b76df3e8355cc4dec642
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_tracing-1.41.4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL aadc_quantlib_tracing-1.41.4-cp311-cp311-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 48.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
78978ae32cddbe89986526a8693a1062e427c97962acc763ffecc131758c90dd
BLAKE2b-256 checksum
How to use checksums
4edaf0638fbb6b46387360c1ff53ca5fabec3d504080afe4c07795f676f30a1b
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_tracing-1.41.4-cp311-cp311-macosx_13_0_arm64.whl

Download URL aadc_quantlib_tracing-1.41.4-cp311-cp311-macosx_13_0_arm64.whl
Size 33.9 MB
Tags CPython 3.11 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
c7215caabf86eb34ab1bb41acfb046144e4c096baeca4d13f779ba2efacefbbd
BLAKE2b-256 checksum
How to use checksums
d9e83755d48b72d9d60866e192383007ec0feca4a0f6f1369a442a4bd7f8231a
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_tracing-1.41.4-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl

Download URL aadc_quantlib_tracing-1.41.4-cp310-cp310-manylinux_2_24_x86_64.manylinux_2_28_x86_64.whl
Size 48.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
b85f865f370e7aeb2a5601e5f012c7e910e22b5207c341dcdec44bdf346d20ca
BLAKE2b-256 checksum
How to use checksums
58fa09464608786bdf4c794501f17b7f2465f8231b3c83a86c54ba77bce2e8d6
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_tracing-1.41.4-cp310-cp310-macosx_13_0_arm64.whl

Download URL aadc_quantlib_tracing-1.41.4-cp310-cp310-macosx_13_0_arm64.whl
Size 33.9 MB
Tags CPython 3.10 macOS 13.0+ ARM64
SHA-256 checksum
How to use checksums
cc2383f9c3927dd75d51b2a0270a12210db8beba8ece0ebbde37fde0297b335b
BLAKE2b-256 checksum
How to use checksums
9294674ab8b6ea3cea0bdef4ebce41a31b8cd18b4f53b4b2031b3737e4cb0d7f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/7.0.0 CPython/3.11.2

Security for aadc-quantlib-tracing 1.41.4

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

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