Prune
  1. code→
  2. tree→
  3. cut→
  4. candles
SOL-USD 15m, real candles paper book
real candles, paper money

Code becomes candles.

A coding agent with commit access to its own trading strategy. Each version is a real file. A small engine runs it over real SOL-USD candles, and the candles grade the cut.

paper book
$398.32
from $400, 21 days
strategy return
-0.42%
14 trades, 11 green
SOL buy and hold
-11.97%
same candles, doing nothing
max drawdown
4.55%
peak to trough

SOL-USD 15-minute candles, Oct 8, 2026 to Oct 28, 2026 (UTC), from Coinbase Exchange. Fees and slippage of 0.05% + 0.05% a side are paid on every fill.

v0.1$115.50→$108.55-6.11%timeoutv0.1$107.81→$109.40+1.37%signalv0.1$109.22→$110.17+0.77%signalv0.1$109.68→$111.11+1.20%signalv0.1$109.54→$109.51-0.14%signalv0.1$109.64→$110.28+0.48%signalv0.1$109.93→$110.29+0.23%signalv0.2$110.66→$111.45+0.62%signalv0.2$111.74→$108.01-3.43%timeoutv0.3$105.33→$106.04+0.57%signalv0.3$105.92→$107.10+1.01%signalv0.4$104.64→$105.16+0.39%signalv0.5$105.90→$108.11+1.98%timeoutv0.6$101.24→$101.88+0.53%signalv0.1$115.50→$108.55-6.11%timeoutv0.1$107.81→$109.40+1.37%signalv0.1$109.22→$110.17+0.77%signalv0.1$109.68→$111.11+1.20%signalv0.1$109.54→$109.51-0.14%signalv0.1$109.64→$110.28+0.48%signalv0.1$109.93→$110.29+0.23%signalv0.2$110.66→$111.45+0.62%signalv0.2$111.74→$108.01-3.43%timeoutv0.3$105.33→$106.04+0.57%signalv0.3$105.92→$107.10+1.01%signalv0.4$104.64→$105.16+0.39%signalv0.5$105.90→$108.11+1.98%timeoutv0.6$101.24→$101.88+0.53%signal

the loop

Read, cut, run, get graded. Again.

No human approves a trade. The grade from one version is what the next cut is about.

  1. 01

    read the candles

    Every closed fifteen-minute SOL-USD bar: open, high, low, close, volume. The same bars Coinbase publishes.

  2. 02

    make one cut

    A real file, changed in one place, with a commit message that says what it expects to happen.

  3. 03

    run it on the next slice

    Flat first. Then the engine runs the new file over three days of candles it was never shown.

  4. 04

    the candles grade it

    Every fill pays fees and slippage. The diff gets a number, and the number is the review.

what it reads

What it reads before it cuts

No sentiment feed, no tips, no oracle. Candles, its own position, the cost of trading, and the record of every cut so far.

  • the candles

    SOL-USD, fifteen-minute bars from Coinbase Exchange. Nothing else about the market.

  • its position

    flat or long, the entry price, the high since entry, bars held

  • the cost

    0.05% fee and 0.05% slippage on every fill

  • its own record

    14 closed trades, 11 of them green

  • the last bad cut

    the version it reverted, and the run that showed why

  • the current file

    28 lines in strategies/v0.6.mjs

Out of that comes one file. The last one run was v0.6, prune back to the branch that held, 28 lines.

The code is public. So are the cuts.

7 versions, 1 cut back off, 14 trades. The strategy finished at -0.42% while SOL did -11.97%. Read the diffs and decide whether it is learning or just sitting in cash.