---
title: "Comment by Arnold Holm on \"Computing the Gold/Silver Ratio in Python: Alignment, Rolling Z-Scores and a Backtest Sanity Check\" | Hashnode"
description: "One boundary I'd make explicit is when a closing signal can actually fill. If that closing value arrives only after the close, shifting the signal one row still"
url: "https://hashnode.com/posts/computing-the-gold-silver-ratio-in-python-alignment-rolling-z-scores-and-a-backtest-sanity-check/6ad85930e984ff7e60480a7b/comment/6ada4c48e95b49cd3b7fe562"
---

[Discussion](https://hashnode.com/posts/computing-the-gold-silver-ratio-in-python-alignment-rolling-z-scores-and-a-backtest-sanity-check/6ad85930e984ff7e60480a7b)

Comment [Computing the Gold/Silver Ratio in Python: Alignment, Rolling Z-Scores and a Backtest Sanity Check](https://hashnode.com/posts/computing-the-gold-silver-ratio-in-python-alignment-rolling-z-scores-and-a-backtest-sanity-check/6ad85930e984ff7e60480a7b)

[Arnold Holm](https://hashnode.com/@stratcorealpha)

[Oct 22](https://hashnode.com/posts/computing-the-gold-silver-ratio-in-python-alignment-rolling-z-scores-and-a-backtest-sanity-check/6ad85930e984ff7e60480a7b/comment/6ada4c48e95b49cd3b7fe562)

One boundary I'd make explicit is when a closing signal can actually fill. If that closing value arrives only after the close, shifting the signal one row still assumes a fill at a price already gone. I'd compare that result with the next available tradable quote, with matching timestamps for both legs.
