Basel Rwa Marketのロゴ

Basel Rwa Market

組織
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).

概要

公開者panaversity
リポジトリagentfactory-business-plugins
スキル名basel-rwa-market
スター
37
フォーク
19
同梱ファイル
指示のみ
ライセンスApache-2.0
リンク
  • Markdown形式の指示

    モデルが必要に応じて読み込むSKILL.mdファイルです。関連するリクエストがあったときだけトークンを消費します。

  • どのLLMでも利用可能

    AIスキルはプロバイダー固有のコードではなく、通常のMarkdownなので、GPT、Claude、Gemini、Grok、ローカルモデルで利用できます。

  • 指示だけで完結

    モデルに必要なものはすべて指示に含まれているため、別途同期するファイルはありません。

  • オープンソース

    panaversityがGitHubで公開しています。インストールする前にソースを確認してください。

インストール

AIスキル「Basel Rwa Market」をTypingMindにインストールすれば、どのLLMでも利用できます。SKILL.mdを読み取れる別のAIエージェントに追加することもできます。

1

TypingMindにインストール

TypingMindはGitHubフォルダから直接スキルをインストールします。SKILL.mdを読み取り、リソースファイルをまとめてローカルに保存します。

  1. アプリを開き、「プラグイン」→「スキル」に移動します。
  2. 「GitHubからインストール」を選択します。
  3. 以下のスキルフォルダのURLを貼り付けて確定します。
    https://github.com/panaversity/agentfactory-business-plugins/tree/main/banking/skills/basel-rwa-market
  4. スキルを利用したいチャットごとに、そのスキルを有効にしてください。
「プラグイン」→「スキル」→「スキルを追加」→「GitHubのURLから」を選択し、フォルダのURLを貼り付けて「続行」を押します。
2

別のAIエージェントにインストール

Agent Skills形式を読み取れるAIエージェントなら、このスキルを利用できます。フォルダをその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
コピー後、新しいスキルを読み込むためにClaude Codeを再起動してください。

TypingMindで使用

TypingMindのチャットでBasel Rwa Marketを有効にするだけで、あとはモデルが対応します。名前と説明がシステムプロンプトに含まれ、関連するリクエストがあると、モデルが指示の全文を自動で読み込みます。手動で呼び出す必要はなく、実際に使用されるまでトークンを消費しません。

関連するリクエストがあるとすぐに、モデルが自動的にBasel Rwa Marketを読み込みます。

どのAIモデルでも利用可能

AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、Basel Rwa Marketは作成時に想定されたモデルに縛られません。TypingMindに一度インストールすれば、ご自身のAPIキーを使って、GPT-5、Claude、Gemini、Grok、DeepSeek、Mistral、Llama、またはご自身で実行するローカルモデルで利用できます。

  • 必要なときだけ読み込み

    システムプロンプトには名前と説明だけが含まれます。関連するリクエストが初めてあったときに指示を取得するため、スキルを使わない間は指示の読み込みにトークンを消費しません。

  • チャットの途中でモデルを切り替え

    スキルはコードではなく指示なので、モデルを切り替えてもそのまま使えます。次のモデルも同じSKILL.mdを読み込みます。

スキルの指示

モデルが読み込むSKILL.mdの内容です。スキルはモデルが従う指示なので、インストールする前に確認してください。

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.

よくある質問

AIスキル「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 provi...

TypingMindでBasel Rwa Marketを使うメリットは何ですか?

一度インストールすれば、どのモデルでも使えるからです。Basel Rwa Marketはプロバイダー固有のコードではなく、通常のMarkdownで記述されているため、同じスキルをGPT-5、Claude、Gemini、Grok、ローカルモデルで利用できます。チャットの途中でモデルを切り替えても、そのまま使い続けられます。TypingMindは自分のAPIキーで動作するため、シート単位のサブスクリプションではなく、プロバイダーに直接料金を支払います。スキルとチャットは自分のストレージに保持されます。

TypingMindにBasel Rwa Marketをインストールするにはどうすればよいですか?

TypingMindで「プラグイン」→「スキル」→「GitHubからインストール」を開き、https://github.com/panaversity/agentfactory-business-plugins/tree/main/banking/skills/basel-rwa-marketを貼り付けてください。TypingMindがSKILL.mdを読み込み、チャットごとに有効にできるスキルとしてインストールします。

Basel Rwa Marketを使えるAIモデルはどれですか?

TypingMindに接続したどのモデルでも利用できます。AIスキルはプロバイダー固有のコードではなく、通常のMarkdownで書かれた指示です。そのため、GPT、Claude、Gemini、Grok、ローカルモデルのいずれも、リクエストの内容がこのスキルの用途に合ったときに、このスキルを読み込めます。

Basel Rwa Marketで使えるAIモデルの数に制限はありますか?

数に制限はありません。スキルに対応したモデルであれば、GPT、Claude、Gemini、Grok、DeepSeek、Mistral、Llamaなど、どのモデルでもBasel Rwa Marketを利用できます。すべてTypingMind上で、自分のAPIキーを使って利用できます。

AIスキル「Basel Rwa Market」は無料ですか?

はい。panaversityがApache-2.0ライセンスのもとでGitHubに公開しています。ご利用のAIプロバイダーに支払うのは、使用したトークンの料金だけです。

AIスキルとは何ですか?

AIスキルは、特定のタスクの実行方法をAIモデルに教える、再利用可能な指示のセットです。オープンなAgent Skills形式に従い、名前と説明を含むSKILL.mdファイルに加え、モデルが必要とするスクリプト、テンプレート、参照ファイルで構成されます。モデルはリクエストがスキルに合致したときだけ指示を読み込むため、インストール済みのスキルも、使うまでは費用がかかりません。

AIスキルは、プラグインやMCPサーバーとどう違いますか?

プラグインやMCPサーバーは、モデルが呼び出せる新しいツールを提供します。ツールとは、どこかで実行され、結果を返すコードです。一方、AIスキルは、タスクへの取り組み方、従うべき手順、望ましい出力の例といった知識や進め方をモデルに伝えます。スキルは通常のMarkdownで記述されているため、サーバー、APIキー、実行環境は不要で、どのモデルでも利用できます。

すべて見る

今すぐ自分専用のAIワークスペースを作成

ニュースレターに登録すると、新機能や今後のプレゼント企画のお知らせが届きます👇