본문으로 건너뛰기
cccskills
무료GitHub에 공개

modeling-counterparty-credit-exposure

Calculates potential future exposure and CVA with simulation-based approaches and netting agreement analysis. Use when modeling counterparty exposure, calculating CVA/DVA, or assessing counterparty risk.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

실행 점수 미검증

설치 방법 보기

포함된 파일(1)

  • SKILL.md6.5 KB

SKILL.md(원문)

설치하기 전에 에이전트에게 전달되는 지시 내용을 확인할 수 있습니다.

Modeling Counterparty Credit Exposure

When To Use

  • Calculating potential future exposure (PFE) profiles for OTC derivative portfolios
  • Computing credit valuation adjustment (CVA) and debit valuation adjustment (DVA) for pricing or accounting (ASC 820 / IFRS 13)
  • Assessing counterparty credit limits and concentration risk across netting sets
  • Evaluating the impact of collateral agreements (CSAs) on exposure profiles
  • Stress-testing counterparty exposure under adverse market scenarios
  • Supporting regulatory capital calculations under SA-CCR or IMM [VERIFY: applicable regulatory framework]

Inputs To Gather

  • Trade population: Full list of trades per counterparty, including notional, trade date, maturity, currency, and product type (IRS, CDS, FX forwards, equity options, etc.)
  • Netting agreements: ISDA Master Agreement status, netting set definitions, and any close-out netting enforceability opinions [VERIFY: jurisdiction-specific enforceability]
  • Collateral terms: CSA parameters — threshold, minimum transfer amount (MTA), independent amount, eligible collateral types, rehypothecation rights, margin period of risk (MPR)
  • Market data: Yield curves, volatility surfaces, FX spot rates, credit spreads (CDS or bond-implied), correlation assumptions
  • Counterparty credit data: Credit ratings, CDS spreads (or proxy spreads), probability of default (PD) term structures, loss given default (LGD) assumptions
  • Own credit data: Entity CDS spreads or proxy for DVA calculation
  • Simulation parameters: Number of Monte Carlo paths, time grid granularity, confidence level for PFE (typically 95th or 97.5th percentile), simulation horizon

Workflow

  1. Map netting sets and collateral

    • Group trades by legal netting agreement; confirm enforceability per jurisdiction
    • Parse CSA terms: thresholds, MTAs, MPR, eligible collateral haircuts
    • Identify wrong-way risk exposures (counterparty credit quality correlated with exposure)
  2. Calibrate market models

    • Select diffusion processes per risk factor (e.g., Hull-White for rates, GBM or local vol for equities/FX, reduced-form for credit)
    • Calibrate to current market data; document calibration targets and fit quality
    • Set correlation matrix across risk factors — use historical estimation with appropriate lookback window
  3. Run Monte Carlo simulation

    • Simulate joint evolution of all risk factors across the time grid
    • Reprice each trade at each time step on each path (use analytic approximations or regression-based methods like Longstaff-Schwartz for early-exercise products)
    • Aggregate to netting-set level, apply close-out netting: net exposure = max(0, sum of MTMs within netting set)
  4. Apply collateral dynamics

    • Model collateral calls with MPR lag (typically 10–20 business days for bilateral, 5 for cleared)
    • Apply thresholds, MTAs, and independent amounts per CSA
    • Compute collateralized exposure at each time step: E(t) = max(0, net MTM − collateral held)
  5. Calculate exposure metrics

    • Expected Exposure (EE): Mean of positive exposures across paths at each time step
    • Potential Future Exposure (PFE): Quantile of exposure distribution (95th/97.5th percentile) at each time step
    • Expected Positive Exposure (EPE): Time-weighted average of EE over the profile
    • Peak PFE: Maximum PFE across the time grid
    • Effective EPE: Non-decreasing transformation of EPE for regulatory purposes
  6. Compute CVA and DVA

    • CVA = integral of discounted EE × counterparty default probability × LGD over the exposure horizon
    • DVA = integral of discounted ENE (expected negative exposure) × own default probability × LGD
    • Use counterparty CDS spreads for market-implied PD; use rating-based PD for accounting if required [VERIFY: CVA methodology — market-implied vs. historical PD per firm policy]
    • Consider bilateral CVA (BCVA = CVA − DVA) and FVA if required
  7. Stress test and validate

    • Run exposure profiles under stressed market scenarios (rate shocks, spread widening, FX moves)
    • Test sensitivity to correlation assumptions, number of simulation paths, and time-grid density
    • Compare model PFE against add-on based methods (SA-CCR) as a reasonableness check
    • Back-test exposure predictions against realized MTMs where historical data is available

Output

  • Exposure profile report: Time-series charts of EE, PFE (with confidence level), and peak PFE per netting set and counterparty
  • CVA/DVA summary: Unilateral CVA, DVA, and bilateral CVA per counterparty with breakdown by netting set
  • Collateral impact analysis: Comparison of uncollateralized vs. collateralized exposure profiles showing CSA benefit
  • Sensitivity tables: CVA sensitivity to credit spread moves (CS01), interest rate shifts, and correlation changes
  • Wrong-way risk flags: Identification of netting sets where exposure and counterparty default are positively correlated
  • Methodology documentation: Model choices, calibration details, simulation parameters, and all assumptions

Quality Checks

  • Verify that netting-set groupings match legal documentation — incorrect netting inflates or deflates exposure
  • Confirm collateral parameters (thresholds, MTA, MPR) are sourced from actual CSA terms, not defaults
  • Check that the number of Monte Carlo paths produces stable results (re-run with doubled paths; PFE should not shift materially)
  • Validate that EE converges to zero as trades approach maturity
  • Ensure PFE at the 95th percentile exceeds EE at every time step — if not, check for simulation errors
  • Cross-check CVA magnitude against market benchmarks: CVA as basis points of notional should be plausible given counterparty spread level
  • Confirm discount curves and credit curves are as-of the same valuation date
  • Flag any trades with missing market data or valuation failures — do not silently drop them from the simulation
  • Mark all jurisdiction-dependent assumptions (netting enforceability, MPR regulatory minimums, capital framework) with [VERIFY]

리뷰

아직 리뷰가 없습니다. 사용해 본 소감을 남겨 주세요.

댓글

로그인 없이 쓸 수 있습니다. 사용 후기, 질문, 작동하지 않은 환경 등을 편하게 남겨 주세요.

아직 댓글이 없습니다. 첫 댓글을 남겨 보세요.

보내면 바로 공개됩니다. 이메일 주소나 전화번호 같은 개인 정보는 쓰지 마세요. URL은 2개까지입니다.

0 / 1,000자

이 양식은 reCAPTCHA로 보호되며 Google 개인정보처리방침 및 서비스 약관이 적용됩니다.

같은 저장소의 스킬

Evaluates activist investor campaigns with thesis assessment, proposed changes, and likely outcome analysis. Use when analyzing activist situations, evaluating campaign theses, or assessing activist track records.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CaseMark/skills462026년 10월 22일 업데이트

Evaluates corporate vulnerability to shareholder activism with governance assessment, valuation gaps, and operational improvement opportunities. Use when assessing activist risk, identifying vulnerabilities, or preparing defensive analyses.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CaseMark/skills462026년 10월 22일 업데이트

Evaluates bolt-on acquisitions for existing platforms with strategic fit, synergy quantification, and return contribution analysis. Use when screening add-on targets, building platform acquisition strategies, or modeling tuck-in economics.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CaseMark/skills462026년 10월 22일 업데이트

Evaluates signal half-life, turnover implications, and capacity constraints for systematic alpha factors. Use when analyzing signal persistence, evaluating factor decay, or estimating strategy capacity.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CaseMark/skills462026년 10월 22일 업데이트

Evaluates alternative data sources including satellite, NLP sentiment, web scraping, and geolocation for alpha signal generation. Use when analyzing alt data, evaluating new data sources, or integrating non-traditional signals.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CaseMark/skills462026년 10월 22일 업데이트

Evaluates competition law exposure with market definition, HHI analysis, and remedy estimation for proposed transactions. Use when assessing merger clearance risk, analyzing market concentration, or preparing HSR filings.

한국어 요약은 준비 중입니다. 원문 설명을 표시하고 있습니다.

CaseMark/skills462026년 10월 22일 업데이트

CaseMark의 스킬 모두 보기

이 스킬의 문제 신고