Skip to content

credit_risk

Credit risk RWA approaches for BRMS bank simulation.

Modules:

Classes:

CentralCounterpartyRiskDefaultApproach

Bases: RWAApproach

The default approach for calculating credit RWA for exposures to central counterparties.

Methods:

  • compute_rwa

    Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

compute_rwa

compute_rwa(
    bank: Any, date: date, scenario_manager: Any
) -> float

Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

CounterpartyRiskDefaultApproach

Bases: RWAApproach

The default approach for calculating credit RWA for counterparty risk.

Methods:

  • compute_rwa

    Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

compute_rwa

compute_rwa(
    bank: Any, date: date, scenario_manager: Any
) -> float

Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

FallBackApproach

Bases: RWAApproach

The fall-back approach for calculating credit RWA.

Methods:

  • compute_rwa

    Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

compute_rwa

compute_rwa(
    bank: Any, date: date, scenario_manager: Any
) -> float

Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

InternalAssessmentApproach

Bases: RWAApproach

IAA for calculating credit RWA.

Methods:

  • compute_rwa

    Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

compute_rwa

compute_rwa(
    bank: Any, date: date, scenario_manager: Any
) -> float

Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

InternalRatingsBasedApproach

Bases: RWAApproach

The internal ratings-based (IRB) approach for calculating credit RWA.

Methods:

  • compute_rwa

    Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

compute_rwa

compute_rwa(
    bank: Any, date: date, scenario_manager: Any
) -> float

Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

LookThroughApproach

Bases: RWAApproach

The look-through approach for calculating credit RWA.

Methods:

  • compute_rwa

    Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

compute_rwa

compute_rwa(
    bank: Any, date: date, scenario_manager: Any
) -> float

Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

MandateBasedApproach

Bases: RWAApproach

The mandate-based approach for calculating credit RWA.

Methods:

  • compute_rwa

    Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

compute_rwa

compute_rwa(
    bank: Any, date: date, scenario_manager: Any
) -> float

Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

SecuritisationExternalRatingsBasedApproach

Bases: RWAApproach

SEC-ERBA for calculating credit RWA.

Methods:

  • compute_rwa

    Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

compute_rwa

compute_rwa(
    bank: Any, date: date, scenario_manager: Any
) -> float

Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

SecuritisationInternalRatingsBasedApproach

Bases: RWAApproach

SEC-IRBA for calculating credit RWA.

Methods:

  • compute_rwa

    Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

compute_rwa

compute_rwa(
    bank: Any, date: date, scenario_manager: Any
) -> float

Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

SecuritisationStandardisedApproach

Bases: RWAApproach

SEC-SA for calculating credit RWA.

Methods:

  • compute_rwa

    Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

compute_rwa

compute_rwa(
    bank: Any, date: date, scenario_manager: Any
) -> float

Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

StandardisedApproach

Bases: RWAApproach

The standardised approach for calculating credit RWA.

Methods:

  • compute_rwa

    Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

compute_rwa

compute_rwa(
    bank: Any,
    date: date,
    scenario_manager: Any,
    verbose: bool = False,
) -> float

Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

UnsettledTransactionsFailedTradesDefaultApproach

Bases: RWAApproach

The default approach for calculating credit RWA for risk posed by unsettled transactions and failed trades.

Methods:

  • compute_rwa

    Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.

compute_rwa

compute_rwa(
    bank: Any, date: date, scenario_manager: Any
) -> float

Compute the Risk-Weighted Assets (RWA) for a given bank and scenario.