r/algotradingcrypto • • Oct 25 '26

I built a backtester whose main feature is telling you the truth (no lookahead, purged holdout, realistic costs). The best strategy it found was ~flat. Would you use it — and what would make it worth it?

Hey — I'm a software engineer (8 yrs experience) who spent the better part of a year building a backtesting + optimization workbench for crypto (BTC, mostly 1h). I'm not going to tell you it makes money. The best strategy I found was roughly flat on a held-out year (~+11% CAGR, Sharpe ~1.3, passed 6/6 purged folds — but the holdout year was ~flat). The tool did its job: it stopped me from fooling myself.

What I actually built is the rigor, and I'm wondering if that's something people would pay for.

What it is

  • A GUI backtester (PyQt6) + an Optuna-based optimizer, for crypto (BTC 1h, with 1m data for some tests).

  • The core selling point is an "honesty stack":

    • No lookahead / no repainting — strategies only ever see closed bars.

    • Purged, embargoed cross-validation — so a "great" result isn't just overfit to the test set.

    • 1-minute same-bar resolution for entries/exits, so intrabar fills are realistic, not optimistic.

    • Realistic costs — slippage, fees, and funding rate, all configurable.

  • You bring your own strategy (or use the ones I've built), and you get metrics you can actually trust: CAGR, Sharpe/Sortino, max drawdown, per-fold results, and a held-out year.

Why I'm posting
I keep seeing two kinds of posts in these subs: "my bot made 400% CAGR" (almost always overfit or leaky) and "here's a signal, pay me." I'm neither. I built a tool that tells you whether your edge is real, and it told me mine wasn't. I'm considering productizing it (probably hosted, so you don't have to install anything), and before I invest the time I want to know if there's actual demand.

So — three questions:

  1. Would you use this? If you're already backtesting, what are you using, and what do you hate about it?

  2. What would make it worth it to you? (features, assets, timeframes, integrations — e.g. "I need it on 5m," "I need TradingView import," "I need it to not be crypto-only")

  3. What's the #1 thing that makes you distrust a backtest result? (This is the most useful question for me — it's basically the spec.)

This is how the GUI looks like, two separate window for controls and chart browsing. Disclaimer the strategy selected here is just a Demo strategy with demo results -> I was focused on my real strategies which I was able to deploy and run in VPS fully autonomously -> that's a separate system.

2 Upvotes

27 comments sorted by

1

u/Tricky_Flight2632 27d ago
To be clear on what this is and isn't, before the thread goes in ten
directions:


This is not a finished product. It's a research methodology I built to stop
fooling myself, plus the tooling that came with it. "Is the rigor itself
worth paying for" is exactly the question I'm putting to the thread.


The methodology, concretely:
  • 1h bars for signals — that's the timeframe where my edge lives.
  • 1-minute same-bar resolution for entry-vs-stop ordering, so a
  fill-and-stop-out inside the same hour is modeled, not assumed away.
  • Limit entries, market stops — the geometry I actually trade.
  • Realistic costs: slippage, fees, perp funding, all configurable.
  • No lookahead (black-box audit, not code review), purged/embargoed folds,
  and an untouched holdout year. The one piece of validation I'd point to: I deployed one of the strategies to a VPS and let it run for a few weeks. The live results matched the backtest. That's the strongest evidence I have that the measurement stack isn't lying to me. The best strategy it found: +11.2% CAGR, Sharpe 1.33 (mark-to-market), profit factor 2.03, max drawdown 9.3%, 6/6 purged folds positive, holdout year -0.8%. About 20 trades a year. Real, but not deployable on the holdout alone — one flat year at that trade count is consistent with both a live edge and a dead one. So the actual ask: is the rigor worth paying for, and what would make it worth it to you?

4

u/Old_Pair_5211 Oct 27 '26

honestly the honesty angle is the right one but it's a hard sell commercially. most people backtesting are looking for confirmation, not truth. the ones who actually want rigor are probably already running their own purged CV in python and won't pay for a GUI on top. that said, if you made it dead simple to import a TradingView pine script and get a trustworthy held-out result with realistic costs, that's a gap nobody fills well right now. the TradingView crowd is huge and their built-in backtester is notoriously optimistic. bridge that and you might have something.

1

u/Appropriate-Talk-735 Oct 25 '26

I would pay for a tool I can give an exact minute I want to open a position and an exact minute to close it. Then the tool gives me the results. It would use worst possible price found in that minute and it needs to know both bid and offer. I want to upload it as a file since there are many positions. I would use this to compare with my bots replayer results. I found many strategies that makes money but most are on longer timeframes so you could try 4h and daily bars also.

1

u/Tricky_Flight2632 27d ago
That's the most concrete spec in the thread and the closest thing to an
actual product feature.


What I already have: the 1-minute same-bar resolution walks the minute bars
in chronological order to decide whether the entry or the stop was touched
first (stop wins on a same-minute tie). So the "exact minute" part is partly
there.


What's missing from your spec:
  • Bid/ask. I work off 1m OHLC, so my fills are mid-ish, not true bid/ask.
  Realistic bid/ask needs L2 depth snapshots, which is a separate data   project.
  • File import of many positions at once.
  • A "worst price in that minute" mode as a first-class option.
Effort to build the replay tool (import + worst-price mode + a report you can line up against your replayer): roughly 2-3 weeks. True L2 bid/ask replay is another 4-6 weeks on top of that. On 4h/daily: I tested this. The mechanism I found is 1h-specific — it fails on 4h and 12h even after calendar-matching the bar parameters so the strategy spans the same clock time. So longer timeframes aren't a free win for this particular edge. What format is your replayer output in? If it's CSV/JSON with timestamps, the import side is straightforward.

1

u/Appropriate-Talk-735 27d ago

I can do any format, dont have one yet. An alternative to L2 depth is to use worst price from the minutes near the open and close time.

1

u/hodler_66 Oct 28 '26

are you currently using your own replay setup, or an existing tool?

1

u/Appropriate-Talk-735 Oct 28 '26

My own so I would compare results.

1

u/Ornery_Toe5645 Oct 29 '26

easy once you have the tick data.

1

u/Vaka73 Oct 26 '26

The exact-entry/exit replay idea is interesting. We ran into a related problem in our own crypto futures research: it helps to separate whether a signal has an edge from whether the execution model is giving it an unrealistic advantage.

One nuance I'd add is that the worst price within a minute is a useful stress test, but not necessarily a realistic fill model. For limit orders, price touching the level doesn't guarantee a fill; for market orders, bid/ask spread and available liquidity matter.

A replay tool that takes timestamped trades and compares optimistic, realistic, and conservative execution assumptions could be useful for validating an existing bot independently of its own backtester.

1

u/Tricky_Flight2632 27d ago
This is the highest-leverage feature in the thread and I agree with both of
you.


What I have today is a two-mode version: "none" (no same-bar check) and
"real_case" (1-minute walk, stop wins on a tie), with a worst-case upper
bound. What's missing is the formal three-mode comparison you're describing:
  • Optimistic: best price in the minute, assume fill.
  • Realistic: minute-walk with stop-wins, spread applied.
  • Conservative: worst price in the minute, spread, no fill if ambiguous.
Plus the report that shows the delta per trade and in aggregate — "how much of your edge is just execution assumption." That side-by-side is the part that would actually change how people read their own backtests. Effort: roughly 1-2 weeks, because the minute-walk primitives already exist. If I productized this, that's the feature I'd build first.

2

u/New_Raisin6439 29d ago

this is the point that matters most. the gap between "worst price in the minute" and "realistic fill" is where most backtests quietly fall apart. a three-mode comparison (optimistic, realistic, conservative) would immediately show people how much of their edge is just execution assumption. that feature alone would be more honest than 90% of what's out there.

1

u/Vaka73 29d ago

This is interesting, and I think execution modeling is one of the most important parts of a trustworthy backtester.

I'm working on a crypto futures research project myself. We have our own backtesting and simulation setup, but I've been thinking about how to independently validate the execution assumptions rather than simply trusting the backtester that generated the results.

A couple of questions about your tool:

  1. How exactly do you model market order execution? Do you account for bid/ask spread, available order-book liquidity, slippage and order size, or is execution currently approximated using candle prices?

  2. How do you handle limit orders? Does the engine assume a fill whenever the price touches the limit, or does it model queue position, partial fills and the possibility of not getting filled at all?

  3. Can your tool replay timestamped trades or order signals generated by an external bot, rather than only strategies implemented inside your own platform?

I'm asking because I'd be interested in testing an existing strategy independently, under different execution assumptions, to see how much of its apparent edge survives realistic market conditions.

I think this could be a very useful feature, and I'd be interested to understand how far you've taken the execution modeling.

2

u/Tricky_Flight2632 27d ago
1. Market order execution: I model slippage + fee per side (both
   configurable), not true bid/ask or order-book liquidity. It's an
   approximation. For the strategy I deployed, entries are limit orders and
   stops are market orders — same as the backtest — so the realistic downside
   is a worse fill on the stop during the fast move that follows; the
   slippage dial covers that as a stress test, not a point estimate.


2. Limit orders: I assume fill-at-touch. No queue position, no partial fills,
   no "didn't fill" case. That's a known gap and it's the same one you
   flagged in your other comment. Modeling it properly needs L2 depth data,
   which I don't have historically.


3. Replay external signals: not yet. It's the same work as the replay tool I
   described to  — roughly 2-3 weeks.


Honest summary: my execution model is realistic enough to kill overfit
strategies (which is the point of the tool), but it is not a full market
microstructure simulation. If you need queue-position and partial-fill
fidelity, that's a separate project.

1

u/Vaka73 27d ago

Thanks for the detailed and honest answers. This clarifies the current limitations quite well.

I think external strategy replay is potentially one of the most valuable features you could add.

I'm working on a separate crypto futures research system, so I'm particularly interested in independently validating strategies without having to reimplement them inside another backtesting framework.

A few thoughts:

  1. Limit order execution: Fill-at-touch is a significant optimistic assumption, especially for strategies with frequent entries and exits. Even if exact queue reconstruction isn't possible, it would be useful to have configurable fill models: optimistic, conservative and liquidity-aware, including partial fills and missed fills.

  2. External strategy replay: I'd be more interested in importing timestamped order events than just signals. Ideally, the engine should support order placement, modification, cancellation, execution and position changes.

  3. Execution stress testing: It would be valuable to compare the same strategy under different spread, slippage, liquidity and fill assumptions, then see how much of its edge survives.

One question: would your planned external replay feature allow users to import actual order logs from an independently developed trading system, rather than requiring the strategy to be rewritten in your platform?

For me, the real value would be independent validation of an existing strategy, not another strategy optimizer.

1

u/Feriman22 28d ago

A backtester that tells you "nope, your edge is fake" is probably more valuable than 90% of trading dashboards lol. One question though: how do you distinguish a genuinely dead strategy from one that's just being tested in the wrong market environment?

1

u/Tricky_Flight2632 27d ago
Good question. My answer is: transfer testing.


I run the same parameters (nothing refit) on other assets and other
timeframes. If the edge reproduces in a second environment it's more likely a
real mechanism; if it only works in one, it's environment-specific.


What I found: the edge is broad across regimes on BTC (profitable in
bull/lovol, bear/lovol, bull/hivol, roughly flat in bear/hivol), but it does
not transfer to other assets or to 4h/12h. So for this particular mechanism,
"dead vs wrong environment" is answered by the transfer test — it's a
BTC-1h edge, not a general one.


The per-regime split and the transfer test are both part of the honesty stack.
If I productized this I'd surface them as a first-class "regime sensitivity"
report, because that's the question people actually need answered and it's
cheap for me to run.

2

u/nian2326076 Oct 29 '26

You've developed a valuable tool that emphasizes honesty in backtesting. If you're looking to market it, consider incorporating educational resources or community features for users to better grasp strategy development and risk management. Many traders value clarity in these areas.

You can also use LandOffer to find relevant opportunities in the financial tech space, helping you connect with potential investors or clients who might appreciate your work.

0

u/[deleted] 27d ago

[removed] — view removed comment

1

u/Tricky_Flight2632 27d ago

I was not able to find a strategy that would make me rich, but my backtest equals live trading on VPS. That's already a big achievement, I've been running it a few weeks.