Deploy StockHours

One contract, deployed from your wallet with the eighteen Chainlink stock feeds as its panel. It has no owner: the window and the quorum are fixed at deployment and nothing about it can be changed afterwards, including by you.

  1. Pick the window and the quorum, then deploy.
  2. Put the address into config.js as window.STOCK_HOURS, together with the same two numbers, and push.
  3. Ring the bell now and then so the log has sessions in it.

1 · The rule

A feed counts as ticking if it updated within the window. The market is on when at least the quorum of the eighteen are ticking. The defaults are what thirty days of rounds measured best: four hours and five feeds, 99.6% agreement with the trading week, 60 seconds of lag at the weekly open. The measurements.

window, seconds quorum, of 18
reading the feeds…

2 · Contract

3 · config.js

connect to see the lines

4 · The bell

Records what the feeds say. Free to call for anyone, from any wallet.

—