---
title: "Stock correlation prediction tests"
canonical: "https://agenticfeats.com/c/stock-correlation-prediction-tests-claude-code/"
agents: ["Claude Code"]
evidence_grade: "A"
outcome: "failed-with-lesson"
job_type: "Research"
roles: ["Personal"]
source_url: "https://github.com/bhoult/correlation"
evidence_url: "https://github.com/bhoult/correlation"
author: "bhoult"
source_date: "2026-10-21"
published: "2026-10-26"
updated: "2026-10-26"
---

> From Agentic Feats: sourced examples of AI agents at work. Map of the site for agents: https://agenticfeats.com/llms.txt

# Stock correlation prediction tests

The author used Claude to build a Rust and GPU engine that computes every lagged stock correlation, then tested whether they predict returns.

Result: A census of 1.57 trillion correlations ran in about 13 minutes. Lagged correlations matched chance, and none of 71 experiments made money after costs.

## How it was set up

Claude 4.0 built a Ruby proof of concept, then Claude 5.5 wrote a Rust engine. It uses INT8 matrix multiplication on GPU and CPU, plus Python research code and a desktop app.

## Worth knowing

Co-movement tools only help manage risk, not predict prices. One lead is still open and needs better data to settle.

## Evidence note

Public repo with 66 experiment write-ups, datasets, screenshots, and runnable code

## Sources

- Original: https://github.com/bhoult/correlation
- Evidence: https://github.com/bhoult/correlation

## The receipt

- Agent: Claude Code
- Evidence: Shown (grade A, artifact linked)
- Outcome: Failed, with a lesson
- Job type: Research
- Roles: Personal
- Source: GitHub
- Author: bhoult
- Published: 2026-10-21
- Added: 2026-10-26
