Trishula paper‑trading bot
Long/short bot that paper-traded the top and bottom 15 coin scores on the Binance futures testnet. It did not beat holding BTC, so it stopped.
-0.8%testnet return, BTC +7%
One trading cycle
- 01Signals inRead the latest coin scores from the CryptoPrism return-ranking models.
- 02Regime gateA market regime check can block longs or shorts, or shrink their size.
- 03PositionsLong the top 15 and short the bottom 15 on USDC pairs, 1x leverage.
- 04ExitsClose at +4.5% take profit, at an 8% stop loss, or after 3 days.
- 05Log and reportWrite every trade to a table and post a Telegram report.
The bar it had to clear
- Testnet return beats holding BTCno
- Q1 2026 rolling backtest makes moneyno
- Q1 2026 rolling backtest loses less than BTCyes
- The +14% Q4 2025 result is out of sampleno
It did not clear the bar, so it stayed on paper.
Leadership lens
The callpass
Test the model with paper money on a futures testnet and with weekly retrain backtests, instead of trusting one good backtest or putting real money in.
The betpass
If ranking coins by expected 3-day return had real signal, a market neutral book of 15 longs and 15 shorts should make money in up and down markets.
The trade-offpass
Kept it on testnet at 1x leverage. That gave up any chance of real profit in exchange for a cheap, honest test.
The outcomepass
It did not beat the simple baseline. Testnet lost about 0.8% while BTC rose about 7%. The clean Q1 2026 backtest lost about 13%. I stopped the bot in late April 2026 and kept it paper only.
Coordinated
Solo build. A Telegram report after each cycle kept the daily record in plain view.
Where this goes next
Paper only and dormant. Any restart has to first beat holding BTC in a rolling backtest the model never trained on.
01 The bot
A long/short test of a ranking model
Trishula was the trading half of my CryptoPrism research. The CryptoPrism return-ranking models (opens in a new tab) score coins by expected 3-day return relative to the market. Trishula asked the simple question: if you trade those scores, do you make money? It went long the 15 best scored coins and short the 15 worst, on Binance USDM futures in USDC pairs. Both legs used 1x leverage. Everything ran on the Binance testnet, so no real money was at risk. It ran on my own machine with a Windows scheduled task. Binance blocks the IP addresses GitHub Actions runs from, so the cloud runs failed and I moved the bot local.
Positions
15 + 15
long and short
Leverage
1x
both legs
Hold
3 days
matches the 3-day target
Trading pairs
25
USDC futures, testnet
Status
Paper only. It paper traded from April 10 to April 27, 2026 and has been dormant since.
02 How it works
One cycle, start to finish
Trading cycle
Each cycle first syncs its trade table with the exchange, so testnet resets do not leave ghost positions. Then a regime check looks at the market. It can allow both sides, block one, or scale position size up or down. New longs need a score above a small floor. New shorts need a score below zero. About 95% of each side is deployed. A position closes at +4.5% take profit, at an 8% stop loss, or when it reaches 3 days.
| Setting | Value |
|---|---|
| Longs / shorts | 15 / 15 |
| Deployed per side | 95% |
| Leverage | 1x |
| Take profit | +4.5% |
| Stop loss | 8% |
| Maximum hold | 3 days |
| Exchange | Binance USDM futures testnet |
03 Paper trading
Two weeks on testnet
BTC, same days
+7%
buy and hold
Trades
186
including open ones
Win rate
39%
closed trades
Over about two weeks the book lost about $40, or 0.8%. BTC rose about 7% over the same days. A market neutral book does not have to beat BTC in a rally, but it does have to make money, and this one did not. The two legs told different stories. Longs made about $107. Shorts lost about $147. Even long only, the book would have made about 4%, still behind BTC.
Testnet noise
Of 166 closed trades, 41 were noise: testnet account resets, migrations and emergency closes. A testnet is good for checking the plumbing. It is a weak judge of the strategy, which is why the backtests below matter more.
04 Backtests
In sample versus out of sample
I ran the same long/short rules in backtests on $5,000 of simulated capital. The honest version is a rolling test: retrain the model each Sunday on data up to that day, then trade the next week it has never seen. That mirrors how the live weekly retrain works.
| Backtest | Type | Return | BTC |
|---|---|---|---|
| Q1 2026, 13 weekly retrains | Out of sample | -13% | -25% |
| April 2026, 3 weekly retrains | Out of sample | about 0% | +17% |
| Q4 2025 walk-forward | In sample | +14% | -26% |
Q1 2026 lost about 13% while BTC fell about 25%. It lost less than BTC, but it still lost money, with a worst drawdown of about 21% over 533 trades. April 2026 was roughly flat while BTC rose about 17%. The legs also flipped. In Q1 the shorts made money and the longs lost it. In April it was the other way round. A real edge should not change sides like that.
Why the +14% does not count
The Q4 2025 test used a saved model whose training data started in October 2025, so it was graded on days it had already learned from. The Q4 backtest report linked on this page calls the run out of sample. It is not.
The backtest scripts do not charge trading fees, and they use a trailing stop that the testnet bot did not have. Both differences make the backtests, if anything, kinder than real trading would be.
05 The decision
Stopping a strategy that did not beat the baseline
The simplest baseline was to hold BTC. On testnet the bot trailed it by about 8 points. In the clean April backtest it trailed by about 17 points. In Q1 it lost less than BTC, but losing 13% is not a product. The one strong number, +14% in Q4 2025, came from an in-sample test. Once I removed that, nothing in the evidence said the strategy worked. So I stopped the bot in late April 2026 and left it paper only.
What the replays were still good for
Before stopping, I replayed the recorded trades under 8 regime rules, from no filter to long only. That replay is how the regime detector used by the ranking models was chosen. The bot failed, but its trade log still fed back into the model work.
06 Lessons
What an evaluation-minded engineer takes from it
Check what the model trained on before you trust a score
The best looking result in the project was in sample. The fix was simple: list the training dates next to the test dates. The same habit applies to grading any model.
Compare to the simplest baseline
A Sharpe ratio or win rate on its own hides a lot. Putting the bot next to plain buy and hold BTC, over the same days, made the answer clear in one line.
Test the way it will run
The rolling weekly retrain backtest copied the live retrain schedule. It gave a far worse and far more honest answer than the single walk-forward run.
Paper first, and be willing to stop
Two weeks on testnet at 1x cost nothing and found the weak short leg fast. Stopping was cheap because no real money ever went in.
07 Context
Where it sits in the system
The CryptoPrism news pipeline (opens in a new tab) collects crypto news and turns it into daily per-coin features. The CryptoPrism return-ranking models (opens in a new tab) use those features, plus price features, to score coins. Trishula traded those scores and its backtests retrained the same LightGBM model. An earlier prototype, the Sentiment Backtest Engine (opens in a new tab), tested simple news sentiment strategies in a separate repo before any of this was built.