bot.py started this project at 25,189 lines. One monolithic file containing every strategy, every exchange connection, every health check, every compliance rule.
Today it hit 2,233 lines.
That's a 91% reduction. Not by deleting logic — by organising it. 47 modules now handle what one file used to. Each module does one thing. exchanges/ handles exchange connections. strategies/ handles trading logic. data/ handles signals and exports. core/ handles state and channels.
What this means in practice: every future change is isolated. A fix to MREV doesn't risk breaking XARB. A new exchange connector slots into exchanges/ without touching anything else. The test suite catches regressions immediately.
Memory dropped from 338MB to 233MB as a side effect.
The system also now anchors every signal to the Bitcoin blockchain using OpenTimestamps. Each detection gets a SHA-256 hash at generation time. That hash is submitted to Bitcoin calendar servers. Within one hour, the proof is confirmed on the Bitcoin blockchain.
The result: every signal Proof Systems has ever generated is now tamper-proof and independently verifiable. Not by trusting us — by checking the Bitcoin blockchain yourself.
111 signals were stamped within minutes of deployment.
Bot activity — not financial advice.