Skip to content

interest_rate_risk_controller

Controller for the Interest Rate Risk tab.

Classes:

InterestRateRiskController

InterestRateRiskController(
    view: BRMSInterestRateRiskWidget,
    event_bus: EventBus,
    bank: Bank,
    valuation_store: ValuationStore,
)

Bases: BRMSController

Subscribes to DateAdvanced and recomputes the maturity gap model.

Methods:

  • init

    Compute initial gap on load.

  • on_visible

    Flush deferred computation when the tab becomes visible.

init

init(date: object) -> None

Compute initial gap on load.

on_visible

on_visible() -> None

Flush deferred computation when the tab becomes visible.