●/LAB/DIAMOND-HANDPORTFOLIO ↗

● SIDE PROJECT · 02

DiamondHand

Status · Private

Year

2026

Role

Solo build

Focus

  • Python
  • LLM agents
  • Backtesting

(01) Context

Diamond Hand started as a question: can a backend engineer build a trading system that follows its own rules, measures itself honestly, and never trusts a backtest it can't reproduce live? It runs several independent strategies over live market data and only acts when the agents and the risk checks agree.

The problem

Discretionary trading falls apart the moment emotions get involved. The hard part isn't writing strategies; it's removing yourself from them. The system had to be opinionated, evidence-driven, and incapable of overriding its own rules at three in the morning.

(02) Approach

  • 01

    Many strategies, one pipeline

    Independent scanners read OKX market data across timeframes and write candidate signals into one shared pipeline. Orders go to Hyperliquid with stop-loss and take-profit attached, and a heartbeat watchdog flags any loop that stalls.

  • 02

    Claude in the decision loop

    A regime agent decides whether the market is safe to trade, a judge agent approves or rejects each signal, a positions agent advises on open trades, and a learning loop turns closed trades into rules the judge reads before the next entry.

  • 03

    Honest about costs

    Backtests and walk-forward runs model fees, spreads, and slippage. Strategies that didn't survive real costs were switched off.

  • 04

    Live vs. paper, measured

    A small live pilot ran next to the paper system. A fidelity report matched live fills to paper fills trade by trade, showed live entries about 1% worse, and traced the gap to market orders chasing a price that had already moved. A limit-order fix was then tested head-to-head on 197 real signals.

(03) Outcome

A system that tells the truth about itself: every trade journaled, live and paper compared trade by trade, and no strategy promoted on a backtest alone.

  • 400+

    paper trades

  • 197

    signals in the limit-order test

  • 3

    Claude agents + a learning loop