Skip to content

About

MetroGuard: metropolitan housing signals for Treasury duration risk management. ICAIF 2026 code and aggregate audit materials.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Repository files navigation

MetroGuard

Code and aggregate audit materials for Metropolitan Housing Signals for Treasury Duration Risk Management, accepted at ICAIF 2026 (paper 775).

Authors, in the paper's author order: Doohwi Cha, Hyeonjun Yeo, Gyuil Jung, Jeongkyoo You, Minsuk Sung, Donghwa Seo, Minjae Lee, Seunghan Son, Juyeong Lee, and Yoontae Hwang.

Public repository: https://github.com/DoohwiCha/MetroGuard.

Paper citation (ACM Reference Format): Doohwi Cha, Hyeonjun Yeo, Gyuil Jung, Jeongkyoo You, Minsuk Sung, Donghwa Seo, Minjae Lee, Seunghan Son, Juyeong Lee, and Yoontae Hwang. 2026. Metropolitan Housing Signals for Treasury Duration Risk Management. In 7th ACM International Conference on AI in Finance (ICAIF '26), November 14–17, 2026, Milan, AA, Italy. ACM, New York, NY, USA, 9 pages. https://doi.org/10.1145/3858063.3858827

This history-clean repository is a bounded inspection artifact derived from the accepted manuscript's review artifact. It documents how a walk-forward metropolitan-housing warning is converted into a constrained Treasury allocation and how the paper's aggregate claims reconcile. The frozen empirical checkpoints and sealed-run hashes are unchanged; results added in the camera-ready paper are released in results/camera_ready_additions.json.

The artifact is not a full empirical reproduction package. Licensed housing releases and Treasury-index observations are excluded, as are origin-level features, forecasts, targets, trades, holdings, and daily or monthly return paths. The public code implements and tests the learner, chronology, one-sided controller, execution accounting, and risk metrics on synthetic data. Aggregate checkpoints and SHA-256 anchors bind those public tests to sealed empirical runs without redistributing provider data.

What the artifact verifies

The paper separates three questions:

  1. Information: does metropolitan housing improve a learned risk warning beyond the yield curve and national housing information?
  2. Complete-system defense: does the warning, bounded controller, next-session execution, and cost accounting reduce losses versus the 3–5-year Treasury benchmark?
  3. AI timing at matched exposure: after average rate exposure is held fixed, does the learned schedule add protection beyond a static allocation?

The public checkpoints record 53 decision origins, 1,227 daily index-return intervals, 59 complete months, and 22 yield-defined rate-shock months. Metropolitan information leads all three risk rankings and improves every executed outcome over national housing under the same learner and execution rules. After next-session trading and traded-notional costs, MetroGuard cuts mean rate-shock losses by 33.38 basis points and improves seven measures spanning volatility, downside and tail loss, drawdown, worst-month loss, and down-market capture. Relative to an exposure-matched static portfolio, estimated timing gains are 5.92 basis points of shock defense and 1.10 percentage points of drawdown protection—17.8% and 32.0% of the corresponding system gains—while raising cumulative return. A static allocation, carry-only controller, non-learning momentum rule, circular calendar shifts, controller and forecast-scale checks, transaction-cost sensitivity, and a data-vintage replay provide additional diagnostics. The framework links metropolitan warnings to bounded benchmark defense; incremental metropolitan and timing benefits remain statistically uncertain.

Camera-ready additions

The camera-ready paper reports the following results in addition to the review checkpoints. They are released in results/camera_ready_additions.json. The comparator metrics and the per-η forecast-shrinkage grid come from the original sealed run; the return-year split and the calendar-month HAC use the same frozen paths. scripts/recompute_published_results.py confirms that each value rounds to the number printed in the paper, checks its arithmetic identities, and ties it to the original checkpoints where the two overlap: the 22-shock-month metropolitan increment, the original HAC test, MetroGuard's own risk levels, the frozen η = .25 row, and the published shrinkage ranges. The remaining values are anchored by SHA-256 to the sealed-run and calendar-HAC supplement outputs listed under source_sha256.

Paper value Result in the camera-ready paper JSON section
19.88 and -1.95 bp In a retrospective split by return year, the metropolitan-minus-national shock-month increment averages 19.88 basis points across the eight shock months in 2022 and -1.95 basis points across the other 14. shock_year_split
p = .154 Direct timing inference is directionally favorable: the shock-month HAC test gives p = .0513 with six shock-observation lags; a six-calendar-month HAC sensitivity gives p = .154. timing_hac_sensitivity
3.71 bp Learned timing leads the exposure-matched static portfolio on shock-month defense, drawdown, and down-market capture; the static portfolio has slightly lower volatility, downside deviation, and daily ES and a 3.71-basis-point better worst-month return. matched_comparator_secondary_metrics
39.07 bp The learned strategy leads the matched momentum rule on shock-month defense, drawdown, and down-market capture; the rule retains lower volatility, downside deviation, and ES and a 39.07-basis-point better worst-month return. matched_comparator_secondary_metrics
largest at the frozen .25 In the retrospective no-refit forecast-scale audit, execution magnitudes vary with scale: across η ∈ {.10, .25, .50, 1.00}, metropolitan-minus-national shock defense ranges from -.66 to 5.99 basis points and is largest among these four settings at the frozen .25; matched-static shock defense ranges from -3.91 to 12.08 basis points. Both ranges are in the review checkpoints, and the per-η grid behind them is now released. forecast_shrinkage_grid
-2.35 and -.74 pp At η = .10, the drawdown-protection and cumulative-return increments against the re-matched static comparator are also negative; the frozen .25 specification is retained rather than retuned on these outcomes. forecast_shrinkage_grid
— The staggered non-overlapping ranking checks (a review checkpoint in results/sample_audit.json) show directional stability across the four cohorts, while a retrospective split by forecast-origin year shows similar observed metropolitan and national rank correlations outside 2022. The paper prints no value for this split, and none is released. ranking_origin_year_split

Matched-static shock defense is largest at η = .50 (12.08 basis points), so the review flag frozen_value_is_ex_post_optimum: false in results/robustness_summary.json holds for the timing comparison. As the paper's Discussion states, the forecast shrinkage factor η, metropolitan mean–median specification, and one-sided policy were developed using overlapping historical samples that include this repricing episode; this is not an untouched confirmatory holdout. results/published_claims.json keeps the review version's claim wording, and the camera_ready_claims section of results/camera_ready_additions.json records the camera-ready wording.

The camera-ready paper also specifies the following method details. They describe the private empirical pipeline; the public reference modules and the frozen configuration are unchanged.

  • A candidate month-end is eligible only if an archived Zillow release was available by UTC end-of-day and its latest housing observation was no more than three months old.
  • Metropolitan selection retains the 100 metros ranked first by SizeRank, with history coverage used only to break ties. Missing levels are forward-filled, then filled with same-date cross-sectional medians and, if needed, column and global medians from the history through each feature endpoint.
  • The matching weight uses realized holdings, including return-driven weight drift; it is not chosen to maximize evaluation returns or minimize losses.
  • The three-year yield-rise ranking outcome uses the forecast target's 63-observation endpoint but starts at the first eligible index-entry date; training instead anchors the change to the last yield published by the forecast origin.

Repository layout

config/       Frozen public specification
data/         Value-free input schemas; no empirical observations
provenance/   Rights boundary, public attribution, and sealed-run hashes
results/      Manuscript-level aggregate checkpoints only
scripts/      Provider-neutral reference implementations and validators
tests/        Synthetic leakage, controller, accounting, and metric tests

Validate

Python 3.11 or later is recommended.

python3 -m venv .venv
source .venv/bin/activate
python -m pip install -r requirements.txt
python scripts/recompute_published_results.py
python -m unittest discover -s tests -v
python scripts/build_release_manifest.py --check
python scripts/validate_release.py

The repository owner runs the identity and rights gate before each publication, then publishes with git push origin main:

python scripts/validate_release.py --for-upload

The initial publication on 2026-10-04 used a fresh one-commit Git history; the camera-ready alignment on 2026-10-20 adds one commit on top of it. Every commit is authored and committed by Doohwi Cha <doohwicha@gmail.com>, and the public repository is the only remote. Private development history and provider data are excluded.

Evidence boundary

The released aggregates permit claim checking, not reconstruction of the licensed empirical paths. A licensed researcher can map conforming inputs to the schemas in data/README.md; the private orchestration and origin ledger are still required to regenerate the study. The MIT license names the paper's authors as copyright holders, applies only to code in this repository, and grants no rights to external data. The original rights receipt and frozen review configuration remain historical evidence, and provenance/public_release.json records this named public release and its camera-ready alignment.

About

MetroGuard: metropolitan housing signals for Treasury duration risk management. ICAIF 2026 code and aggregate audit materials.

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages