Your backtest is lying to you: walk-forward analysis and the Deflated Sharpe Ratio in plain Python - DEV Community
I tried 108 parameter sets and the best one had a Sharpe of 1.46. How much of that is real? A walk-forward loop and the Deflated Sharpe Ratio, with code, on 8 years of exchange data.