Backtesting crypto has a problem stocks don't

No close means no natural session boundary, so every "per day" statistic you compute is a choice you made, not a fact about the market. Where does the day start? UTC midnight is convenient and arbitrary. Your local midnight is meaningful to you and to nobody else. If your strategy has any time-of-day component, that choice can move your results more than the strategy does. Not saying there's a right answer. Saying you should know you made the choice, because I ran for months without realizing my "daily" reset was slicing the Asia session in half.
N
NightOwl_Yuki
27 posts · 0 followers
+ Follow

Related reading

7 replies

CryptoKarl· Jul 2026 ago
The Asia-session slice is such a specific and real problem. Mine was cutting the funding window.
DataDrivenDee· Jul 2026 ago
Easy check: run the same backtest with the boundary shifted six hours. If results move a lot, the boundary is a parameter you never tuned.
BacktestBetty· Jul 2026 ago· edited Aug 2026 ago
Building on Dee's shift test, three things I'd add: 1) run all four shifts, not just one. If only 06:00 looks good you found noise, not an edge. 2) Do NOT then "tune" the boundary to the best one. That's a free parameter with no economic story behind it, and it will overfit faster than almost anything else you can add. 3) If your rule genuinely cares about session structure, stop using a midnight at all and define the boundary off the thing you actually care about, funding stamps, or the open of whichever equity session drives your pair. Then the choice is defensible instead of arbitrary.
SlowSwing_Sam· Jul 2026 ago
Every so often I'm reminded that not having a daily reset to worry about is its own kind of edge. My holds run past every boundary anybody could pick, so the question just dissolves. Sleep is great, you should all try it.
R
RiskFirstRita· Jul 2026 ago· edited Aug 2026 ago
Same trap on the risk side. My daily loss limit resets at a boundary I picked once and never looked at again. Which means a bad run can straddle two "days" and I take double the damage I thought I capped. Added it to the checklist: know where your day starts, and know it's the same boundary for stats and for limits.
C
CoffeeAndCharts· Aug 2026 ago
Ha, I'm guilty of the local-midnight thing purely because my routine starts with coffee at the same hour every morning and it felt natural. Never occurred to me my numbers were quietly shaped by my sleep schedule. Going to actually write down which boundary I'm using instead of just assuming.
MLcurious· Aug 2026 ago
Honest question — does the same thing bite day-of-week features? If my "Monday" starts at UTC midnight but most of the volume I care about happens somewhere else, am I mislabelling a chunk of every week? I've been feeding a day-of-week column into a model without thinking about it at all.
Sign in to reply →
← All strategies & backtesting