credit-analysis

Compute bond prices, default probabilities, and yield curve metrics with scipy and numpy.

Updated Jun 30, 2026
One-click install
npx skills add https://github.com/0xZKnw/vibe-trading-tap --skill credit-analysis-0xzknw
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: credit-analysis
Source: https://github.com/0xZKnw/vibe-trading-tap/tree/main/agent/src/skills/credit-analysis
Command: npx skills add https://github.com/0xZKnw/vibe-trading-tap --skill credit-analysis-0xzknw

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill addresses the complexity of evaluating corporate and sovereign debt, helping users navigate bond pricing, default risk assessment, and interest rate sensitivity without manual calculation.

Core Features & Use Cases

  • Quantitative Analysis: Perform bond pricing, YTM calculations, and duration/convexity analysis to manage interest rate risk.
  • Risk Assessment: Evaluate corporate financial health using Altman Z-Score, Merton, and KMV models to predict default probabilities.
  • Market Strategy: Analyze credit spreads, yield curves, and specific Chinese market instruments like LGFV (City Investment) bonds.

Quick Start

Use the credit-analysis skill to calculate the bond price and modified duration for a 5-year bond with a 5 percent coupon rate at a 4 percent yield.

Frequently Asked Questions about credit-analysis

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

FAQPage Schema
How do I calculate bond pricing and modified duration for fixed-income securities?

To calculate bond pricing and modified duration, you need quantitative analysis of yield to maturity and interest rate sensitivity. This Skill computes precise bond valuations and duration metrics using scipy and numpy for accurate mathematical modeling.

How does the Altman Z-Score model predict corporate default probability?

The Altman Z-Score predicts corporate default probability by quantitatively evaluating corporate financial health using standardized financial ratios. This Skill applies structural models like Merton and KMV to assess default risk for corporate debt instruments.

Can I use numpy and scipy for yield curve fitting and credit spread analysis?

Yes, you can use numpy and scipy for yield curve fitting and credit spread analysis. This Skill leverages these dependencies to execute precise mathematical computations required for market strategy and fixed-income security valuation.

What is the best way to assess credit risk for Chinese LGFV City Investment bonds?

The best way to assess credit risk for Chinese LGFV bonds is through quantitative market strategy analysis. This Skill supports evaluating specific Chinese market instruments like City Investment bonds alongside standard corporate and sovereign debt.

Does quantitative credit analysis support both corporate and sovereign debt instruments?

Quantitative credit analysis supports both corporate and sovereign debt instruments for comprehensive risk assessment. This Skill performs default probability estimation and fixed-income valuation across both debt categories using structural models.

How do I measure interest rate risk using duration and convexity analysis?

You measure interest rate risk by calculating duration and convexity to evaluate bond price sensitivity to yield changes. This Skill performs quantitative duration and convexity analysis to help manage fixed-income interest rate risk.