Logo Basel Rwa Market

Basel Rwa Market

Tổ chức
panaversity
basel-rwa-market

Activate for: FRTB, Fundamental Review of the Trading Book, market risk RWA, trading book capital, SA-TB, standardised approach trading book, sensitivities- based method, SBM, delta, vega, curvature, default risk charge, DRC, residual risk add-on, RRAO, internal models approach, IMA, expected shortfall, ES, P&L attribution, PLA, backtesting, GIRR, CSR, equity risk, commodity risk, FX risk, market risk capital, trading desk. NOT for: credit risk RWA under standardised or IRB approach (use basel-rwa-credit), capital adequacy ratios and buffer calculations (use basel-capital), IFRS 9 ECL provisioning (use ifrs9-ecl).

Tổng quan

Nhà phát hànhpanaversity
Kho mãagentfactory-business-plugins
Tên kỹ năngbasel-rwa-market
Sao
37
Bản fork
19
Tệp đi kèm
Chỉ có hướng dẫn
Giấy phépApache-2.0
Liên kết
  • Hướng dẫn bằng Markdown

    Tệp SKILL.md được mô hình tải khi cần, nên chỉ tốn token khi có yêu cầu thực sự phù hợp.

  • Dùng được với mọi LLM

    Kỹ năng AI dùng hướng dẫn viết bằng Markdown thay vì mã dành riêng cho một nhà cung cấp, nên dùng được với GPT, Claude, Gemini, Grok hoặc mô hình cục bộ.

  • Hướng dẫn có đủ mọi thứ cần thiết

    Mọi thứ mô hình cần đều nằm trong hướng dẫn — không có tệp bổ sung cần đồng bộ.

  • Mã nguồn mở

    Được panaversity công bố trên GitHub. Hãy đọc các tệp nguồn trước khi cài đặt.

Cài đặt

Cài đặt kỹ năng AI Basel Rwa Market trong TypingMind để dùng với bất kỳ LLM nào, hoặc thêm vào một tác nhân AI khác có thể đọc SKILL.md.

1

Cài đặt trong TypingMind

TypingMind cài đặt kỹ năng trực tiếp từ thư mục GitHub — đọc SKILL.md, đóng gói các tệp tài nguyên và lưu kết quả trên máy.

  1. Mở ứng dụng và vào Plugin → Kỹ năng.
  2. Chọn "Cài đặt từ GitHub".
  3. Dán URL của thư mục kỹ năng được hiển thị bên dưới rồi xác nhận.
    https://github.com/panaversity/agentfactory-business-plugins/tree/main/banking/skills/basel-rwa-market
  4. Bật kỹ năng trong từng cuộc trò chuyện mà bạn muốn sử dụng kỹ năng đó.
Plugin → Kỹ năng → Thêm kỹ năng → Từ URL GitHub, sau đó dán URL thư mục và nhấn Tiếp tục.
2

Cài đặt trong tác nhân AI khác

Bất kỳ tác nhân AI nào đọc được định dạng Agent Skills đều có thể dùng kỹ năng này — hãy sao chép thư mục vào thư mục kỹ năng của tác nhân AI đó.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/panaversity/agentfactory-business-plugins.git /tmp/agentfactory-business-plugins
mkdir -p .claude/skills
cp -r /tmp/agentfactory-business-plugins/banking/skills/basel-rwa-market .claude/skills/basel-rwa-market
Khởi động lại Claude Code sau khi sao chép để ứng dụng nhận kỹ năng mới.

Sử dụng trong TypingMind

Bật Basel Rwa Market trong bất kỳ cuộc trò chuyện nào trên TypingMind, mô hình sẽ tự xử lý phần còn lại. Tên và mô tả của kỹ năng nằm trong prompt hệ thống. Ngay khi có yêu cầu phù hợp, mô hình tự tải toàn bộ hướng dẫn — bạn không cần gọi thủ công và kỹ năng không tốn token cho đến khi thực sự được dùng.

Mô hình tự nạp Basel Rwa Market ngay khi có yêu cầu phù hợp.

Dùng được với mọi mô hình AI

Kỹ năng AI là các hướng dẫn Markdown thuần túy, không phải mã dành riêng cho một nhà cung cấp, nên bạn có thể dùng Basel Rwa Market với cả những mô hình khác ngoài mô hình ban đầu. Chỉ cần cài đặt một lần trong TypingMind rồi dùng với GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama hoặc mô hình cục bộ do bạn tự chạy — tất cả đều dùng khóa API của riêng bạn.

  • Chỉ tải khi cần

    Prompt hệ thống chỉ chứa tên và mô tả. Hướng dẫn được tải khi có yêu cầu phù hợp đầu tiên, nên khi kỹ năng chưa được dùng, bạn không tốn token cho phần hướng dẫn.

  • Đổi mô hình ngay trong cuộc trò chuyện

    Vì kỹ năng là hướng dẫn chứ không phải mã, việc đổi mô hình không làm kỹ năng ngừng hoạt động — mô hình tiếp theo vẫn đọc cùng tệp SKILL.md.

Hướng dẫn của kỹ năng

Đây là nội dung SKILL.md mà mô hình tải. Hãy đọc trước khi cài đặt — kỹ năng là những hướng dẫn mà mô hình của bạn sẽ làm theo.

CORE PRINCIPLE

Market risk capital under FRTB replaces the pre-2016 VaR-based framework with a risk-sensitive approach that distinguishes between the Standardised Approach (SA) and the Internal Models Approach (IMA). The SA is the default and fallback; IMA requires desk-level regulatory approval including P&L attribution and backtesting.

FRTB applies to all instruments in the regulatory trading book. The trading book boundary is defined by strict criteria (intent to trade, ability to hedge, daily fair-value accounting) -- not by the bank's internal designation alone.


STANDARDISED APPROACH (SA-TB) -- THREE COMPONENTS

Market Risk Capital (SA) = SBM + DRC + RRAO

Component 1: Sensitivities-Based Method (SBM)

The SBM captures delta, vega, and curvature risks across seven risk classes.

Seven Risk Classes
#Risk ClassKey Risk Factors
1GIRR (General Interest Rate Risk)Risk-free rates by tenor (3M, 6M, 1Y, 2Y, 3Y, 5Y, 10Y, 15Y, 20Y, 30Y), cross-currency basis
2CSR non-securitisationCredit spreads by issuer, sector, tenor
3CSR securitisation (CTP)Correlation trading portfolio credit spreads
4CSR securitisation (non-CTP)Non-correlation trading securitisation spreads
5EquityEquity spot prices, repo rates
6CommodityCommodity prices by type (energy, metals, agricultural, other) and tenor
7FXExchange rates against reporting currency
SBM Calculation Steps

Step 1 -- Net Sensitivities: Calculate net delta, vega, and curvature sensitivities per risk factor within each risk class.

Step 2 -- Weighted Sensitivities: Multiply each net sensitivity by the prescribed risk weight for that risk factor. Delta risk weights vary by risk class and tenor (e.g., GIRR: 1.5%-2.4% by tenor; Equity: 15%-70% by market cap and economy; FX: 15%). Vega risk weights: uniform within risk class, calibrated to stressed implied volatility.

Step 3 -- Aggregation Within Bucket: Aggregate weighted sensitivities within each bucket using prescribed intra-bucket correlations (rho). Kb = sqrt( sum_i sum_j rho_ij * WSi * WS_j ) where WS = weighted sensitivity, rho = intra-bucket correlation

Step 4 -- Aggregation Across Buckets: Aggregate across buckets using prescribed inter-bucket correlations (gamma). Capital = sqrt( sumb sum_c gamma_bc * Sb * S_c ) where S_b = net bucket-level capital, gamma = inter-bucket correlation

Step 5 -- Three Correlation Scenarios: Calculate SBM under three correlation scenarios: (a) Medium correlations (prescribed rho and gamma) (b) High correlations (rho _ 1.25, gamma _ 1.25, capped at 1) (c) Low correlations (rho _ 0.75, gamma _ 0.75) SBM = MAX(SBM_medium, SBM_high, SBM_low)

Curvature Risk

Curvature risk captures the non-linear risk that delta sensitivities miss. Calculate by shocking each risk factor up and down by a prescribed amount, revaluing the portfolio, and computing the curvature charge: CVRk = -min( V(x_k^up) - V(x_k) - s_k * deltak, V(x_k^down) - V(x_k) + s_k * delta_k, 0 ) where s_k = prescribed shock size for risk factor k.

Component 2: Default Risk Charge (DRC)

DRC captures jump-to-default risk for credit and equity instruments in the trading book -- the risk of an issuer defaulting between now and the next rebalancing period.

DRC Calculation: DRC = sumi ( LGD_i * Notionali * RW_i ) after hedging benefit Risk weights by credit quality: AAA 0.5%, AA 2%, A 3%, BBB 6%, BB 15%, B 30%, CCC 50%, Default 100% Hedging benefit: long-short offset within same issuer and seniority; partial offset across issuers in the same sector using prescribed hedge benefit ratios.

DRC is additive to SBM -- no diversification benefit between DRC and SBM.

Component 3: Residual Risk Add-On (RRAO)

RRAO is a simple gross notional charge for instruments with exotic risks not captured by SBM or DRC:

  • Instruments bearing exotic underlying risks (e.g., longevity, weather, natural disaster): 1.0% of gross notional
  • Other instruments with residual risks (e.g., gap risk, correlation risk, behavioural risk): 0.1% of gross notional

Instruments subject to RRAO include: barrier options, digital options, Asian options, basket options with non-standard payoffs, variance/volatility swaps, correlation products, weather derivatives.

RRAO is additive -- no diversification with SBM or DRC.


INTERNAL MODELS APPROACH (IMA)

IMA is approved on a desk-by-desk basis by the regulator. Any desk failing IMA eligibility reverts to SA for that desk.

IMA Capital Charge

IMA Capital = max( ES_t-1, m * ES_avg ) + DRC_IMA + SES where: ES = Expected Shortfall at 97.5% confidence m = multiplier (minimum 1.5, increased by regulator based on backtesting failures) ES_avg = 60-day weighted average ES DRC_IMA = internal default risk charge SES = stressed expected shortfall (calibrated to stressed period)

Expected Shortfall (ES) -- Calculation

ES replaces VaR as the primary risk measure under FRTB. ES is calculated at the 97.5th percentile (vs. VaR at 99th percentile). ES is coherent (satisfies sub-additivity); VaR is not.

Liquidity-Adjusted ES: ES = sqrt( sum_j ( ES_j(P_j) * sqrt(LH_j / 10) )^2 ) where LH_j = regulatory liquidity horizon for risk factor j: 10 days: Large-cap equity, FX (major currencies), GIRR (G7 currencies) 20 days: Small-cap equity, FX (other), credit investment grade 40 days: Credit high yield, emerging market sovereign 60 days: Securitised products, commodity (other) 120 days: Correlation trading, illiquid exotic

IMA Eligibility Tests (Desk-Level)

Test 1: P&L Attribution (PLA)

Compare the hypothetical P&L (from risk model) to the actual P&L (from front office). Two statistics: Spearman correlation: must be > 0.7 Kolmogorov-Smirnov (KS) test: KS statistic must be < 0.09 If either fails for 4+ quarters: desk reverts to SA.

Traffic light assessment: Green: Both metrics pass Amber: One metric in warning zone Red: Either metric fails -- desk loses IMA eligibility

Test 2: Backtesting

Compare daily VaR (at 99%) to actual P&L over the prior 250 trading days. Count exceptions (days where actual loss > VaR estimate): Green zone: 0-4 exceptions (multiplier = 1.5) Amber zone: 5-9 exceptions (multiplier = 1.5 + 0.1 per additional exception) Red zone: 10+ exceptions (multiplier >= 2.0; regulator may revoke IMA for desk)

Backtesting is performed at desk level AND at bank-wide level.


TRADING BOOK BOUNDARY

Assignment to Trading Book

Instruments must be assigned to the trading book if:

  • Held with intent to trade or to hedge trading book positions
  • Subject to daily fair value accounting under the relevant accounting framework
  • The bank has the ability to trade or hedge the risk

Instruments Presumed in Trading Book

  • Correlation trading
  • Instruments resulting from market-making activities
  • Listed equity holdings
  • Instruments arising from underwriting commitments
  • Positions in a CIU (collective investment undertaking) look through to underlying

Internal Risk Transfers (IRT)

Transfers of risk between banking book and trading book must be strictly documented. Capital relief is only granted if the IRT is properly hedged in the trading book and meets regulatory IRT documentation standards.


KEY RISK WEIGHT TABLES (SA -- SELECTED)

GIRR Delta Risk Weights by Tenor

TenorRisk Weight
0.25Y2.4%
0.5Y2.4%
1Y2.25%
2Y1.88%
3Y1.73%
5Y1.5%
10Y1.5%
15Y1.5%
20Y1.5%
30Y1.5%

Equity Delta Risk Weights

BucketDescriptionRisk Weight
1Large cap, emerging markets55%
2Large cap, advanced economies30%
3Small cap, emerging markets70%
4Small cap, advanced economies50%
5-8Sector-specific15%-70%
OtherIndices, ETFs15%

FX Delta Risk Weight

All currency pairs: 15% Specified liquid currency pairs (EUR/USD, USD/JPY, etc.): eligible for sqrt(2) reduction

DRC Risk Weights by Credit Quality

RatingRisk Weight
AAA0.5%
AA2%
A3%
BBB6%
BB15%
B30%
CCC50%
Unrated15%
Defaulted100%

FRTB IMPLEMENTATION STATUS

JurisdictionSA MandatoryIMA AvailableImplementation Date
EU (CRR3)YesYes (desk approval)January 2025
UK (PRA)YesYes (desk approval)Consultation ongoing
US (Basel III Endgame)ProposedProposedTBD (check Fed website)
Australia (APRA)ConsultingTBDTBD (check APRA)
Singapore (MAS)ConsultingTBDTBD (check MAS)

Always load jurisdiction overlay to confirm current FRTB implementation status.


NEVER DO THESE

  • NEVER use pre-FRTB VaR-based market risk capital for new calculations -- FRTB replaces VaR with ES
  • NEVER aggregate DRC with SBM using diversification -- DRC is additive
  • NEVER skip the three correlation scenarios in SBM -- capital = MAX of all three
  • NEVER assume IMA approval is bank-wide -- it is granted desk-by-desk
  • NEVER ignore P&L attribution test results -- 4 quarterly failures = mandatory reversion to SA
  • NEVER apply banking book risk weights to trading book positions -- FRTB has its own risk weight framework
  • NEVER forget the RRAO for exotic instruments -- it is a separate additive charge

OUTPUT FORMAT -- MARKET RISK CAPITAL SUMMARY

MARKET RISK CAPITAL SUMMARY (FRTB)
Entity:             [Bank / Group name]
Reporting Date:     [YYYY-MM-DD]
Approach:           [SA / IMA / Mixed (desk-level)]
Jurisdiction:       [Overlay applied: EU CRR3 / UK PRA / US Fed / etc.]

STANDARDISED APPROACH (SA):
  SBM (Sensitivities-Based Method):
    GIRR:                        [Amount]
    CSR non-sec:                 [Amount]
    CSR sec (CTP):               [Amount]
    CSR sec (non-CTP):           [Amount]
    Equity:                      [Amount]
    Commodity:                   [Amount]
    FX:                          [Amount]
    Total SBM:                   [Amount]
    Binding scenario:            [Medium / High / Low correlations]

  DRC (Default Risk Charge):    [Amount]
  RRAO (Residual Risk Add-On):  [Amount]

  SA TOTAL:                      [Amount]

IMA (if applicable):
  Desks on IMA:                  [List]
  ES (Expected Shortfall):      [Amount]
  DRC (IMA):                    [Amount]
  SES (Stressed ES):            [Amount]
  IMA multiplier:               [X.X]
  IMA TOTAL:                    [Amount]
  Desks reverted to SA:         [List + reason]

TOTAL MARKET RISK CAPITAL:      [Amount]

ALL OUTPUTS REQUIRE REVIEW BY A QUALIFIED PROFESSIONAL BEFORE USE IN REGULATORY FILINGS OR BUSINESS DECISIONS.

Câu hỏi thường gặp

Kỹ năng AI Basel Rwa Market làm được gì?

Activate for: FRTB, Fundamental Review of the Trading Book, market risk RWA, trading book capital, SA-TB, standardised approach trading book, sensitivities- based method, SBM, delta, vega, curvature, default risk charge, DRC, residual risk add-on, RRAO, internal models approach, IMA, expected shortfall, ES, P&L attribution, PLA, backtesting, GIRR, CSR, equity risk, commodity risk, FX risk, market risk capital, trading desk. NOT for: credit risk RWA under standardised or IRB approach (use basel-rwa-credit), capital adequacy ratios and buffer calculations (use basel-capital), IFRS 9 ECL provi...

Vì sao nên dùng Basel Rwa Market trên TypingMind?

Vì bạn chỉ cần cài một lần rồi dùng với bất kỳ mô hình nào. Basel Rwa Market là nội dung Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên cùng một kỹ năng có thể chạy trên GPT-5, Claude, Gemini, Grok hoặc mô hình trên thiết bị — và bạn có thể đổi mô hình ngay trong cuộc trò chuyện mà kỹ năng vẫn hoạt động. TypingMind dùng khóa API riêng của bạn, nên bạn thanh toán trực tiếp cho nhà cung cấp thay vì trả phí thuê bao theo suất người dùng, đồng thời kỹ năng và các cuộc trò chuyện vẫn nằm trong bộ lưu trữ của bạn.

Làm thế nào để cài Basel Rwa Market trong TypingMind?

Mở Plugin → Kỹ năng → Cài đặt từ GitHub trong TypingMind rồi dán https://github.com/panaversity/agentfactory-business-plugins/tree/main/banking/skills/basel-rwa-market. TypingMind đọc tệp SKILL.md rồi cài đặt kỹ năng để bạn có thể bật cho từng cuộc trò chuyện.

Những mô hình AI nào có thể dùng Basel Rwa Market?

Bất kỳ mô hình nào bạn kết nối trong TypingMind. Kỹ năng AI là các hướng dẫn bằng Markdown chứ không phải mã dành riêng cho từng nhà cung cấp, nên GPT, Claude, Gemini, Grok và các mô hình chạy trên thiết bị đều có thể tải kỹ năng này khi có yêu cầu phù hợp.

Có thể dùng Basel Rwa Market với bao nhiêu mô hình AI?

Bao nhiêu cũng được. Miễn là mô hình hỗ trợ kỹ năng, bạn có thể dùng Basel Rwa Market với mô hình đó — GPT, Claude, Gemini, Grok, DeepSeek, Mistral, Llama và nhiều mô hình khác — tất cả đều trên TypingMind với khóa API riêng của bạn.

Kỹ năng AI Basel Rwa Market có miễn phí không?

Có. Kỹ năng này được panaversity phát hành trên GitHub theo giấy phép Apache-2.0. Bạn chỉ trả tiền cho nhà cung cấp AI của mình theo số token đã dùng.

Kỹ năng AI là gì?

Kỹ năng AI là một gói hướng dẫn có thể tái sử dụng, chỉ cho mô hình AI cách thực hiện một tác vụ cụ thể. Kỹ năng tuân theo định dạng mở Agent Skills: một tệp SKILL.md chứa tên và mô tả, cùng các tập lệnh, mẫu hoặc tệp tham khảo mà mô hình có thể cần. Mô hình chỉ đọc hướng dẫn khi yêu cầu của bạn phù hợp với kỹ năng, nên kỹ năng đã cài đặt không phát sinh chi phí cho đến khi được sử dụng.

Kỹ năng AI khác gì với plugin hoặc máy chủ MCP?

Plugin hoặc máy chủ MCP cung cấp các công cụ mới mà mô hình có thể gọi. Khi mô hình gọi một công cụ, mã của công cụ đó chạy ở đâu đó và trả về kết quả. Còn kỹ năng AI cung cấp kiến thức và quy trình: cách tiếp cận tác vụ, các bước cần thực hiện và những tiêu chí mà kết quả cần đáp ứng. Kỹ năng chỉ là nội dung Markdown, nên không cần máy chủ, khóa API hay môi trường thực thi và hoạt động với mọi mô hình.

Xem tất cả

Tạo ngay không gian làm việc AI riêng

Đăng ký bản tin của chúng tôi để nhận thông báo về tính năng mới và các đợt tặng quà sắp tới 👇