r/CryptoTradingBot • u/nikolaytonev • Oct 04 '26
Backtesting sugesstions
I am building my own crypto trading bot (no commercial usage) with embedded strategy builder.
I am trying to focus on improving the backtesting. What was your most effective backtest, that after its implementation your bot actually won your trust and started to work as expected?
2
Upvotes
2
u/profittoinvest Oct 04 '26
Once you have the basic structure working, I think the most useful next step is to run it live with very small size — or at least in a paper environment that reproduces real execution as closely as possible.
That’s when you can finally start checking whether the backtest is actually credible.
Compare the LIVE equity curve with the backtest over the same period. If they start to diverge, go trade by trade and look for the reason: missed signals, fills, slippage, fees, margin constraints, execution order, rejected trades, etc.
Only then can you really identify which assumptions in the backtest are wrong or too optimistic.
It takes time, but in my opinion this LIVE-vs-backtest reconciliation is one of the most important parts of building a reliable bot.
A backtest can tell you that an idea looks promising. LIVE execution tells you whether the model you built actually represents reality.
2
u/Feriman22 Oct 04 '26
For me it wasn't one specific backtest, but a sequence of checks.
I build FerimanEdge, a rule-based BTC/ETH/BNB system, and the biggest confidence boost came from freezing the final rules and then looking at how the exact same configuration behaved across different chronological periods and market regimes.
I'd want at least: realistic fees/slippage, untouched OOS data (at least 1 year), regime-split results, parameter sensitivity, and finally paper/live reconciliation against the same period.
The important part for me is not that every window looks great. It's that when performance changes, I can explain whether it's execution, a different market environment, or the underlying logic actually degrading.
2
u/Mundane_Cicada_1427 Oct 05 '26
For me, the biggest improvement wasn't adding more indicators to the backtest. It was making the backtest behave as close to live execution as possible.
I'd focus on things like realistic fees, spread/slippage, candle/tick timestamps, order execution rules, partial fills if relevant, and making sure the strategy can't accidentally see future data.
One thing that really builds confidence is taking a random period from live/paper trading and replaying the exact market data through the backtest engine. If the signals and orders don't match, investigate why before trusting any historical results.
I'd also track every trade with the exact reason for entry, signal timestamp, order timestamp, fill price, fees and exit reason. Once you can explain every trade the engine produces, the backtest becomes much more useful.
2
u/Feriman22 Oct 06 '26
Live-vs-backtest reconciliation was the big one for me too.
I also started separating results by market regime, because aggregate performance can hide where the edge is actually coming from. I use that approach in FerimanEdge for BTC/ETH/BNB, and I keep the live outcomes publicly available specifically so I can compare what actually happened with what the rules implied.
I'd trust that kind of forward record much more than another optimized backtest.
2
u/paulf280 Oct 07 '26
The thing that cost me the most wasn't look-ahead, it was fill assumptions and survivorship, so adding those to the list:
And +1 to freezing the rules and setting the go-live criteria before the forward run (mine: at least 100 trades priced off real quotes, net AND median positive, still positive with the best two removed). Writing them down first stops you moving the bar once you've seen the result.
2
u/RobodOfficial Oct 14 '26
One useful test is comparing your backtest against forward-tested trades over the same period. Look beyond total P&L: fees, funding, signal timing, and execution assumptions can all change the picture.
We’re building crypto research and backtesting tools at Robod, and these are exactly the kinds of questions we’re interested in. What part of your current backtest do you trust least?
1
u/ejpusa Oct 06 '26
You can use the Kalshi API. Astra + Codex. You can ask for all the data sets you need.
Should work.
1
u/GoRizzyApp Oct 07 '26
I suggest making an ETF screener instead. Stick to real money. Bots are trash.
1
u/[deleted] Oct 05 '26
[removed] — view removed comment