Running

How it works

An experiment in whether an AI agent running on our own hardware, woken by the news and the market as they move, can trade crypto profitably, 24/7, after fees, with a risk engine that has the final word.

1. Around the clock

The news
The bot's own news engine reads about 70 sources: news outlets, regulators, exchanges and calendars. Bad news on a coin it holds wakes the agent before anything else; an idea for a new trade needs a second source to confirm it.

2. As each minute's bars arrive

The screens
Live Kraken order books and candles become features in code: trend, RSI, ATR, Bollinger bands, volatility, market regime and correlations. Trend-following, mean-reversion, relative-strength and event-driven screens run on them, and the five best setups on coins it doesn't hold wake the agent together.

3. On a 1.5 ATR move, or after 2 h of quiet

Sharp moves and quiet time
A held coin moving sharply wakes it at once, a drop before anything else. So do its own watches (a price, a move, news, a time) and a macro release coming up. When nothing has woken it for a while, it reviews the whole book anyway.

4. Every 3 seconds

Stops and targets
The engine checks every position against the live order book and exits at its stop or target. This runs whether or not the agent is working or the engine is paused.

Each wake-up is an episode

The agent runs on an open-weight model (local/qwen3.6-35b-a3b-q2) on two graphics cards in the server that runs the bot: no AI service and no per-call cost. One episode runs at a time, and bad news on a holding interrupts anything else. Each one streams to the Agent page as it happens.

  1. The brief: why it woke, its holdings and the limits in force, the market, and the latest news on each coin it woke for, with the notes and watches it left itself.
  2. Lookups, one step at a time from 11 read-only tools: its book, quotes, features, order-book depth, news, a coin's news dossier, past decisions, the macro calendar, and years of prices and past news from our history store. It can't search the web or place an order from here.
  3. The answer: one structured decision per coin (action, conviction, the odds of hitting the target before the stop, stop and target, bull and bear evidence, risks and what would prove it wrong), plus watches and notes for later. Exits go first, then entries pass its own limits and the risk engine.

Urgent wake-ups get 4 steps and 60 s; reviews get up to 8 steps and 4 min, with time to think.

Rules enforced in code

  • Starts with $10,000 of simulated money in a Kraken CLI paper wallet, filled at live Kraken prices with a 40 bps fee and 5 bps slippage. Spot only: no leverage, no shorting.
  • The long-term book holds BTC at 30%, ETH at 15% and SOL at 15% of equity for months to years, through drawdowns. Each is bought once, 4 h after the last, with no stop or target, and the bot never sells it: not on a trend break, a drop or news. Only the owner does.
  • The trend core trades by rules, not the AI: while BTC is above its 50-day average, it holds up to 5 of the strongest coins in a long-term uptrend (above a 50-day average that is above the 200-day, up over 30 days), each risking 1% of equity at a stop 2.5 daily ATRs below, with no target. It sells when the stop is hit or the coin closes a day below its 50-day average, skips a coin it left within 48 h or with bad news in the last 24 h, and the agent can close one of its positions only on news.
  • Each trade risks 1% of equity if its stop is hit, a little more or less by conviction. Once a position is up by its stop distance, its stop trails the price at that distance. Stops sit 1–12% below entry, and the target must offer at least 1.3:1 reward to risk.
  • At most 20% of equity per new position, 30% in one coin, 90% invested in total and 70% across coins that move together. 9 positions at once and 20 trades a day.
  • Code keeps only 60% of the edge the AI claims, then subtracts fees, spread and slippage walked through the real order book. A trade needs 25 bps of expected edge left over and 55/100 conviction.
  • No entries on quotes older than 20 s or spreads wider than 20 bps, and no re-buying a coin within 90 min of selling it. The AI can't close a position younger than 1 h unless its stop or invalidation hits, and stops only ever move up.
  • The agent has limits of its own: 8 new entries a day and 3 an hour, 4 open positions it opened, at most 3 new coins per wake-up, no entry in a coin it acted on in the last 30 min, and no re-entry within 6 h of a stop-out or 2 h of a sale. Its entries are sized by the rules above, a little more or less by its conviction.
  • A day down 5% blocks new entries until the next UTC day. A 25% drawdown from peak equity engages the kill switch; it releases by itself 24 h later, trading resumes, and the drawdown counts afresh from the equity then.
  • Circuit breakers are for extreme cases: the wallet 20% below its peak since the agent took over (or was last resumed) pauses new entries for 24 h, when they resume by themselves (the owner can resume them sooner). A slow model, or most of its answers in an hour invalid, pauses the agent's entries only while it lasts. Exits carry on either way, and a rule refusing an order trips nothing.
  • Stale data or an invalid answer means no trade.
  • The AI can't change any of this: settings change only through audited owner commands. Every episode (each step, what it looked up and its answer), decision (including no-trades and rejected orders), risk check, order and fill is stored and shown on this site.

Is there an edge?

  • The agent can't be backtested: a model asked about past prices has probably seen what happened next.
  • So the AI is judged going forward: every decision, including the trades it passed on, is scored against what the price actually did. Analytics compares what it bought with what it skipped, with the screens alone and with a random-walk baseline, and checks how well calibrated its odds are.
  • Nothing learns automatically. The agent's notes to itself expire after 14 days; strategies and prompts change only by hand, and every decision records the model and prompt version it used.

Sister projects

  • StockMarketBot runs the same idea on US stocks and defined-risk options with a $10,000 paper account.
  • PredictionMarketBot runs it on prediction markets, trading Kalshi's Yes/No contracts with a $10,000 Alpaca paper account.