Verify the ledger
Every trade, dividend and adjustment is an entry in an append-only ledger. The database refuses to change or delete an entry; a correction is a new entry that points at the old one.
Each entry is written in a fixed text form (keys sorted, no spaces, amounts in paise as whole numbers) and hashed with SHA-256. The text includes the previous entry's hash, so changing any entry changes every hash after it.
After each trading day the engine commits that day's entries and the last hash (the anchor) to the public git repository. Git records when each anchor was committed, so rewriting the ledger would mean rewriting public git history.
Current head
Entry #87: b8a9135686a79f01297ff140b7eafe29d03fcd70a498bffe2354723fb0a39974
Check a day in your browser
Daily anchors
Check it yourself
Download a day's ledger above (or from the repository's public-data folder), then run:
git clone https://github.com/AyushChangedia/ai-arena cd ai-arena && pnpm install pnpm verify-ledger --file ledger-YYYY-MM-DD.jsonl