Self-hosted · your keys · your machine

The trading bot that
evolves itself.

Describe a strategy in plain words. AI builds it as a safe, structured spec. The backtest proves it on real market data. Only strategies that survive make it through — natural selection, automated.

See how it works A hobby project we build in the open — not for sale yet.
6+FX
Crypto exchanges + Forex
AI strategies
100%
Runs locally
0
Keys we see
What you get

Three engines in one box.

A complete quant workstation you run on your own computer — no cloud, no lock-in, no monthly fee.

Backtest engine

Pulls real OHLCV from 6 crypto exchanges (ccxt) and forex pairs (yfinance) — 8 major coins, any timeframe. Simulates trades with realistic fees + slippage and scores return, max drawdown, Sharpe and win rate against a Buy & Hold line, so you see whether the strategy actually beat just holding. Look-ahead bias guarded by design.

AI strategies (BYOK)

Describe a strategy — “buy when RSI drops below 30, sell above 70.” Claude turns it into a structured JSON spec (RSI, MACD, Bollinger, crossovers, multi-timeframe + multi-asset confluence) — no raw code runs, so it's safe to share. Tune parameters with grid-search optimization; save, refine and export/import strategies as JSON. Your API key stays in your browser.

Self-evolving builder

An agent that edits the bot's own code, backs up before every change, health-checks after restart, and auto-rolls-back if anything breaks. Every change is auto-committed to git with a visible diff. It never edits itself — so it can't take itself down.

The evolution loop

Survival of the fittest strategy.

You don't write code. You set the direction; DARWIN mutates, tests, and keeps only what performs.

01

Describe

Tell it what to try, in plain language or a tweak to an existing strategy.

02

Mutate

AI rewrites the strategy spec (and, in builder mode, the code) — backed up first.

03

Backtest

The engine runs it on real history and scores it: return, drawdown, Sharpe, win rate.

04

Select

Keep the survivors in your library; auto-rollback the ones that break. Repeat.

Peek inside

The actual dashboard.

No mockups — this is the real tool you run on your own machine. Click any shot to enlarge.

enlargeDARWIN backtest dashboard with metrics and 3-panel price/RSI/capital chart

Backtest on real market data — scored against just holding.

Real OHLCV from 6 exchanges + forex. Realistic fees & slippage, full risk controls (position size, risk-per-trade, ATR / swing stops, trailing). Every result is measured against a Buy & Hold line — so you see the honest truth, not a cherry-picked number.

enlargeOptimization table with out-of-sample column and market-scan edges table

Tune it — then survive the unseen data.

Grid-search tunes parameters and risk, then validates the winner out-of-sample. The red OOS column exposes overfitting at a glance. The market scan hunts statistical edges (RSI bounces, seasonality, volatility) and labels each "holds ✓" or "fails ✗" on unseen data.

enlargeAI-generated strategy JSON spec with out-of-sample verdict

AI builds a strategy as a safe, structured spec.

Describe a strategy in plain words; Claude returns a structured JSON spec (indicators, entry/exit, risk) — no raw code ever runs, so it's safe to share. The self-evolving loop iterates and honestly reports when a winner does NOT hold out-of-sample.

Built honest

You stay in control. Always.

Bring your own keys

Your Anthropic key and any exchange keys live on your machine. We never see, log, or store them.

Runs 100% locally

The whole thing is a Python app you launch yourself. No account, no cloud dependency, no data leaves your computer.

Safe by design

AI returns structured specs, not arbitrary code. The builder backs up, health-checks, and auto-rolls-back. Hard to break, easy to recover.

No black box

Every strategy is a readable JSON spec you can export, share, edit, or run elsewhere. You own everything you build.

The honest truth
“Time in the market beats timing the market.”

— Warren Buffett. Most strategies lose to simply holding once you count fees and slippage. DARWIN puts the Buy & Hold line on every backtest, right next to your strategy — and tells you which one won. Don't take our word for it. Backtest it yourself.

A hobby project · in active development
Not for sale — yet.
  • Full source codebacktest engine, AI strategies, self-evolving builder.
  • Web dashboard8 cryptos + forex, strategy library, parameter optimization, interactive charts, SK/EN.
  • Bring your own Claude keyyou pay only your own AI usage (cents).
  • Lifetime updatesevery future improvement, no subscription.
  • Setup assistantan AI guide walks you from unzip to running, in your language.

DARWIN is something we build for ourselves in our spare time — not a product yet, no price, no promises. If it sounds useful, leave your email and we'll reach out when there's something to try.

⚠ Risk disclaimer — read this

DARWIN is a research and backtesting tool. It is NOT financial advice, NOT a signal service, and NOT a promise of profit. Nothing here is a recommendation to buy or sell any asset.

Backtest results do not guarantee future performance. Markets change, strategies overfit, and a curve that looked great on history can lose money live. Crypto trading carries substantial risk — you can lose your entire capital.

Only trade with money you can afford to lose, and never deploy a strategy live without thorough independent testing. You are solely responsible for your own trading decisions.