TradeTruth: A Leakage-Aware Walk-Forward Machine Learning Framework to Analyse Future Price Direction in Stocks and Cryptocurrencies

This paper provides an overview of how accuracy is often cited in papers discussing the predictive power of machine learning in financial markets. However, many do not mention whether this accuracy is significantly better than what could be achieved using a naive approach, and whether the accuracy would be profitable once transaction costs are considered. In this paper, we present a novel validation-based framework, called TradeTruth, which uses a single pipeline to facilitate predictions of future price direction in stocks and cryptocurrencies. The pipeline integrates backward-looking features, Logistic Regression and Random Forest models, a majority class baseline, forward validation with expanding windows, automated leakage testing, statistical significance and transaction-cost-aware backtesting. We examine six assets: two cryptocurrencies and four Indian stocks listed on the NSE. We ensure our models are robust by performing feature ablation, permutation importance, a volatility regime analysis and a sweep through transaction costs. Finally, news sentiment is only used as context in real time, as we do not assume access to a time-consistent list of past headlines. The framework determines whether a predictive model provides a prediction that can be validated chronologically, statistically and realistically. The accuracy varies between 48.7% and 53.2%, with the majority class baseline varying between 50.5% and 53.0%. One of twelve binomial tests is nominally significant, and none survives Bonferroni correction. Furthermore, the Random Forest strategy shows lower performance than buy-and-hold on all six assets at 0.15% transaction costs. Licenses & Copyright

Authors

Publication Details

Journal
Zenodo (CERN European Organization for Nuclear Research)
Published
2026-11-23
DOI
https://doi.org/10.5281/zenodo.24472051
Primary Topic
Stock Market Forecasting Methods
Type
article
Field-Weighted Citation Impact
0.00
Controls
|||
ALL TIME
JAN
FEB
MAR
APR
MAY
JUN
JUL
AUG
SEP
OCT
NOV
article

TradeTruth: A Leakage-Aware Walk-Forward Machine Learning Framework to Analyse Future Price Direction in Stocks and Cryptocurrencies

Danson Craig, Bhagyashree Lambture, Rajveer Shrivastava, Aashu Aman et al.
Zenodo (CERN European Organization for Nuclear Research)
Stock Market Forecasting Methods
article

TradeTruth: A Leakage-Aware Walk-Forward Machine Learning Framework to Analyse Future Price Direction in Stocks and Cryptocurrencies

Danson Craig, Bhagyashree Lambture, Rajveer Shrivastava, Aashu Aman, Aditya Tyagi
article en

Abstract

This paper provides an overview of how accuracy is often cited in papers discussing the predictive power of machine learning in financial markets. However, many do not mention whether this accuracy is significantly better than what could be achieved using a naive approach, and whether the accuracy would be profitable once transaction costs are considered. In this paper, we present a novel validation-based framework, called TradeTruth, which uses a single pipeline to facilitate predictions of future price direction in stocks and cryptocurrencies. The pipeline integrates backward-looking features, Logistic Regression and Random Forest models, a majority class baseline, forward validation with expanding windows, automated leakage testing, statistical significance and transaction-cost-aware backtesting. We examine six assets: two cryptocurrencies and four Indian stocks listed on the NSE. We ensure our models are robust by performing feature ablation, permutation importance, a volatility regime analysis and a sweep through transaction costs. Finally, news sentiment is only used as context in real time, as we do not assume access to a time-consistent list of past headlines. The framework determines whether a predictive model provides a prediction that can be validated chronologically, statistically and realistically. The accuracy varies between 48.7% and 53.2%, with the majority class baseline varying between 50.5% and 53.0%. One of twelve binomial tests is nominally significant, and none survives Bonferroni correction. Furthermore, the Random Forest strategy shows lower performance than buy-and-hold on all six assets at 0.15% transaction costs. Licenses & Copyright

Zenodo (CERN European Organization for Nuclear Research)
Stock Market Forecasting Methods
AI Navigator

Ask Laika to Summarize, Analyze, and Connect papers live on the map.

Summarize Papers & Methodologies

Extract key findings, datasets, and comparative methods across publications.

Benchmark Rankings & Visual Analytics

Rank top research institutions, authors, funders, topics, and journals by Field-Weighted Citation Impact (FWCI) and paper volume with instant charts.

Connect Distant Disciplines

Bridge topological clusters on the map to find hidden collaborative intersections.

Laika access coming soon
TradeTruth: A Leakage-Aware Walk-Forward Machine Learning Framework to Analyse Future Price Direction in Stocks and Cryptocurrencies — Danson Craig, Bhagyashree Lambture, et al. · Zenodo (CERN European Organization for Nuclear Research) (2026) | TGRS Research Map | TGRS