Project · Research lab

CDM: testing small models on historical crypto data

CDM (Crypto Decision Maker) is my research lab for testing whether small local models and simple rules extract useful signals from historical crypto data. It starts with BTC, then explores other assets and hedging.

Historical research only. This is not a trading bot, not live signals and not investment advice. No verified after-cost win rate has been established.

As of 24 November 2026, fits and strategy scoring are parked. Both December checks remain paused. The exact probability study can resume only with 84 independently verified untouched historical dates and the unchanged preflight.

Read the CDM post

The method is the story

  1. 01

    Verify the historical data

    Check sources, checksums and time grids before any test uses them.

  2. 02

    Lock the test dates and scoring rules

    Fix the dates, the inputs and how each answer is scored before scoring starts.

  3. 03

    Compare with simple baselines

    Past frequencies, a momentum rule and staying flat. A model has to beat these to count.

  4. 04

    Log passes, failures and blockers

    Every result goes in the log. Missing data is a blocker, not a loss.

  5. 05

    Choose the next question

    The result decides what to test next, including when a branch should stop.

Three different questions

A model can pass one of these and fail the next. I score them separately.

Probability quality
Are the up, down and flat probabilities better than past frequencies?
Passed on 501 BTC decisions
Direction accuracy
Does it call up or down correctly more often than momentum?
Not reliably
After-cost trading performance
Would its trades win after costs?
Not established

Experiment cards

BTC

BTC probabilities on untouched dates

What I tested
The unchanged program scored 501 decisions across 84 historical dates, comparing up, down and flat probabilities with past frequencies, and direction with momentum.
What I found
Pooled probability scores improved: log-loss difference −0.06676 and Brier difference −0.04128, both intervals entirely below zero. Direction was inconclusive, 37.31% balanced accuracy against momentum at 35.15%, with an interval that crosses zero.
What this does not prove
Better probabilities are not better direction calls, and neither one is an after-cost trading result. October’s individual probability intervals also cross zero.

Qwen 0.6B

A first Qwen fit mostly predicted flat

What I tested
A Qwen3 0.6B LoRA, fitted in 141 optimizer steps, was replayed on 1,034 scheduled windows across 11 previously inspected UTC days.
What I found
It predicted flat in 1,031 of 1,034 windows and got none of the 428 directional labels right. Balanced accuracy was 33.17%, against momentum at 37.17% and all-flat at 33.33%. Headline accuracy, 58.32%, mostly reflected class imbalance.
What this does not prove
This was a direction-only diagnostic on already inspected dates, not a fresh held-out validation and not simulated execution.

Quotes

Historical quotes were too stale to use

What I tested
Six anonymous CryptoHFTData L2 files from 16 and 20 November, replayed byte for byte. Excluding six synthetic hour-start checkpoints left 1,750 genuine two-sided snapshots.
What I found
Snapshot cadence was about 12.4 seconds. All 18 distinct quote targets were stale under a two-second exchange-and-receipt rule, so 0 of 12 endpoint pairs qualified.
What this does not prove
Anything about fills, returns or profitability. This is an execution-quality gate, not a trading loss.

BTC/ETH hedge

Where the hedge risk reduction came from

What I tested
A BTC/ETH hedge against a BTC-only position with the same total exposure, across 432 aligned historical intervals.
What I found
Halving BTC exposure explained 87.5% of the pooled variance reduction and 80.1% of the downside-tail reduction. Compared with the same half-sized BTC position, the small hedge had a pooled standard deviation of 55.03 versus 72.90 bp. No single period cleared both of its checks.
What this does not prove
Anything about returns. It was measured on exchange mark prices, not executable returns, with no fills, fees or profit and loss.

Other assets come in as context. Adding ETH, SOL and XRP data has not improved BTC direction calls so far.