Code Examples & Repositories

Reference implementations, code samples, and GitHub repositories

Get Started with Code

Explore our reference implementations, code examples, and GitHub repositories. These resources provide working code to help you integrate AADC into your projects.

code

XVA Reference Implementation with AAD

Reference implementation for path-wise sensitivity calculations and XVA metrics computation.

What You'll Learn

  • Compositional approach to financial contracts
  • Smooth approximations for discontinuous payoffs
  • Regression-based continuation value estimation
  • Framework ready for AAD integration

Use Cases

  • Path-wise sensitivity calculations
  • Optimal exercise estimation for callable products
  • XVA metrics computation via regression

Impact

  • Full AAD-enabled XVA and American Monte Carlo
  • Reusable production-grade patterns
code

Accelerate QuantLib 6-100x with Minimal Changes

Step-by-step guide to accelerating QuantLib and ORE with AADC integration requiring less than 1% code changes.

What You'll Learn

  • Integration steps required
  • Performance gains achievable
  • AAD enablement process
  • Minimal code changes needed (<1%)

Use Cases

  • QuantLib Acceleration
  • Open-Source Integration
  • XVA
  • ORE

Impact

  • 6-100x speedup for QuantLib achieved
  • Works with 20+ years of existing models
  • Enables AAD capabilities for free
  • 245x ORE acceleration demonstrated
code

Browser-Based Live Environment with AADC and QuantLib

Browser-based live Jupyter-style environment pre-loaded with AADC and QuantLib for instant experiments.

What You'll Learn

  • Zero-install playground
  • Immediate prototyping

Use Cases

  • Hands-on testing
  • QuantLib integration
  • Zero-install experimentation

Impact

  • Instant access to AADC + QuantLib environment

Need Integration Help?

Our team can guide you through implementing AADC in your codebase