Abstract: In this working paper we present our current progress in the training of machine learning models to execute short option strategies on the S&P500. As a first step, this paper is breaking this problem down to a supervised classification task to decide if a short straddle on the S&P500 should be executed or not on a daily basis. We describe our used framework and present an overview over our evaluation metrics on different classification models. In this preliminary work, using standard machine learning techniques and without hyperparameter search, we find no statistically significant outperformance to a simple "trade always" strategy, but gain additional insights on how we could proceed in further experiments.
Introduction
In quantitative finance, the "short straddle" strategy—termed the "Lambda strategy" by the authors—involves selling both a call and a put option at the same strike price. This strategy is designed to profit from low market volatility; however, it exposes the trader to significant risk during sharp market movements in either direction.
While static backtesting often yields disappointing results, this research investigates whether machine learning can serve as a "smart filter." The goal is to decide daily whether market conditions favor opening a position, thereby avoiding high-risk scenarios and improving risk-adjusted returns.
Methodology
The problem is framed as a binary classification task: given current market features, the model must decide whether to execute the trade (1) or abstain (0). The researchers implemented a framework using Scikit-Learn, testing several standard classifiers:
- Ensemble Methods: Random Forest, Gradient Boosting, and AdaBoost.
- Linear and Instance-based Models: Logistic Regression ($l_2$ regularized) and k-Nearest Neighbors (kNN).
- Neural Networks: A Multi-layer Perceptron (MLP) with two 128-node hidden layers.
- Kernel Methods: Support Vector Classification (SVC) with an RBF kernel.
To ensure realistic performance estimation, a prequential evaluation scheme was employed. This rolling-window approach trains the model on data up to time $t$, validates on the subsequent interval, and tests on the following period before advancing the window.
Data and Feature Engineering
The study utilized 1,941 samples from November 2011 to August 2020. Data sources included:
- CBOE Datashop: Historical S&P 500 (SPX) option prices, bid/ask spreads, volume, and open interest.
- Market Indices: Daily OHLC prices for the S&P 500 and VIX, along with interest rates.
Features were engineered as relative values (e.g., 5-day historical closes relative to current prices) to allow models to identify patterns independent of absolute price levels.
Results and Discussion
Profit vs. Accuracy
A key finding is the discrepancy between classification accuracy and financial profitability. A model might achieve high accuracy but fail to capture large gains or avoid catastrophic losses. Consequently, the authors prioritized profit metrics (total profit, average profit per trade) alongside F1-score and ROC-AUC.
Model Performance
- Gradient Boosting: This model emerged as the frontrunner, consistently yielding the highest cumulative profit and demonstrating a capacity to reduce "fat tails" (large losses) in 1-month split intervals.
- The Baseline Challenge: A "trade always" strategy proved difficult to beat. While ML models often achieved higher average precision (indicating higher quality "buy" signals), they frequently missed profitable days due to lower confidence, resulting in lower total profit.
- Model Characteristics: SVC tended to be "aggressive" (high trade frequency), while AdaBoost was "conservative" (low trade frequency).
Conclusion and Future Work
This preliminary study found no statistically significant outperformance over the "trade always" baseline when using default model settings. However, it established a robust framework for future exploration. Key areas for improvement include:
- Hyperparameter Optimization: Systematic tuning is expected to unlock the full potential of the classifiers.
- Expanded Feature Sets: Incorporating individual stock data, commodities, and technical indicators.
- Strategy Evolution: Moving toward multi-class models that can choose between different strategy variations or hedging techniques.
- Temporal Architectures: Exploring Recurrent Neural Networks (RNNs) to better capture time-series dependencies.
Summary updated