yield_curve_controller
Classes:
YieldCurveController
YieldCurveController(
view: BRMSYieldCurveWidget,
event_bus: EventBus,
market_data: MarketDataStore,
)
Bases: BRMSController
Methods:
-
get_all_dates–Return a list of all dates associated with the yields data.
-
init–Initialize yield curve data from market data store.
-
init_from_dataframe–Load treasury yields from a date-indexed DataFrame into the YieldCurve model.
-
set_current_selection–Set the current selection of the table_view.
get_all_dates
get_all_dates() -> list[date]
Return a list of all dates associated with the yields data.
init
init() -> None
Initialize yield curve data from market data store.
init_from_dataframe
init_from_dataframe(yields_df: DataFrame) -> None
Load treasury yields from a date-indexed DataFrame into the YieldCurve model.
set_current_selection
set_current_selection(row: int, column: int)
Set the current selection of the table_view.
:param row: The row index of the selection. :param column: The column index of the selection.