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

modeling-portfolio-risk-decomposition

Decomposes portfolio risk with factor attribution, idiosyncratic risk, and marginal contribution to risk analysis. Use when decomposing portfolio risk, attributing risk sources, or analyzing factor risk contribution.

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

설치 방법 보기

포함된 파일(1)

  • SKILL.md5.5 KB

SKILL.md(원문)

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

Modeling Portfolio Risk Decomposition

When To Use

  • Decomposing total portfolio variance into systematic (factor) and idiosyncratic (security-specific) components
  • Attributing risk to individual factors (market, size, value, momentum, sector, rates, credit spread, etc.)
  • Computing marginal contribution to risk (MCTR) and component contribution to risk (CCTR) for position-level decisions
  • Evaluating whether portfolio risk budget aligns with intended factor tilts
  • Preparing risk reports for investment committees, risk oversight, or investor communications
  • Stress-testing factor exposure drift after rebalancing or new allocations

Inputs To Gather

  • Position-level holdings: Weights (w_i) for each security or asset in the portfolio
  • Factor exposure matrix (B): Security-level loadings on each factor (from regression, fundamental model, or vendor such as Barra/Axioma/Northfield)
  • Factor covariance matrix (F): Covariance among systematic factors over the chosen estimation window
  • Idiosyncratic variance matrix (D): Diagonal matrix of security-specific residual variances
  • Return series (if estimating from scratch): Daily or monthly total returns for holdings and candidate factor proxies
  • Benchmark (optional): Benchmark weights for active risk decomposition
  • Lookback window and frequency: e.g., 252 trading days daily, 60 months monthly — confirm consistency with factor model vintage [VERIFY]

Workflow

  1. Assemble the covariance structure

    • Total portfolio covariance: V = B F Bᵀ + D
    • Confirm dimensions match (n securities × k factors)
    • If using a vendor model, verify the factor covariance vintage date matches the holdings date [VERIFY]
  2. Compute total portfolio variance

    • σ²_p = wᵀ V w
    • Report as annualized volatility: σ_p = √(σ²_p × annualization scalar)
    • Typical annualization: ×252 for daily, ×12 for monthly returns
  3. Decompose into systematic and idiosyncratic

    • Systematic variance: σ²_sys = wᵀ (B F Bᵀ) w
    • Idiosyncratic variance: σ²_idio = wᵀ D w
    • Report the ratio σ²_sys / σ²_p — well-diversified equity portfolios typically show 85–95% systematic; significantly lower values signal concentrated idiosyncratic bets
  4. Factor-level risk attribution

    • Portfolio factor exposures: β_p = Bᵀ w (k × 1 vector)
    • Factor contribution to variance for factor j: β_p,j × Σ_k (F_jk × β_p,k)
    • Sum of all factor contributions should equal σ²_sys (use as a reconciliation check)
    • Rank factors by absolute contribution to identify dominant risk drivers
  5. Marginal contribution to risk (MCTR)

    • MCTR_i = (V w)_i / σ_p — measures how a small increase in weight_i changes portfolio volatility
    • Component contribution to risk: CCTR_i = w_i × MCTR_i
    • Verify: Σ CCTR_i = σ_p (Euler decomposition identity)
  6. Active risk decomposition (if benchmark provided)

    • Active weights: w_a = w_portfolio − w_benchmark
    • Tracking error: TE = √(w_aᵀ V w_a × annualization)
    • Decompose TE into factor-active and stock-specific-active components using the same B F Bᵀ + D split
    • Report active factor bets and their contribution to tracking error
  7. Sensitivity and stress analysis

    • Shock individual factor returns (e.g., +/−1σ, +/−2σ) and recompute portfolio P&L impact
    • Test covariance regime shifts: substitute a crisis-period F (e.g., 2008, 2020 March) and recompute σ_p
    • Evaluate concentration: flag any single factor contributing >40% of total variance or any single name contributing >10% of CCTR

Output

  • Risk summary table: Total volatility, systematic vs. idiosyncratic split (absolute and percentage)
  • Factor attribution table: Each factor's exposure, variance contribution, and percentage of total risk — sorted by magnitude
  • MCTR / CCTR table: Per-position marginal and component contributions, highlighting top-10 risk contributors
  • Active risk panel (if applicable): Tracking error, factor-active vs. stock-specific-active decomposition
  • Stress scenario results: Portfolio impact under specified factor shocks and regime covariance matrices
  • Reconciliation checks: Confirm variance decomposition sums match total; flag discrepancies >0.1%

Quality Checks

  • Factor contributions sum to systematic variance within rounding tolerance
  • CCTR values sum to total portfolio volatility (Euler identity holds)
  • No negative idiosyncratic variances (indicates data or model error)
  • Lookback window is consistent across factor model, covariance estimation, and holdings snapshot [VERIFY]
  • Factor model covers ≥90% of portfolio NAV by weight; flag uncovered positions and their assumed treatment (benchmark proxy, peer mapping, or exclusion)
  • Cross-check volatility estimate against realized rolling volatility — deviations >30% warrant investigation
  • If using third-party risk model, confirm model version and release date match intended analysis period [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의 스킬 모두 보기

이 스킬의 문제 신고