Elysia Tools

Browse tools, examples, visual explainers, and topic guides from one clear workspace.

Top Categories

Hubs

Language
ZHESPTRUFRDEEN

Elysia Tools

Navigation

Finance

Treasury Yield-Curve Nelson-Siegel / Svensson Bootstrap

· Last updated:2026-08-26

This tool is for informational purposes only and does not constitute medical, financial, or legal advice; consult a qualified professional for advice.

Bootstrap the discount-factor and spot curve from treasury quotes, fit Nelson-Siegel or Svensson parametrically, and chart spot plus instantaneous forward curves with basis-point residuals.

Execution

Run this tool

Fill in the form, run the tool, and review the result in one place.

Samples

Examples that match this tool

Related

Continue with connected tools and hubs

Written by the Elysia Tools team

Tool usage guide

Learn when to use this tool, what it supports, and how real users apply it.

Key facts

Category
Finance
Input types
textarea, select, checkbox
Output type
html
Sample coverage
4
API ready
Yes

Overview

The Treasury Yield-Curve Nelson-Siegel / Svensson Bootstrap tool extracts discount factors and zero-coupon spot rates from coupon bond prices, fits parametric yield-curve models, and generates continuous spot and instantaneous forward curves with basis-point error metrics.

When to use

  • Constructing zero-coupon spot rate and discount factor curves from raw Treasury bill and bond market prices.
  • Fitting 4-parameter Nelson-Siegel or 6-parameter Svensson models to smooth bond yield curves and quantify slope or curvature factors.
  • Deriving instantaneous forward rate curves and interpolating yields across non-standard maturity tenors.

How it works

  1. 1Enter market quotes with maturity in years, bond price, and coupon percentage per row.
  2. 2Select the parametric model (Nelson-Siegel or Svensson) and compounding convention (semiannual bond-equivalent, annual, or continuous).
  3. 3Run the bootstrap algorithm to iteratively extract discount factors and spot rates from shortest to longest maturity.
  4. 4Review the resulting parameter estimates (level, slope, curvature, decay constants), RMSE residuals in basis points, fitted spot rates, and instantaneous forward curve chart.

Use cases

  • Fixed-income portfolio managers pricing illiquid bonds by discounting future cash flows against a parametrically fitted zero curve.
  • Risk analysts and quantitative researchers modeling term structure movements and tracking level, slope, and curvature beta shifts.
  • ALM teams needing precise discount factors across standard and non-standard tenors for balance sheet valuation.

Examples

1. Nelson-Siegel Fit on Standard Upward-Sloping Treasuries

Fixed Income Analyst

Background

An analyst needs to build a continuous benchmark spot curve from on-the-run Treasury quotes ranging from 6 months to 30 years.

Problem

Raw market quotes only provide discrete yields to maturity, requiring bootstrapping and smoothing to value off-the-run cash flows.

How to use

Paste five benchmark treasury quotes into the input field, choose Nelson-Siegel as the parametric model, and select semiannual compounding.

bonds = "0.5 98.39 0\n2 99.95 4.25\n5 99.55 4.35\n10 98.10 4.45\n30 96.60 4.60", model = "nelson-siegel", compounding = "semiannual", showForward = true

Outcome

Generates discount factors, bootstrapped spots rising from 3.27% to 4.90%, estimated beta parameters, and an instantaneous forward curve with sub-basis-point RMSE residuals.

2. Svensson Model on Inverted and Humped Yield Curve

Treasury Risk Manager

Background

A risk manager is analyzing an inverted market environment with tight short-end spreads and an intermediate maturity hump.

Problem

Standard 4-parameter models fail to capture the secondary curve inflection between 2-year and 7-year maturities.

FAQ

What input format is required for bond data?

Provide one bond per line containing three space-delimited values: maturity in years, clean or dirty market price, and annual coupon rate percentage.

When should I choose Svensson over Nelson-Siegel?

Use Svensson (6 parameters) when your yield curve exhibits complex shapes with multiple humps or inflections that Nelson-Siegel (4 parameters) cannot capture.

Which compounding conventions are supported?

You can output spot rates using semiannual bond-equivalent yield, annual compounding, or continuous compounding.

How does the tool bootstrap discount factors?

It solves for zero rates sequentially from the shortest zero-coupon instruments outward, stripping intermediate coupon cash flows using previously determined discount factors.

What does the instantaneous forward curve represent?

It represents the marginal implied interest rate at an exact future moment, derived analytically from the fitted parametric curve parameters.

Home
Tools3201
Samples593
Visualizations465
Viewers103
Hubs233
Tags333
Images, Audio & Video657

Image, audio, and video processing, conversion, and optimization tools

Math, Date & Finance644

Calculators, numerics, date logic, statistics, and finance tools

Design & Color297

Color, layout, graphics, visual styling, and design helper tools

Text & Writing209

Writing, cleanup, formatting, extraction, and text analysis tools

Developer & Web193

Developer utilities, networking, web debugging, and automation helpers

Conversion & Encoding175

Format, file, archive, unit, and encoding conversion tools

FLAC/WAV Source Screening and Evidence Handoff
Self-Hosted Giveaway Widget Review and Embed Handoff
Stripe Promo Code Batch Review and Import Preflight
Batch Photo Culling Review and Editing Shortlist Handoff
UI Screenshot Structure Review and Development Handoff

© 2026 Elysia Tools. All rights reserved.

DocsPricingAboutTerms of ServicePrivacy PolicyCookiesContact
Python

Web Image Processing Python Samples

Web Python image processing examples using PIL/Pillow including reading, saving, resizing, and format conversion

CSS Frameworks

Bootstrap 5 Samples

Bootstrap 5 CSS framework examples including components, utilities, layout system, and responsive design patterns

Java

Android Image Processing Java Samples

Android Java image processing examples including reading/saving images, scaling, and format conversion

Kotlin

Android Image Processing Kotlin Samples

Android Kotlin image processing examples including reading/saving images, scaling, and format conversion

Format Conversion

AsciiMath LaTeX MathML Equation Converter

Convert equations between AsciiMath, LaTeX and MathML: auto-detect the input format, produce canonical LaTeX, presentation MathML with an embedded TeX annotation, a best-effort AsciiMath back-translation, a screen-reader aria-label snippet (role=math), and a KaTeX HTML preview.

Design

ECharts Theme Token Extractor

Extract design tokens — colors, numbers, font sizes and strings — from an ECharts theme JSON and export them straight into your design system. Paste a theme object (the kind registered via echarts.init(dom, themeName)) and the tool walks every leaf, tagging each color (with optional named/rgb → hex normalization), spacing number, font size and string, then emits clean CSS variables, a Tailwind theme.extend config, Style Dictionary tokens.json, or SCSS variables. Bridges the gap between an ECharts visualization theme and Figma/CSS/Tailwind design tokens without copying each value by hand.

Design

Image Palette to Design Tokens

Extract a dominant color palette from an image (k-means clustering), then export it as CSS variables, SCSS variables, a Tailwind config, or JSON design tokens — with named colors and an auto-generated shade scale for each

Developer Tools

PDF Header/Footer Noise Remover

Compare extraction with and without repeated page furniture to spot header/footer noise before using PDF text in RAG, summarization, or editing workflows

How to use

Input eight bond quotes across the curve, select the Svensson model with two decay parameters, and enable the forward curve display.

bonds = "0.5 97.922 0\n1 96.182 0\n2 102.222 4.75\n3 102.987 4.5\n5 105.078 4.5\n7 106.698 4.5\n10 108.700 4.5\n30 114.456 4.25", model = "svensson", compounding = "semiannual", showForward = true

Outcome

Produces a fitted 6-parameter curve capturing both inversion and humping, complete with discount factors and an interpolated tenor schedule.