σμimplied vol · KKmax(S−K,0)udβρᵢⱼfat tailsPnL · drawdownyield · TdSₜ = μSₜ dt + σSₜ dWₜC = S·N(d₁) − K·e⁻ʳᵀ·N(d₂)σₚ² = wᵀΣwd₁ = [ln(S/K) + (r + σ²⁄2)T] ⁄ σ√T∂V/∂t + ½σ²S²·∂²V/∂S² + rS·∂V/∂S − rV = 0Sharpe = (Rₚ − R_f) ⁄ σₚVaR₉₉ = μ − 2.33σρ = Cov(X,Y) ⁄ σₓσᵧE[Rₚ] = Σ wᵢ·E[Rᵢ]φ(x) = e^(−x²/2) ⁄ √2πE[Rᵢ] = R_f + βᵢ(E[Rₘ] − R_f)dXₜ = θ(μ − Xₜ)dt + σ dWₜσ²ₜ = ω + α·ε²ₜ₋₁ + β·σ²ₜ₋₁C − P = S − K·e⁻ʳᵀΔ = ∂V/∂S Γ = ∂²V/∂S²p = (e^(rΔt) − d) ⁄ (u − d)rₜ = ln(Pₜ ⁄ Pₜ₋₁)E[Xₜ₊₁ | ℱₜ] = Xₜf* = (bp − q) ⁄ bz = (x − μ) ⁄ σP(N=k) = λᵏe^(−λ) ⁄ k!Θ = −∂V/∂Tν = S·φ(d₁)·√Tmin wᵀΣw s.t. wᵀμ = μ*∫Σ∂∞λ
uantCraft AcademyRoadmapsSkills
Ctrl K
AO
+1.2k Learners
LoginJoin ↗
RoadmapsSkills
AO
+1.2k Learners
Login
  • English
  • Français
  • Español
  • العربية
  • Português
  • Deutsch
  • 日本語
  • 中文
uantCraft Academy

Quant development, learned by doing: short lessons, graded labs and a real IDE, right in your browser.

Learn
All roadmapsAll skillsPythonMarket StructureCalculusLinear AlgebraProbabilityStatisticsMatrix DecompositionsOptimizationTime SeriesStochastic CalculusBayesian InferenceHidden Markov ModelsParticle filtering and non-stationary time series
Support
Give us feedbackBuy us a Coffee
Legal
Privacy policyTerms of service
© 2026 QuantCraft Solutions. All rights reserved.
QuantCraft
σμimplied vol · KKmax(S−K,0)udβρᵢⱼfat tailsPnL · drawdownyield · TdSₜ = μSₜ dt + σSₜ dWₜC = S·N(d₁) − K·e⁻ʳᵀ·N(d₂)σₚ² = wᵀΣwd₁ = [ln(S/K) + (r + σ²⁄2)T] ⁄ σ√T∂V/∂t + ½σ²S²·∂²V/∂S² + rS·∂V/∂S − rV = 0Sharpe = (Rₚ − R_f) ⁄ σₚVaR₉₉ = μ − 2.33σρ = Cov(X,Y) ⁄ σₓσᵧE[Rₚ] = Σ wᵢ·E[Rᵢ]φ(x) = e^(−x²/2) ⁄ √2πE[Rᵢ] = R_f + βᵢ(E[Rₘ] − R_f)dXₜ = θ(μ − Xₜ)dt + σ dWₜσ²ₜ = ω + α·ε²ₜ₋₁ + β·σ²ₜ₋₁C − P = S − K·e⁻ʳᵀΔ = ∂V/∂S Γ = ∂²V/∂S²p = (e^(rΔt) − d) ⁄ (u − d)rₜ = ln(Pₜ ⁄ Pₜ₋₁)E[Xₜ₊₁ | ℱₜ] = Xₜf* = (bp − q) ⁄ bz = (x − μ) ⁄ σP(N=k) = λᵏe^(−λ) ⁄ k!Θ = −∂V/∂Tν = S·φ(d₁)·√Tmin wᵀΣw s.t. wᵀμ = μ*∫Σ∂∞λ
uantCraft AcademyRoadmapsSkills
Ctrl K
AO
+1.2k Learners
LoginJoin ↗
RoadmapsSkills
AO
+1.2k Learners
Login
  • English
  • Français
  • Español
  • العربية
  • Português
  • Deutsch
  • 日本語
  • 中文
Skills›QuantLib
QL

QuantLib Skill

LiveStart here

QuantLib is the open-source library that many banks use to price rates and options, and its value is in its design more than in any one formula. This skill teaches that design by having you write a small version yourself. You start with dates, calendars and day counts, then schedules, compounding, bonds and vanilla options as plain functions. Next you replace the single yield with a curve bootstrapped from Treasury yields, and refactor the pricing code into instruments, engines and the observer pattern. From there you add swaps, Monte Carlo and finite-difference engines, implied volatility surfaces, and calibrate Hull–White and Heston to quotes. Finally you check every price against the real QuantLib and use the whole package to price and risk a small book of rates and equity trades. Every topic is a graded code lab that grows the same package.

5 modules14 graded labs~15 hoursIntermediate → Advanced
Start skill

Prerequisites

Comfort with Python and NumPy, plus the basics of bond and option pricing; the derivatives pricing skill is the best preparation.

  • Python
  • ΔDerivatives Pricing
  • dWStochastic Calculus

Syllabus

14 topics · open any topic, in any order
  1. 1Dates and calendars: counting the daysNot startedRequires Python50 minStart
  2. 2Schedules and business-day conventionsNot startedRequires Python50 minStart
  1. 3Interest rates and compoundingNot startedRequires Python45 minStart
  2. 4Fixed-rate bonds priced from a yieldNot startedRequires Python55 minStart
  3. 5Vanilla options with analytic enginesNot startedRequires Python50 minStart
  1. 6Yield term structures and bootstrappingNot startedRequires Python1 hr 5 minStart
  2. 7Instruments and engines: the observer patternNot startedRequires Python55 minStart
  3. 8Swaps and curve buildingNot startedRequires Python1 hr 5 minStart
  4. 9Monte Carlo and finite-difference enginesNot startedRequires Python1 hrStart
  1. 10Implied volatility surfacesNot startedRequires Python1 hrStart
  2. 11Short-rate models: calibrating Hull–WhiteNot startedRequires Python1 hr 10 minStart
  3. 12Calibrating the Heston modelNot startedRequires Python1 hr 10 minStart
  1. 13Validation: cross-checking against QuantLibNot startedRequires Python1 hrStart
  2. 14Capstone: pricing and risking a small bookNot startedRequires Python2 hrStart

Completion

Pass all 14 labs with a score of 70+ to complete the skill and earn the QuantLib Builder badge on your profile.

0 / 140%

Prerequisites

Comfort with Python and NumPy, plus the basics of bond and option pricing; the derivatives pricing skill is the best preparation.

  • Python
  • ΔDerivatives Pricing
  • dWStochastic Calculus

Tools you'll use

PythonQuantLibNumPySciPypandaspytest

What you'll learn

  • Handle dates, calendars, day counts and schedules the way a pricing library does
  • Price bonds from a yield and options with analytic engines
  • Bootstrap a yield curve from Treasury yields and swaps
  • Design instruments, pricing engines and the observer pattern the way QuantLib does
  • Add Monte Carlo and finite-difference engines, and calibrate volatility, Hull–White and Heston to quotes
  • Cross-check your pricer against the real QuantLib and use it to risk a small book
uantCraft Academy

Quant development, learned by doing: short lessons, graded labs and a real IDE, right in your browser.

Learn
All roadmapsAll skillsPythonMarket StructureCalculusLinear AlgebraProbabilityStatisticsMatrix DecompositionsOptimizationTime SeriesStochastic CalculusBayesian InferenceHidden Markov ModelsParticle filtering and non-stationary time series
Support
Give us feedbackBuy us a Coffee
Legal
Privacy policyTerms of service
© 2026 QuantCraft Solutions. All rights reserved.
QuantCraft
LoginJoin ↗
Login