spb/qwhpi Public
QHPI — Quebec Housing Price Index: quality-adjusted, hierarchically pooled housing price indexes.
Python 63.9%
TypeScript 25.4%
CSS 5.5%
TeX 3.5%
SQL 0.8%
Makefile 0.5%
Dockerfile 0.5%
1/**2 * =============================================================================3 * QWHPI — Quebec Weekly Housing Price Index4 * Author : Simon-Pierre Boucher5 * Contact : contact@spboucher.ai6 * File : web/lib/events.ts7 * Purpose : Market event annotations (Bank of Canada policy milestones)8 * overlaid on index charts.9 * =============================================================================10 */1112export interface MarketEvent {13 period: string; // YYYY-MM14 label: string;15 short: string;16}1718// Bank of Canada policy-rate milestones relevant to the 2021-2026 window.19export const MARKET_EVENTS: MarketEvent[] = [20 { period: "2022-03", label: "BoC starts hiking (0.25% → 0.50%)", short: "First hike" },21 { period: "2022-07", label: "BoC +100 bp surprise hike", short: "+100 bp" },22 { period: "2023-07", label: "Policy rate peaks at 5.00%", short: "Peak 5%" },23 { period: "2024-06", label: "BoC first rate cut", short: "First cut" },24];25