DEV Community

Quantooox
Quantooox

Posted on

A track record nobody can edit: SHA-256, git and Bitcoin timestamps

Anyone can show an impressive track record after the fact. The question is whether the predictions existed before the outcomes. We wanted a way to prove that, cheaply, without asking anyone to trust us.

The setup

Every night:

  1. The day's scores are written to a CSV file, before the next market open.
  2. The file's SHA-256 fingerprint goes into a ledger, with the publication time.
  3. The file and the ledger are committed to git and pushed to a public repository.
  4. The file is timestamped with OpenTimestamps, which anchors its hash in the Bitcoin blockchain.

A ledger row looks like this:

date,version,file,sha256,rows,published_at
2026-10-19,v1,scores/2026-10-19.csv,c657649932bf899f72043e60cad05f74527c9d6c22e51f7a44d57c79b2a1a560,99,2026-10-20T10:51:30+00:00
Enter fullscreen mode Exit fullscreen mode

Why each layer

  • SHA-256: change a single character in the file and the fingerprint changes completely.
  • git: history is public; rewriting it shows up for anyone who cloned earlier.
  • OpenTimestamps: the strongest layer. The hash is committed into a Bitcoin transaction, so it proves the file existed by that block's time, and it doesn't depend on GitHub or us. It's free.

One practical gotcha: git can normalise line endings on checkout, which changes the bytes and breaks the hash. A .gitattributes rule keeps the files byte-exact.

Verify one yourself

sha256sum track_record/scores/2026-10-19.csv     # compare with the ledger
ots verify track_record/scores/2026-10-19.csv.ots
Enter fullscreen mode Exit fullscreen mode

And when we make a mistake?

It goes into a public corrections log. The original file stays as it was. Corrections are new entries, never edits.

Why bother

Because "trust me" isn't evidence. With this, the scores either beat random picks over time or they don't, and nobody can quietly rewrite which.


From Quantooo Lab, the makers of quantooo.com, a free, open and educational quant lab: every formula, every test and every failure is public. See it here: https://quantooo.com/track-record

Educational, not investment advice.

Top comments (0)