bond-benchmarking

Benchmark bonds against market benchmarks using spread, duration, and attribution metrics.

Updated Aug 27, 2026
One-click install
npx skills add https://github.com/keith-mvs/ordinis --skill bond-benchmarking
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bond-benchmarking
Source: https://github.com/keith-mvs/ordinis/tree/main/docs/knowledge-base/domains/signals/fixed-income/bond-benchmarking
Command: npx skills add https://github.com/keith-mvs/ordinis --skill bond-benchmarking

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires numpy, pandas, scipy, and includes scripts (resource) and references (resource) and assets (resource) components.

What problem does it solve?

This Skill helps compare bond yields, durations, and credit quality against benchmarks to identify relative value opportunities and attribution.

Core Features & Use Cases

  • Benchmark Selection: Treasury curve vs corporate indices
  • Spread Analytics: G-, I-, Z-spreads and relative value metrics
  • Attribution: Tracking error and information ratio for portfolios
  • Deliverables: Benchmarking dashboards and attribution reports

Quick Start

Example: "Compare a corporate bond against Treasury benchmarks and compute tracking error."

Frequently Asked Questions about bond-benchmarking

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I calculate bond spreads like G-spread, I-spread, and Z-spread?

Bond spreads measure yield differences between a bond and its benchmark. G-spread, I-spread, and Z-spread are calculated by comparing bond yields against Treasury curves or corporate indices, identifying relative value and credit compensation across fixed-income portfolios using numpy and pandas calculations.

How do I benchmark a corporate bond against Treasury benchmarks?

Select a Treasury curve or corporate index as your benchmark, then compare the bond's yield, duration, and credit quality metrics against that benchmark. The Skill computes spread analytics and tracking error to identify relative value opportunities and attribution within peer groups.

What's the best way to calculate tracking error and information ratio for a bond portfolio?

Tracking error measures portfolio performance deviation from a benchmark using duration and yield spread analysis. Information ratio normalizes excess return by tracking error, enabling performance attribution analysis and identification of manager skill across fixed-income portfolios and peer comparisons.

Can I use this for duration and convexity analysis on bond portfolios?

Yes. Duration and convexity metrics quantify interest rate sensitivity and bond price curvature. The Skill calculates these measures alongside yield spreads and tracking error to support benchmarking dashboards and attribution reports for relative value assessment.

Do I need specific data formats to benchmark bonds against multiple indices?

Bond benchmarking requires structured yield, duration, credit quality, and benchmark index data. The Skill handles Treasury curves and corporate indices using pandas DataFrames and numpy arrays, supporting comparative analysis across multiple benchmarks and peer groups simultaneously.

What are the limitations of spread-based relative value analysis?

Spread analysis reflects current market conditions and credit risk but may not capture liquidity premiums, market regime shifts, or tail risks. Duration matching assumes parallel yield curve movements; convexity adjustments are required for large rate changes in non-linear scenarios.