[{"data":1,"prerenderedAt":-1},["ShallowReactive",2],{"skill:01M7F9AMGV6BT1QF064JQCD35X":3,"skill-same:01M7F9AMGV6BT1QF064JQCD35X":64},{"skillNo":4,"name":5,"nameZh":6,"description":7,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":15,"licenseFileUrl":6,"sourceHtmlUrl":16,"categories":17,"keywords":18,"publishedAt":19,"linkOnly":20,"markdownContent":21,"markdownBody":22,"frontMatter":23,"refName":44,"commitSha":45,"skillDirectory":46,"forksCount":14,"repositoryHtmlUrl":47,"repositoryHomepageUrl":47,"ownerHtmlUrl":48,"ownerBlogUrl":6,"ownerDescription":6,"updatedAt":49,"install":50,"resources":63},"01M7F9AMGV6BT1QF064JQCD35X","modeling-bond-valuations",null,"Calculates bond pricing with duration, convexity, OAS, and Z-spread analysis. Use when pricing bonds, calculating risk metrics, or evaluating relative value.","Mr-Nobody-Anonymous\u002FAll-skills","Mr-Nobody-Anonymous","https:\u002F\u002Favatars.githubusercontent.com\u002Fu\u002F184253119?v=4","01M7AEXFJHKTYQW5R0ZCQQTWFV","anonymous","01M7C00M3GQR4QKP9GZA42GFAK",0,"Apache-2.0","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Ffinance\u002Fmodeling-bond-valuations\u002FSKILL.md",[],[],"2026-11-16 10:05:34",false,"---\nname: modeling-bond-valuations\nlanguage: en\ndescription: Calculates bond pricing with duration, convexity, OAS, and Z-spread analysis. Use when pricing bonds, calculating risk metrics, or evaluating relative value.\ntags:\n  - modeling\n  - fixed-income\n  - risk\nmetadata:\n  author: casemark\n  practice_areas:\n    - Fixed Income\n    - Credit Research\n    - Bond Trading\n  document_types:\n    - Financial Model\n  skill_modes:\n    - Modeling\n    - Forecasting\nsource: \"https:\u002F\u002Fgithub.com\u002FCaseMark\u002Fskills\"\nsource_repository: \"CaseMark\u002Fskills\"\nsource_path: \"skills\u002Ffinance\u002Fmodeling-bond-valuations\u002FSKILL.md\"\nlicense: \"Apache-2.0\"\nimported_at: \"2026-09-20\"\n---\n# Modeling Bond Valuations\n\n## When To Use\n\n- Pricing a bond (fixed-rate, floating-rate, zero-coupon, callable, putable, or amortizing) from first principles or relative to benchmarks\n- Calculating duration (Macaulay, modified, effective) and convexity for portfolio risk management\n- Computing OAS or Z-spread to evaluate credit-adjusted relative value versus comparable issues\n- Running scenario\u002Fshock analysis on rate moves, curve shifts, or credit migration\n- Comparing bonds across sectors or maturities on a spread basis for trade idea generation\n\n## Inputs To Gather\n\n- **Bond terms**: CUSIP\u002FISIN, coupon rate, coupon frequency, maturity date, day-count convention (30\u002F360, ACT\u002FACT, ACT\u002F360), par value, settlement date\n- **Embedded options**: Call\u002Fput schedule with dates and strike prices; make-whole spread if applicable\n- **Benchmark curve**: Treasury par\u002Fspot\u002Fforward curve or swap curve (source and as-of date)\n- **Credit inputs**: Credit rating, sector, issuer spread history, comparable issue spreads\n- **Market data**: Current market price or yield, accrued interest, repo rate (for carry analysis)\n- **Volatility assumption**: Interest rate vol model or surface if pricing options (e.g., lognormal OAS model vol in bps)\n\n## Workflow\n\n1. **Build the cash flow schedule**\n   - Map coupon dates using the stated frequency and day-count convention\n   - For amortizing bonds, construct the principal repayment schedule\n   - For floaters, project coupon resets from the forward curve plus quoted spread\n\n2. **Bootstrap or source the discount curve**\n   - Use Treasury spot rates (strip curve) or swap zero rates as the risk-free benchmark\n   - Interpolate intermediate maturities via cubic spline or piecewise linear methods\n   - Document curve source, snapshot date\u002Ftime, and interpolation method\n\n3. **Compute base valuation**\n   - **Price from yield**: Discount each cash flow at the bond's YTM; sum present values; add accrued interest for dirty price\n   - **Z-spread**: Solve iteratively for the constant spread over the spot curve that equates discounted cash flows to the observed market price\n   - **OAS (for bonds with optionality)**: Use a binomial or Monte Carlo interest rate model; calibrate the tree\u002Fsim to the benchmark curve and vol surface; solve for the spread that prices the bond to market after accounting for embedded option exercise [VERIFY: confirm vol model and calibration parameters match firm convention]\n\n4. **Calculate risk metrics**\n   - **Modified duration**: −(1\u002FP) × dP\u002Fdy, computed analytically or via a ±1 bp parallel shift\n   - **Effective duration** (for callable\u002Fputable): Use the OAS model to reprice under ±25–50 bp parallel curve shifts; ED = (P₋ − P₊) \u002F (2 × P₀ × Δy)\n   - **Convexity**: (P₋ + P₊ − 2P₀) \u002F (P₀ × Δy²), using the same shift size\n   - **Key-rate durations**: Shift individual tenor points (2y, 5y, 10y, 30y) by ±25 bp, holding others constant; report sensitivity at each node\n   - **DV01 \u002F BPV**: Dollar change per $1 million face for a 1 bp yield change\n\n5. **Run relative value and scenario analysis**\n   - Compare OAS or Z-spread to sector medians, rating-tier comps, and issuer's own curve\n   - Stress-test with parallel shifts (±50, ±100, ±200 bp), curve steepening\u002Fflattening (2s10s ±50 bp), and credit spread widening (+50, +100 bp)\n   - Compute carry and roll-down over 1m\u002F3m\u002F6m horizons using forward rates\n   - Flag rich\u002Fcheap signals: current spread vs. 6-month and 12-month historical range\n\n6. **Validate outputs**\n   - Cross-check computed price against Bloomberg\u002Fvendor price (tolerance ≤ 1\u002F32 for Treasuries, ≤ ¼ point for corporates)\n   - Verify duration and convexity fall within expected ranges for the bond's tenor and coupon\n   - Confirm OAS is positive for investment-grade issues and directionally consistent with credit tier\n   - Sense-check carry\u002Froll-down against the shape of the forward curve\n\n## Output\n\nDeliver a structured valuation summary containing:\n\n- **Bond identification**: Issuer, CUSIP\u002FISIN, coupon, maturity, call features\n- **Pricing table**: Clean price, dirty price, accrued interest, YTM, YTW (yield-to-worst for callables)\n- **Spread metrics**: Z-spread, OAS, G-spread, I-spread (where applicable)\n- **Risk metrics**: Modified\u002Feffective duration, convexity, DV01, key-rate duration profile\n- **Relative value**: Spread vs. comps table, historical spread percentile, rich\u002Fcheap assessment\n- **Scenario matrix**: Price and spread impact under each stress scenario\n- **Carry\u002Froll-down**: Projected total return components over stated horizons\n- **Assumptions log**: Curve source, vol model, day-count, settlement, interpolation method\n\n## Quality Checks\n\n- Confirm day-count convention matches the bond's market standard (e.g., 30\u002F360 for US corporates, ACT\u002FACT for Treasuries) [VERIFY]\n- Ensure settlement date reflects T+1 or T+2 convention per market [VERIFY]\n- Validate that the yield-to-worst is computed across all call dates, not just the first\n- Check that OAS model calibration reprices on-the-run benchmarks to within 0.5 bp\n- Verify accrued interest calculation matches the ex-dividend convention for the market\n- Confirm that key-rate duration contributions sum approximately to effective duration\n- Flag any negative OAS on investment-grade bonds as a potential data or model error\n- Mark all externally sourced vol assumptions and spread comps with retrieval dates\n","# Modeling Bond Valuations\n\n## When To Use\n\n- Pricing a bond (fixed-rate, floating-rate, zero-coupon, callable, putable, or amortizing) from first principles or relative to benchmarks\n- Calculating duration (Macaulay, modified, effective) and convexity for portfolio risk management\n- Computing OAS or Z-spread to evaluate credit-adjusted relative value versus comparable issues\n- Running scenario\u002Fshock analysis on rate moves, curve shifts, or credit migration\n- Comparing bonds across sectors or maturities on a spread basis for trade idea generation\n\n## Inputs To Gather\n\n- **Bond terms**: CUSIP\u002FISIN, coupon rate, coupon frequency, maturity date, day-count convention (30\u002F360, ACT\u002FACT, ACT\u002F360), par value, settlement date\n- **Embedded options**: Call\u002Fput schedule with dates and strike prices; make-whole spread if applicable\n- **Benchmark curve**: Treasury par\u002Fspot\u002Fforward curve or swap curve (source and as-of date)\n- **Credit inputs**: Credit rating, sector, issuer spread history, comparable issue spreads\n- **Market data**: Current market price or yield, accrued interest, repo rate (for carry analysis)\n- **Volatility assumption**: Interest rate vol model or surface if pricing options (e.g., lognormal OAS model vol in bps)\n\n## Workflow\n\n1. **Build the cash flow schedule**\n   - Map coupon dates using the stated frequency and day-count convention\n   - For amortizing bonds, construct the principal repayment schedule\n   - For floaters, project coupon resets from the forward curve plus quoted spread\n\n2. **Bootstrap or source the discount curve**\n   - Use Treasury spot rates (strip curve) or swap zero rates as the risk-free benchmark\n   - Interpolate intermediate maturities via cubic spline or piecewise linear methods\n   - Document curve source, snapshot date\u002Ftime, and interpolation method\n\n3. **Compute base valuation**\n   - **Price from yield**: Discount each cash flow at the bond's YTM; sum present values; add accrued interest for dirty price\n   - **Z-spread**: Solve iteratively for the constant spread over the spot curve that equates discounted cash flows to the observed market price\n   - **OAS (for bonds with optionality)**: Use a binomial or Monte Carlo interest rate model; calibrate the tree\u002Fsim to the benchmark curve and vol surface; solve for the spread that prices the bond to market after accounting for embedded option exercise [VERIFY: confirm vol model and calibration parameters match firm convention]\n\n4. **Calculate risk metrics**\n   - **Modified duration**: −(1\u002FP) × dP\u002Fdy, computed analytically or via a ±1 bp parallel shift\n   - **Effective duration** (for callable\u002Fputable): Use the OAS model to reprice under ±25–50 bp parallel curve shifts; ED = (P₋ − P₊) \u002F (2 × P₀ × Δy)\n   - **Convexity**: (P₋ + P₊ − 2P₀) \u002F (P₀ × Δy²), using the same shift size\n   - **Key-rate durations**: Shift individual tenor points (2y, 5y, 10y, 30y) by ±25 bp, holding others constant; report sensitivity at each node\n   - **DV01 \u002F BPV**: Dollar change per $1 million face for a 1 bp yield change\n\n5. **Run relative value and scenario analysis**\n   - Compare OAS or Z-spread to sector medians, rating-tier comps, and issuer's own curve\n   - Stress-test with parallel shifts (±50, ±100, ±200 bp), curve steepening\u002Fflattening (2s10s ±50 bp), and credit spread widening (+50, +100 bp)\n   - Compute carry and roll-down over 1m\u002F3m\u002F6m horizons using forward rates\n   - Flag rich\u002Fcheap signals: current spread vs. 6-month and 12-month historical range\n\n6. **Validate outputs**\n   - Cross-check computed price against Bloomberg\u002Fvendor price (tolerance ≤ 1\u002F32 for Treasuries, ≤ ¼ point for corporates)\n   - Verify duration and convexity fall within expected ranges for the bond's tenor and coupon\n   - Confirm OAS is positive for investment-grade issues and directionally consistent with credit tier\n   - Sense-check carry\u002Froll-down against the shape of the forward curve\n\n## Output\n\nDeliver a structured valuation summary containing:\n\n- **Bond identification**: Issuer, CUSIP\u002FISIN, coupon, maturity, call features\n- **Pricing table**: Clean price, dirty price, accrued interest, YTM, YTW (yield-to-worst for callables)\n- **Spread metrics**: Z-spread, OAS, G-spread, I-spread (where applicable)\n- **Risk metrics**: Modified\u002Feffective duration, convexity, DV01, key-rate duration profile\n- **Relative value**: Spread vs. comps table, historical spread percentile, rich\u002Fcheap assessment\n- **Scenario matrix**: Price and spread impact under each stress scenario\n- **Carry\u002Froll-down**: Projected total return components over stated horizons\n- **Assumptions log**: Curve source, vol model, day-count, settlement, interpolation method\n\n## Quality Checks\n\n- Confirm day-count convention matches the bond's market standard (e.g., 30\u002F360 for US corporates, ACT\u002FACT for Treasuries) [VERIFY]\n- Ensure settlement date reflects T+1 or T+2 convention per market [VERIFY]\n- Validate that the yield-to-worst is computed across all call dates, not just the first\n- Check that OAS model calibration reprices on-the-run benchmarks to within 0.5 bp\n- Verify accrued interest calculation matches the ex-dividend convention for the market\n- Confirm that key-rate duration contributions sum approximately to effective duration\n- Flag any negative OAS on investment-grade bonds as a potential data or model error\n- Mark all externally sourced vol assumptions and spread comps with retrieval dates\n",{"name":5,"tags":24,"source":28,"license":15,"language":29,"metadata":30,"description":7,"imported_at":41,"source_path":42,"source_repository":43},[25,26,27],"modeling","fixed-income","risk","https:\u002F\u002Fgithub.com\u002FCaseMark\u002Fskills","en",{"author":31,"skill_modes":32,"document_types":35,"practice_areas":37},"casemark",[33,34],"Modeling","Forecasting",[36],"Financial Model",[38,39,40],"Fixed Income","Credit Research","Bond Trading","2026-09-20","skills\u002Ffinance\u002Fmodeling-bond-valuations\u002FSKILL.md","CaseMark\u002Fskills","main","2d1750717747097b602acf30bd09a7cbd4b4c6ea","awesome_skills\u002Ffinance\u002Fmodeling-bond-valuations","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous","2026-11-09 11:45:36",{"source":8,"skillName":5,"commands":51,"prompt":61,"zipAvailable":62},[52,55,58],{"tool":53,"command":54},"npx","npx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill modeling-bond-valuations",{"tool":56,"command":57},"bunx","bunx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill modeling-bond-valuations",{"tool":59,"command":60},"pnpm","pnpm dlx skills add Mr-Nobody-Anonymous\u002FAll-skills --skill modeling-bond-valuations","安装技能，技能地址：https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Ffinance\u002Fmodeling-bond-valuations\u002FSKILL.md",true,[],[65,73,80,87,94,101],{"skillNo":66,"name":67,"nameZh":6,"description":68,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":6,"sourceHtmlUrl":70,"categories":71,"keywords":72,"publishedAt":19},"01M7FFFZPC2025JQQHPHDX154J","dei-assessment","Assess diversity, equity, and inclusion with metrics. TRIGGERS - Use when user needs help with dei-assessment related tasks.","MIT","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-assessment\u002FSKILL.md",[],[],{"skillNo":74,"name":75,"nameZh":6,"description":76,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":6,"sourceHtmlUrl":77,"categories":78,"keywords":79,"publishedAt":19},"01M7FFFWN8H4WA7A6Y398QKB6J","dei-action-plan","Create DEI action plans with goals and initiatives. TRIGGERS - Use when user needs help with dei-action-plan related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fdei-action-plan\u002FSKILL.md",[],[],{"skillNo":81,"name":82,"nameZh":6,"description":83,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":6,"sourceHtmlUrl":84,"categories":85,"keywords":86,"publishedAt":19},"01M7FFFSHTM0QZRVZ2NRJTJ0PY","culture-fit-assessment","Design culture add assessment processes. TRIGGERS - Use when user needs help with culture-fit-assessment related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fculture-fit-assessment\u002FSKILL.md",[],[],{"skillNo":88,"name":89,"nameZh":6,"description":90,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":6,"sourceHtmlUrl":91,"categories":92,"keywords":93,"publishedAt":19},"01M7FFFMA12RKEQA38KHJSXXPS","cowork-to-code-bridge","Use an already-installed, independently verified cowork-to-code bridge to run narrowly approved actions on the user's own macOS, Linux, or WSL2 machine through a local file queue.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcowork-to-code-bridge\u002FSKILL.md",[],[],{"skillNo":95,"name":96,"nameZh":6,"description":97,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":6,"sourceHtmlUrl":98,"categories":99,"keywords":100,"publishedAt":19},"01M7FFFH1F6M8YRGW5V487GH1K","counter-offer-response","Draft counter-offer responses for retention. TRIGGERS - Use when user needs help with counter-offer-response related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcounter-offer-response\u002FSKILL.md",[],[],{"skillNo":102,"name":103,"nameZh":6,"description":104,"descriptionZh":6,"repositoryFullName":8,"ownerLogin":9,"ownerAvatarUrl":10,"ownerAccountNo":11,"ownerDisplayName":12,"repositoryNo":13,"starsCount":14,"licenseSpdxId":69,"licenseFileUrl":6,"sourceHtmlUrl":105,"categories":106,"keywords":107,"publishedAt":19},"01M7FFFDGEHV8Y7J9N40HZXW52","continuous-feedback-system","Design continuous feedback systems. TRIGGERS - Use when user needs help with continuous-feedback-system related tasks.","https:\u002F\u002Fgithub.com\u002FMr-Nobody-Anonymous\u002FAll-skills\u002Fblob\u002Fmain\u002Fawesome_skills\u002Fhr-people\u002Fcontinuous-feedback-system\u002FSKILL.md",[],[]]