Back to all work
Liquid paper-trading co-agent
Personal project, started November 2026. Simulated money only. Built with an AI coding assistant.
Objective
I wanted to know whether an AI agent could find trades and place them by itself on the Liquid app, using a paper (simulated) account. Short-term retail trading mostly loses money after costs, so I treated it as a test that could fail, and I set the pass marks before running anything.
How it is set up
There are two parts, and only one is running.
- Scout (running). A cloud routine looks at the markets five times a day and proposes trades. I approve each one by hand in the app. It does not trade on its own.
- Automatic trader (being built). A scheduled job on my Mac that checks a rule set and would place paper orders without me. It currently runs as a dry run that logs what it would do and places nothing.
Written rules cap every trade: risk 0.5% of the account, $1,000 maximum size, 3x maximum leverage, a stop-loss and take-profit on every order, and a halt after a 10% drawdown or five losses in a row. The agent checks that paper mode is on before every order, and tools that move real money are blocked from it.
Testing the rules before trading
I wrote a backtest in Python and ran it on two years of hourly prices for six coins, including trading fees and slippage. I compared each result with three things: leaving the money in cash (about 5.5% a year), holding Bitcoin, and random entries that use the same exits and pay the same costs.
| Version | Trades | Result after costs | Verdict |
| A: day trading on 1-hour signals | 4,654 | -80% | Fail |
| A2: slower, 4-hour signals, tested on a period I had not looked at | 1,325 | -5.7% | Fail |
| A2 on the recent period | 1,380 | +3.0%, against +10.8% for cash | Fail |
Results
Neither version has an edge. Both beat random entries only because random entries pay the same fees, which does not count for much. The first version traded far too often and the costs ate it. I did not adjust the second version after seeing the results, because tuning it until it looked good would just fit the past.
I also researched the "AI trading skill" and "simulate thousands of futures" tools that get promoted online. I found no independent evidence that any of them makes money after costs. Some of the tutorials are scams, and security researchers have found hundreds of malicious crypto trading add-ons, so I did not install any.
Limitations and what I learned
The backtest uses spot prices as a stand-in for the perpetual futures that Liquid trades, and it ignores funding costs, so real results would be a little worse. The paper account is simulated, so it does not show how real orders would fill. The Liquid connection also does not enforce my risk limits itself, so the limits live in my own rules and checks. The main lesson is that a plausible-looking strategy can fail a fair test, and that writing the pass marks down first keeps me honest. Nothing here is financial advice, and no real money is involved.