Skip to content
Akinbola0xKENZMAN
Work/AI & data
AI & Data

Forex Analytics

A pattern study across 11 markets and 20 years that reports its own null result honestly.

Role
Sole engineer
When
Oct 2026 – Nov 2026
Team
Solo, 39 commits, private source
Stack
Python, pandas / Parquet, scikit-learn, Ollama (Llama 3.2)
Live appSource private
Forex Analytics: screenshot of the live app

Overview

The tool downloads candles, detects a fixed set of price patterns, measures what price did afterwards, trains a model on the earlier history and tests it on the later part. A local language model writes the plain-English note. It never places a trade.

The problem

Trading content is full of patterns that "always work". I wanted to measure them properly: 20 years of daily bars, honest train/test splits, and a report that says so when there is no edge.

By the numbers

11Markets
306,477Labelled events
61,304Held-out test events
53.3%Model accuracy
53.2%Naive baseline
44Python tests

What I built

  1. A downloader with validation for duplicate timestamps, broken prices and gaps, and a manifest of exactly what was fetched
  2. Pattern detectors, follow-through statistics and a pattern model trained on early history and tested on the later 61,304 events
  3. A plain-language report with a model card, plus a note written by a local Llama 3.2 model that only restates the measured numbers
  4. A watcher that refreshes every 15 minutes, an iMessage alert for new tickets, and a hosted ticket sheet on Fly.io

Decisions

Publish the null result

On the held-out window the model scored 53.3% against a 53.2% baseline. The report says plainly that this is no edge, and the tool never sends an order.

Fix the data before the model

Yahoo's gold series is COMEX futures, so gold switched to spot XAUUSD from Dukascopy. Daily stamps were normalised to 00:00 UTC of the session date.

How it flows

Stack

Pythonpandas / Parquetscikit-learnOllama (Llama 3.2)DockerFly.io