Valence

Systematic trading · BTC perpetual futures

Claude makes the call. Code carries it out.

Valence is a low-frequency trading system for Bitcoin perpetual futures. Code watches the market around the clock. When a setup forms, Claude reads the whole picture and writes the trade plan, and code then holds that plan exactly as written.

Built on
Claude, by Anthropic
Market
BTCUSDT perpetual, Binance
Stage
Testing on Binance testnet
Many market signals combining into one decisionMarket structure, price action, trend, momentum, volume, volatility, support and resistance, market sentiment and multi-timeframe context feed one node, Claude, which outputs a single trade plan.Market structurePrice actionTrendMomentumVolumeVolatilitySupport & resistanceMarket sentimentMulti-timeframeCLAUDEPLAN
Valence, in chemistry, is an atom’s combining power: how many bonds it can form. Our engine combines many market signals into one decision. Which signals we use, and how we weigh them, stay in-house.

Approach

A language model as the analyst. A machine as the trader.

Why we put Claude at the center of a quantitative system, and how the model and the code divide the work.

Why a language model

A good trade rests on evidence that arrives in many forms at once: price structure, resting orders, liquidation clusters, funding, and how the largest traders are positioned. Fixed rules handle the numbers and miss the context. A person reads the context but tires, hesitates and drifts from the plan. Claude reads all of it on every decision, applies the same rulebook each time, and writes down its reasoning.

The quantitative base

Everything Claude sees is computed first, in tested code. We collect data from Binance, Bybit, OKX and Bitget and compute more than twenty indicators in-house, including ATR, cumulative volume delta and its divergences, open-interest delta, market structure, funding and basis. The key indicators update live as each candle forms and are checked against TradingView.

Why low frequency suits Claude

We trade a small number of high-conviction setups, and a setup can take hours or days to fill. At that pace a few seconds of model thinking costs nothing, so every decision gets the strongest Claude model and the full picture. The work that needs speed, watching price every second and sending orders, stays in code.

The decision loop

How one market event becomes a trade

  1. 01

    Watch

    Code

    Fifteen detectors scan the data around the clock. Claude stays idle until one of them flags something worth a closer look, such as a break in market structure, a new 4-hour or daily candle, or price reaching a key level.

  2. 02

    Read

    Claude

    Claude pulls the history and live readings it needs through tools, and reads the charts and market maps it asks for.

  3. 03

    Plan

    Claude

    It writes a board. Each setup gets an entry band, a stop, targets, its odds of reaching the first target, and the exact conditions under which it may fire.

  4. 04

    Hold

    Code

    A watcher checks those conditions every second, with no model in the loop. When an entry condition is met inside the band, fixed code sizes the position and places the order.

  5. 05

    Manage

    Both

    In a trade, Claude sets warning and exit conditions. A warning wakes it to reassess. An exit condition closes the trade without waiting for the model.

  6. 06

    Review

    Claude

    When the trade closes, Claude writes the journal entry and the desk returns to idle, ready for the next setup.

Board · Setup AIllustrative
Side
Long
Entry band
61,200 – 61,500
Stop
60,780 below the support level
Target 1
63,750 3.1R from the worst fill
Odds
34% to reach T1 before the stop
Fires when
price trades inside the band
then 15m closes back above 61,200
and the 4h trend still holds
Disarm if
4h closes below 60,780
What Claude hands to the machineEach row on a board is a complete, checkable plan. Claude writes it once, in advance. From then on the watcher decides only whether its conditions are true, so every trade can be traced back to reasoning written before any money moved.This row is an example made up for this page. It is not a live position or a signal.

House rules

Limits that hold whatever the model concludes

  • One position at a time, on one account.
  • Isolated margin only. Leverage is capped by our risk limits and is never set by the model.
  • A setup cannot be armed without a stop on the correct side of its entry.
  • An entry that fires outside its band is refused. We do not chase.
  • Position size comes from fixed, reviewed code. The model’s only input to it is its odds.
  • The protective close never waits for the model, and trading keys carry no withdrawal rights.

Claude across the company

From the first design session to the trade journal

Claude has been part of every stage of the work since the beginning, from research to production.

Research
The trading method was refined on the Anantaka desk with Claude as the analyst, and the architecture was worked out in long design sessions with Claude.
Engineering
The system is built with Claude Code. Features start as written design specs, and the repository carries its own working instructions for Claude.
Decisions
In production Claude is the analyst. It runs through the Claude Agent SDK with tools, chart reading, and one continuous conversation for each trade.
Review
We audit the system with Claude. The September review checked 22 findings against the code and set the order of fixes.
Learning
Claude writes a journal entry for every trade, and the desk reviews what worked and what did not before the next one.

Founders

A trader and two engineers

Valence was founded in 2026 by three principals. It is a Halven Group company.

Founder · Quant & Product

Futuh Nurmuntaha Alfahmi

Designed the trading method and the rules Valence runs on, and sets its risk limits. Has traded crypto markets since 2020, and is managing partner of Anantaka, a sister trading desk in Halven Group.

Principal · Lead Programmer

Ramadhan Agung Karyuto

Builds the data engine: the collectors for four exchanges, the indicator calculators, the live pipelines and the order path.

Principal · DevOps & AI Engineer

Afrian Luthfan

Runs the infrastructure and the Claude analyst: the servers, the browser scrapers, and the prompts, tools and guardrails the model works within.

Timeline

From a trading desk to a trading machine

Years of trading came first. The machine has been in engineering since May 2026.

  1. The founder starts trading crypto markets

    The trading experience that Valence is built on begins.

  2. Anantaka starts trading

    Anantaka, a sister desk in Halven Group, trades BTC perpetual futures with a written, rule-based framework. Claude later becomes the desk’s analyst.

  3. Work begins on automating the desk

    We compare three frontier AI models on the same desk data and start specifying the system.

  4. Engineering starts

    The three founders split the work across quant and product, data engineering, and AI engineering. The database schema and the first indicator pipelines ship.

  5. We choose Claude

    Claude reasoned the most systematically of the models we tested, so we dropped the multi-model design and built on Claude alone. The trade lifecycle is fixed: idle, setup, in trade, review.

  6. The data engine is complete

    Indicators from four exchanges are checked bar by bar against TradingView. The automation is designed around the Claude Agent SDK.

  7. The system becomes Valence

    Claude now writes the conditions for each trade in a form the machine can check, and a watcher holds them every second.

  8. Orders run on testnet

    Execution runs through a simulator and Binance testnet. On 30 September a full system review checks 22 findings against the code, with 1,591 tests passing.

  9. Entry and risk, rebuiltNow

    Entries and stops are redesigned around liquidity sweeps, and the review’s fixes land one by one.

  10. Live trading

    Valence goes live once the pre-live checklist from the review is cleared.

Contact

Write to the founders

Halven Group
Valence