bond-relative-value

Decompose bond spreads into rich versus cheap relative-value opportunities.

1|Updated Mar 9, 2026
One-click install
npx skills add https://github.com/kiryteo/opencode-setup --skill bond-relative-value-kiryteo
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: bond-relative-value
Source: https://github.com/kiryteo/opencode-setup/tree/main/skills/bond-relative-value
Command: npx skills add https://github.com/kiryteo/opencode-setup --skill bond-relative-value-kiryteo

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Perform relative value analysis on bonds by combining pricing, yield curve context, credit spreads, and scenario stress testing. Use when analyzing bond richness/cheapness, computing spread decomposition, comparing bonds, assessing bond value vs curves, or running rate shock scenarios.

Core Features & Use Cases

  • Pricing and yield calculations using bond_price to obtain clean/dirty price, yield, duration, DV01, and Z-spread.
  • Yield-curve and government/credit spread analysis using interest_rate_curve and credit_curve to isolate components of spread.
  • Scenario testing and P&L generation using yieldbook_scenario across parallel rate shocks and combining with tscc_historical_pricing_summaries for context.
  • Output synthesis into spread decomposition and scenario tables guiding relative-value calls.

Quick Start

Use the bond relative value skill to run a spread decomposition and scenario table for a given bond.

Frequently Asked Questions about bond-relative-value

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

FAQPage Schema
How do I decompose bond spreads to identify rich vs cheap relative value?

To decompose bond spreads for relative value, you isolate government and credit curve components to determine if a bond is rich or cheap. This approach combines pricing, yield curve context, and credit spreads to pinpoint trading opportunities.

What is the best way to run yield curve analysis and rate shock scenarios for fixed-income bonds?

Yield curve analysis and rate shock scenarios are best run by applying parallel rate shocks to bond pricing. This process generates scenario tables and P&L metrics, combining interest rate curves with historical pricing summaries for context.

Can I calculate DV01, Z-spread, and duration across multiple bonds and credit conditions?

Yes, you can calculate DV01, Z-spread, and duration across multiple bonds and credit conditions. By utilizing pricing tools to obtain clean and dirty prices alongside yield metrics, you can assess fixed-income value under varying credit environments.

When do I need spread decomposition and scenario analysis for bond pricing?

You need spread decomposition and scenario analysis for bond pricing when assessing fixed-income richness or cheapness against the yield curve. It is essential for stress testing credit conditions, isolating spread components, and guiding relative value calls.

Does bond relative value analysis work for comparing multiple bonds under parallel rate shocks?

Yes, bond relative value analysis works for comparing multiple bonds under parallel rate shocks. It constructs scenario tables and spread decompositions across various credit conditions, allowing you to evaluate fixed-income value versus curves simultaneously.

What are the limitations of using spread decomposition for fixed-income relative value calls?

Limitations of using spread decomposition for fixed-income relative value calls include the reliance on accurate interest rate and credit curve inputs. Scenario stress testing through parallel rate shocks may not capture non-parallel curve twists or complex market dynamics.