Back To Projects

Backtesting and Machine Learning for a Self-Developed Futures Trading Strategy

Anant S.

This study investigates whether the poor backtesting performance of a discretionary futures trading strategy stems from important subconscious rules that were never formally documented. Testing ten years of Nasdaq-100 and S&P 500 futures data showed that adding an previously unwritten market-structure rule substantially improved performance, while machine learning found short-term price direction largely unpredictable but volatility expansion moderately predictable.


Having traded futures discretionary for about a year as most in this position I noticed that written rules would not reproduce in results. The usual explanation is that a trader's memory is fallible. I wanted to investigate another: the incompleteness of the written rules since the real most important rules are subconscious, applied without being noticed. I have tried to encode my strategy for Nasdaq-100 and S&P 500 futures exactly as I have written it, matched it against ten years of one-minute prices from 7.07 million bars. When traded it lost money: compared to break even probability 33.3%, 31.7% of trades were profitable with expectancy of -0.175R per trade over 205 trades. I have tried to switch parameters and none of the 24 of them resulted in profit. I looked at the only section of specification written without any measurable definition and what it depicted was the market structure or session-structure model: Accumulation-Manipulation-Distribution, that states whether to trade a day or not. Having added it without altering all other inputs resulted in trading 53.0 % of trades profitably with +0.480R of expectancy on 742 trades, positive on all five years of testing. In a separate analysis I have had a look at 300 101 samples through machine learning methods where it resulted in unpredictable short term price direction and predictable movement (expansion of volatility) with 57.6 % of hits against the base probability of 48.2%. The one rule I have never bothered to write down mattered most.

Explore More!

Source Code
Anant S.
Odysseas Drosis

Related Projects

Self-supervised DINOv2 versus Supervised CNNs for Insurance Claim Cost Predictions

This study investigates whether vehicle insurance claim amounts can be predicted directly from images of damaged cars by comparing CNN models, the self-supervised DINOv2 model, and GPT-5.5 as a vision language model. Results showed that DINOv2 performed best, achieving an R² of 0.12 compared with 0.07 for ResNet152V2 and 0.08 for ResNeXt50, while GPT-5.5 tended to overestimate repair costs, particularly for severe damage.
Rohan V.
Mentored by Ivan Felipe Rodriguez
Forecasting Bitcoin Price Direction from Twitter Sentiment and Market Data

This research explores how social media sentiment affects cryptocurrency price movements using the 17.7 million Bitcoin Tweets dataset from Kaggle. By applying VADER sentiment analysis and training Random Forest and XGBoost models, the study achieved 74.15% accuracy, highlighting sentiment and market features as key predictors.
Rishi N.
Mentored by John Basbagill
Predicting Repeat Purchases in E-Commerce

The underlying problem here is identifying more efficient upselling strategies for retailer companies. These findings may potentially help a retail company determine the likelihood of a customer purchasing another item based on their first purchase, and then decide how to upsell based on that information.
Ayrton S.
Mentored by Bryce Johnson