Practical Guides · knowledge base from X

I gave a popular AI trading tool a strategy that cheats: $1,000 became $47 million without a warning. How to put a backtest to the test before believing it (Vibe-Trading test, Null Bias)

A test with a plan locked in advance of Vibe-Trading (open-source AI trading assistant with 37,000 GitHub stars, version 0.1.18) on 10 cryptocurrencies from October 2024 to October 2026. A strategy that looks at tomorrow's price turns $1,000 into $47 million with no warning and the tool's "skill or luck" check passes it; none of the 9 example strategies beats holding and a trend rule; the strategies written by the tool's AI promise +715% and on six unseen months do worse than simply holding. Plus the security problems (terminal without confirmation, .env files read from unrelated folders) and a two-line check anyone can use to find out whether a backtest "peeks at the future".

✍️ Null Bias · @null_bias
🔗 Read the original on X · X Article · published 28 Oct 2026
📊 6 likes · 1 bookmark · 728 views
Summary and adaptation in English; content and results belong to the author.

Part of the manual Trading and investing — the complete manual

Claimed result

  • The tool: Vibe-Trading, a free AI trading assistant made by a university lab in Hong Kong; you describe an idea in plain English, its AI writes the strategy and tests it on past prices (backtest). A viral post called it "one of the cleanest personal trading agents" with 37k stars. Version tested: vibe-trading-ai 0.1.18 (27–28 October 2026).
  • The backtest test: a strategy that every day looks at tomorrow's price (impossible in real life, but the most common mistake in homemade backtests) takes $1,000 to $47 million ($47.6M on daily BTC 2024–26, Sharpe 14.8) never losing more than $1.90 along the way and with no warning. The built-in "skill or luck" check declares it definitely not luck (p = 0.000) and nearly says the same about a coin flip (p = 0.051).
  • The 9 example strategies (the ones the AI uses as a starting point), $1,000 split across the 10 coins for two years: none passes the criterion fixed in advance (beat both holding and the trend rule by a margin that isn't luck).
  • The strategies written by the tool's AI: the best promised +715% on the prices it could see; on the 6 unseen months it made less than simply holding; none of the three was clearly better than holding, the trend rule or cash. Cost of the 5 attempts: $1.80.

Proof: medium-high. Plan written and locked before testing, each test run once, all results reported including a mistake by the author that was fixed; code of the "cheating" strategy and of the check published, full plan available on request, technical list with the exact places in the code. Limits: one tester, one version, crypto, six months out of sample.

The key idea

Before believing a backtest, try to break it. Give it a strategy whose answer you already know — one that cheats by looking at the future. If the tool doesn't object, it won't catch your honest mistakes either. And an AI's backtest is a sales pitch, not proof: +715% on paper became less than holding. "Clean" doesn't mean "trustworthy": the code is tidy and the backtest still believed a strategy that sees the future.

Step-by-step playbook

The author's method (reusable for any tool)

  1. Write the plan down and lock it before running anything; run each test once; report everything, mistakes included.
  2. Install the tool in a locked-down corner of the computer: no internet, no access to your files or passwords.
  3. Realistic data and costs: the 10 most-traded cryptocurrencies, October 2024–October 2026; 0.05% per trade plus the real funding fees (the small fee that people holding crypto futures pay or receive every 8 hours).
  4. Three simple benchmarks: holding the coins, a 3-line trend rule, staying in cash.
  5. Backtest test with a strategy that cheats (code below).
  6. Test of the example strategies as they ship, with the author's own simple calculator checked against the tool's.
  7. Test of the AI building the strategy, with an anti-memory time cut.
  8. Security test of the installation.

Part 1 — Can you trust the backtest?

  • The basics are right: a decision made today is traded tomorrow; every trade pays a fee plus slippage; its default costs are actually a little harsher than the author's.
  • But it doesn't notice the cheating strategy ($1,000 → $47 million, max loss $1.90, no warning).
  • The "skill or luck" check can't tell: it only reshuffles the order of the same trades (permutation of P&Ls), so it can't separate skill from luck.
  • Made-up funding fees: unless configured, it charges every coin the same fixed fee (0.0001 per 8 hours), about twice what holding Bitcoin futures really cost in the period. That's why "hold Bitcoin" showed $890 instead of about $1,078 (Bitcoin's price rose 17.8% in the period). And if you give it the real fees from your own file, it silently ignores them (the local loader drops the column; only the ccxt loader supplies real rates).
  • On hourly charts the fee is charged 4 times a day instead of 3 (a third too much).
  • Accounts below zero: in 9 of 80 tests a short bet that went wrong took the account below $0; one from $1,000 to −$208. On a real exchange you'd have been closed out before losing everything you put in.

Part 2 — Do its strategies make money?

  • The 9 example strategies that work on crypto prices, run as they ship: none passed the test locked in advance.
  • Three hardly ever trade: they sit in cash about 98% of the time, so "$1,000 became $1,000" means they did nothing.
  • Two beat holding, but thanks to one coin: ZEC went up 41 times in the period; the moving-average strategy turned $1,000 of ZEC into $41,437 and lost money on 5 of the other 9 coins; without ZEC it drops to $1,386.
  • "Hold the 3 strongest coins" is the most interesting: it beats holding even without ZEC ($2,019 vs $1,135) and in each single year (buying what has been going up is a known pattern in crypto); but the results were too spread out to rule out luck, and the starting list is today's most-traded coins = a list of winners (ZEC is on it because it went up 41 times; coins that crashed aren't). A list like that flatters any "buy what's going up" rule. Not proof; the only one the author would test again on fresh data.
  • Fragility of simple rules: in the author's previous post the trend rule made $1,377 and holding $1,845, with the daily decision at 01:00 UTC; here the decision is at midnight, like Vibe-Trading. Moving the decision by one hour moved the trend rule by $261 per $1,000.

Part 3 — What if its AI builds the strategy?

  • One question to the tool's AI (DeepSeek V4 Pro, the recommended model): build me a daily strategy for these 10 coins that makes money after fees, and save it.
  • Anti-memory: a model might "remember" prices it was trained on, so it only saw prices up to the day before the model came out (23 April 2026); then the strategies were tested on the 6 unseen months.
  • 5 requests, $1.80 in total. The AI service password never went through the tool: a small program of the author's added it on the way out.
  • Twice it built nothing: it wrote "Now let me get the data…" and the tool took that as its final answer (in one-question mode the run ends at the first text without a tool call; 2 of 5 runs after about 23 seconds).
  • Three times it built and tested a strategy on the visible prices; the best said +715%, on the unseen months it made less than holding.
  • Two things a normal user would never notice: the fee set by the AI was ignored all three times (the AI typed the setting under a name the tool doesn't read; the only clue is one line in a report file); once the results wouldn't have been visible at all, because the tool's fact-checker replaced the whole answer with "I rejected the previous draft because its prices conflicted with tool evidence".
  • The author's own mistake, declared: in scoring he had treated the AI's strategies as if each coin had its own small pot of money, making two of them look much smaller than they were (one about 10 times); spotted after seeing the results; the table uses the fixed numbers and the original scoring failed too. Six months is short; one model, one question.

Part 4 — Is it safe to install?

  • It's the real thing: the download matches the code on GitHub; no malware, no hidden tracking. Watch out for the vibetrading package (no hyphen): it has nothing to do with this one.
  • But the whole point of the tool is to run code its AI writes on your computer, as you, and the protections are thin:
  • the safety check is a list of banned commands, which its own code admits "cannot be complete"; the author found ways around it just by reading;
  • its AI can type commands into your terminal by default, without asking (the CLI always turns on the shell tools);
  • it can pick up your passwords: it looks for the .env file in the folder you start it from and in the folders above where it's installed; installed inside a research folder, it would have loaded the author's;
  • connected to Claude it adds 82 tools with no "safe" or "risky" label, so Claude can't tell "look up a price" from "write a file" or "run code";
  • the local server listens on all interfaces by default (sensitive routes refuse non-local callers when no API key is set).
  • The good news: through Claude it can't place real trades, as it ships. Its own AI can trade on a broker's practice account with no checks; real-money trades need you to sign off on limits first, but then it doesn't ask before each trade.

The check anyone can run

The cheating strategy, in a few lines: for each coin, the signal is the sign of close.shift(-1) - close — shift(-1) means "tomorrow's price", the part that is impossible in real life. Vibe-Trading ran it without complaint. The check to catch it (any tool could run it): work out the strategy's decision for a day using all the data, then again using only the data up to that day; if the two answers differ, the strategy is peeking at the future. In code: generate the signal on the full series, then for a set of sample days regenerate it on the series cut at that day and check that the value for that day matches. The 9 example strategies pass it run one coin at a time; one fails it on several coins together (it sizes by last-bar volatility: 214 of 300 truncation checks differ).

What the author flags to the makers (in plain words)

It doesn't notice a strategy that looks at tomorrow's prices; the "skill or luck" check can't tell the difference; funding fees fixed by default and real ones ignored; on hourly charts funding charged 4 times a day; accounts can fall below zero; one example strategy uses future information on several coins at once; all 9 example strategies tested fail the tool's own safety check as they ship (its AI must rewrite them before they run); unrecognized settings ignored with almost no warning (its own AI got caught by this); in one-question mode the AI often stops before doing anything; the fact-checker can throw away the whole answer, results included; it can load password files from folders it has no business reading; terminal on by default and code safety check with gaps; tools for Claude without labels. The lab's director doesn't take messages on X: the author tags him in a public post and promises to add any replies or fixes at the top.

The four lessons

  1. "Clean" doesn't mean "trustworthy".
  2. Try to break the backtest before believing it: give it a strategy that cheats.
  3. An AI's backtest is a sales pitch, not proof.
  4. Never give a trading AI your exchange passwords, and install these tools in their own folder, away from anything private.

Tools and costs

  • Vibe-Trading (free, open source; version 0.1.18), recommended model DeepSeek V4 Pro (5 requests = $1.80), Claude via MCP connector (82 tools).
  • Data: the 10 most-traded cryptocurrencies, October 2024–October 2026; costs 0.05% per trade + real funding.
  • Isolated environment with no internet; a small program that adds the API key on the way out.
  • The author's own simple calculator, checked against the tool's.

Limitations

  • One tester, one version of the tool (0.1.18): later versions may differ; any corrections promised at the top of the original post.
  • Crypto only, 10 coins chosen today (a list of winners, as the author says), six months out of sample, one AI model and one question.
  • The tables with the results of the 9 strategies and the 3 AI strategies are images in the article: only the numbers present in the text are here.
  • The locked plan and the full code are "available on request", not published.
  • Minimal engagement (6 likes): chosen for the rigour of the method, useful as a check for all the trading bots in this theme.
  • Risk: the test says nothing about how to make money trading; it says how not to be fooled by a backtest. Research and education, not financial advice; simulated results.
← More guides in “Trading and investing (method and risk management)”