Whitestone Founder
A trading venture's site, and software that keeps AI inside hard limits
French Riviera · 2025–2026 — I co-founded Whitestone, a trading venture on the French Riviera, with my partner Mykola; I'm its CTO. I designed and built its public site, and I build the trading software I operate, where Claude models propose trades and deterministic code sets every limit.
Key facts
- 3
- kill switches: two trip on their own, the third is a button in the control room
- Source risk code and control room · 1 Dec 2026
- 7
- views in the control room I designed for the trading software
- Source dashboard routes in the code · 1 Dec 2026
- 4
- Claude roles, each one structured call; the archivist is plain code
- Source agent config in the code · 1 Dec 2026


Claude coding agents wrote most of the trading software's code under rules I set; I designed the system, reviewed the work and made every call.
What I built
The venture's public site
I designed and built whitestonegroup.io, a light editorial site in Next.js 16. It runs in French by default and in English, Russian and Ukrainian. Articles come from a Sanity CMS whose editing studio sits inside the site. Every section has its own share image, and a sitemap and Vercel Analytics are built in.
A control room for one operator
The trading software has one user, me. Its product brief asks the control room to show within 5 seconds whether the system is alive, to explain any decision within 30 and to stop trading in one tap. Seven views cover the overview, decisions, news, the strategy arena, positions, memory and signals. It reads the database live and runs in Russian or English, and demo data carries a banner on every screen.
A pipeline where AI proposes and code limits
A pre-filter written in plain code goes first and drops duplicates, weak signals and anything off the whitelist or already in a position. Claude Sonnet 4.6, the Validator, then decides whether the signal matters. Claude Opus 4.8, the Trader, answers with an action, its arguments for and against, and a confidence. Code then turns the confidence into a size, and the risk gate checks the order; the archivist, also deterministic, records what happened.
A risk gate and three kill switches
Every limit lives in Python, outside any prompt. The risk gate fails closed when equity is zero or below, caps open positions and rejects anything above 1x, whatever the configuration says. Two kill switches trip on their own, at a daily loss limit and at a drawdown limit counted from midnight UTC. The third is a button in the control room: one confirmation halts new entries and orders.
A strategy arena with a promotion gate
Challengers trade on paper against the same signals as the champion, next to two permanent baselines. To replace the champion, a challenger has to win a one-sided paired test at p < 0.05, reach a Deflated Sharpe Ratio of at least 0.95, pass a minimum track length and beat both baselines. With real money, a pass would only make it a candidate that I approve by hand.
Memory and a learning loop that defaults to no
A Reviewer agent proposes one falsifiable change at a time, and a Skeptic agent tries to refute it; when unsure, it counts the change as refuted. Lessons sit in a structured store, and retrieval scores them by tag match, importance and recency, without embeddings. The memory view draws the lineage of every policy version, rejected ones included.
News and signal streams
Signals arrive through plug-in adapters: exchange candles over WebSocket, X news search with a monthly read budget and a cost guard, macro data, and a webhook with a token check for alerts from other tools. Only the webhook was on in production. X bills per read, the economic calendar is a paid endpoint, and my own technical strategies are not written yet. The news view ties each headline to the Validator's verdict and to what the agents did with it.
Earlier trading tools
In 2025 I built the frontend and API of a subscription service for crypto trading bots; it never reached an exchange. Then came StocksX, which turned TradingView alerts into Gate.io orders with take-profit and stop-loss handling and later moved to CCXT. A plan from March 2026 put the whole strategy in an agent's prompt; I never built it. The Whitestone software went the other way and moved every limit into code.
Explored, then chosen
The design brief compared three directions and recommended the dark one with gold accents, already used on the coming-soon page. I prototyped it as a full home page, then switched the identity to light before launch: warm white, a serif headline and one green accent. The light version fits the site's own story about its name, told under the heading "For too long, the stone was black." The logo went through five variants and a set of sacred-geometry marks before the one on the site, the alchemists' Philosopher's Stone, drawn as a circle in a triangle, in a square, in a circle.
Context
Whitestone is a trading venture on the French Riviera with two co-founders, and its public position is crypto and equities, spot only. Inside the venture the trading software is called RavnEdge. I built it to turn noisy inputs (news, technical signals, macro events, alerts from other tools) into trades under hard limits, and to make every new strategy prove itself on forward data before it touches money. Its scope is crypto: two pairs, BTC/USDT and ETH/USDT, on Bybit.
My role
I co-founded Whitestone with my partner Mykola; I'm its CTO, and he is the CEO. I designed and built the site, and I designed the trading software and its control room.
Claude coding agents wrote most of the software's code under rules I set: tests first, shared contracts first and, later, one git worktree per task with merges gated on the required checks. I reviewed the work and made every call. I also designed an agent team in which a risk auditor reports to me and can veto any strategy going live.
Architecture
- Candles, X news, macro data, webhooks External
- Signal engine (Python) Mine
- Control room (Next.js) + stop switch Mine
- Postgres on Supabase: tables + event bus Mine
- Agent brain: pre-filter, Validator, Trader, arena Mine
- Execution + risk gate Mine
- Claude Sonnet 4.6 / Opus 4.8 External
- Bybit, demo mode External
- Candles, X news, macro data, webhooks → Signal engine (Python): adapters
- Signal engine (Python) → Postgres on Supabase: tables + event bus: INSERT + pg_notify
- Postgres on Supabase: tables + event bus → Agent brain: pre-filter, Validator, Trader, arena: LISTEN
- Agent brain: pre-filter, Validator, Trader, arena → Claude Sonnet 4.6 / Opus 4.8: one structured call per role
- Agent brain: pre-filter, Validator, Trader, arena → Execution + risk gate: in-process call
- Execution + risk gate → Bybit, demo mode: orders via CCXT
- Execution + risk gate → Postgres on Supabase: tables + event bus: orders, positions, fills
- Control room (Next.js) + stop switch → Postgres on Supabase: tables + event bus: live reads, stop switch
- Mine
- External
Services talk through Postgres, with one deliberate exception: the agent brain calls execution in process. One Docker image ran three process groups on Fly.io in Paris, next to the database. The control room runs on Vercel and reads the same tables live. The public site stands apart: Next.js on Vercel, with Sanity for articles.
Decisions
The model picks the trade; code picks the size
The first design let the agent propose a position size. I took that away: the Trader now answers with only an action and a confidence, and its prompt tells it that the risk gate enforces every hard limit and that it decides entries only. One shared function turns confidence into a size tier for both execution and the log, so the two can't drift apart. Sizing became coarser, in fixed tiers, and I accepted that to keep the model away from risk.
One structured call per agent
I left out agent frameworks and tool loops. The pre-filter runs first, the Validator makes one call parsed into a Pydantic model, and the Trader runs once per arena lane, which caps a passing signal at four Opus calls. Every external SDK sits behind an interface with a fake, and the core tests run offline, without keys. A loop could fetch more context on its own, but I chose calls I can test and whose cost I know before the signal arrives.
Real prices, demo money
The exchange's testnet had synthetic prices and a WebSocket that kept dropping, so a run there said little about the real market. I added a third mode next to testnet and real: demo, with live prices and a demo balance, and I separated market data from the venue that executes orders. The catch is that demo fills are not real fills, so nothing the software did in that mode counts as a result.
Results
The site, whitestonegroup.io, is live, with its home page in French, English, Russian and Ukrainian (checked 2 Dec 2026). The trading software ran on the exchange's demo environment from 29 Jun 2026, with live prices and demo money, and it is paused now; it has never traded real money. I haven't counted signals or trades from the demo run, and I don't publish its figures, because demo numbers read like results.
What I'd do differently
- Build the backtest engine before the arena. There still isn't one: an open pull request holds only the method and a design that keeps backtests advisory. Without it, a weak idea had no cheap filter before it met live signals.
- Run one real signal source and a small learning loop long enough to judge them before building four adapters. The scheduled learning job stopped after 24 Jul 2026, and the forward run with my own strategies never happened.
Plates








Previous case
Next case











