Skip to content

interest_rate_tab_controller

Controller for the Interest Rate tab -- table + time-series plot of benchmark rates.

Classes:

InterestRateTabController

InterestRateTabController(
    view: BRMSInterestRateWidget,
    event_bus: EventBus,
    market_data: MarketDataStore,
    start_date: date | None = None,
    end_date: date | None = None,
)

Bases: BRMSController

Drives the Interest Rate tab: populates the table and extends the time-series plot.

Methods:

  • init

    Populate the table from the benchmarks frame (filtered to sim window).

  • on_visible

    Flush deferred plot updates when the tab becomes visible.

  • reset

    Clear all state for a new simulation load.

init

init() -> None

Populate the table from the benchmarks frame (filtered to sim window).

on_visible

on_visible() -> None

Flush deferred plot updates when the tab becomes visible.

reset

reset() -> None

Clear all state for a new simulation load.