Developer finds 73.5% win-rate FX system loses money due to flawed backtest logic
A software developer auditing a live foreign exchange trading system built over 16 years discovered it was losing money despite a 73.5% win rate across nearly 5,000 out-of-sample trades. The core flaw was that the backtest subtracted transaction costs from final profit-and-loss totals rather than embedding them into trade entry and exit triggers, causing the system to count winning trades that would never have won in live conditions. Compounding the problem, the system used small profit targets relative to stop-losses, mathematically requiring a win rate above 75–82% just to break even. A walk-forward parameter analysis across 119 folds returned near-zero rank correlation between training and test performance, indicating no learnable signal existed in the data. The author concluded that testing whether a parameter surface is learnable at all should precede any optimisation effort, and that breakeven transaction cost is a more practical edge-detection metric than Sharpe ratio.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in