Determining Optimal Stop-Loss Thresholds via Bayesian Analysis of Drawdown Distributions

Antoine Emil Zambelli
DOI: https://doi.org/10.48550/arXiv.1609.00869
2016-09-04
Abstract:Stop-loss rules are often studied in the financial literature, but the stop-loss levels are seldom constructed systematically. In many papers, and indeed in practice as well, the level of the stops is too often set arbitrarily. Guided by the overarching goal in finance to maximize expected returns given available information, we propose a natural method by which to systematically select the stop-loss threshold by analyzing the distribution of maximum drawdowns. We present results for an hourly trading strategy with two variations on the construction.
Risk Management,Portfolio Management,Trading and Market Microstructure
What problem does this paper attempt to address?
The problem that this paper attempts to solve is: how to systematically determine the stop - loss threshold to optimize the expected return of financial trading strategies. Specifically, the author points out that in the existing literature and practice, the stop - loss level is usually set arbitrarily and lacks systematic and scientific basis. To improve this, the author proposes a Bayesian analysis method based on the maximum drawdown distribution, aiming to systematically select the optimal stop - loss threshold by analyzing the maximum drawdown in historical data. ### Main problems and objectives of the paper 1. **Existing problems**: - **Arbitrariness**: In most current research and practice, the stop - loss level is often set arbitrarily and lacks a systematic method. - **Insufficient use of information**: Existing market information is not fully utilized to optimize the selection of the stop - loss threshold. 2. **Research objectives**: - **Systematic selection**: Propose a systematic method to select the stop - loss threshold, ensuring that it is based on historical data and statistical analysis rather than subjective judgment. - **Maximize expected return**: Maximize the expected return of the trading strategy by optimizing the stop - loss threshold. ### Method overview The method proposed by the author mainly includes the following steps: 1. **Signal - Only Strategy**: - Use the simple moving average (SMA) as a trading signal and calculate the 20 - hour SMA once per hour. - Enter a long position when the asset price is higher than the SMA; exit the position when the price falls below the SMA. 2. **Drawdown Distribution**: - For each trade, measure its maximum drawdown and divide it into several equal - width intervals (bins). - Determine the win rate and average return at different drawdown levels by analyzing the frequency distribution of these intervals. 3. **Expectation Maximization**: - Calculate the expected return of a given drawdown interval \(B_i\) through the formula \(E(r|D\in B_i)\). - Use the cumulative sum method to find the optimal stop - loss threshold \(T\), that is, the right - hand endpoint of the drawdown interval that maximizes the expected return. 4. **Rolling Window Method**: - To solve the data sparsity problem, introduce the rolling window method and use more historical data points to construct a denser drawdown distribution. - The entry and exit signals for each trade are based on a fixed time window (e.g., 20 hours), thereby increasing the amount of data. ### Results and conclusions Through testing on 114 assets, the author found that: - **T method**: It outperforms the signal - only strategy in 51.75% of cases, with an average increase of 7.16% in the final net liquidation value (NLV), but in the case of failure, it has an average loss of 8.20%, resulting in an overall expected negative return. - **R method**: The improved rolling window method outperforms the signal - only strategy in 57.02% of cases, with an average increase of 6.37% in the final NLV, an average loss of 6.94%, and an overall expected positive return of 0.65%. ### Summary The paper successfully proposes a method for systematically selecting the stop - loss threshold and verifies its effectiveness through empirical research. Although this method is not perfect, it is a significant improvement compared to traditional methods. Future research can further optimize parameter selection and conduct in - depth analysis of the performance differences of different types of assets. ### Formula summary - **Expected return formula**: \[ E(r|D\in B_i)=E(r|L, D\in B_i)P(L|D\in B_i)+E(r|W, D\in B_i)P(W|D\in B_i) \] - **Cumulative expected return formula**: \[ E(r|D\leq\lceil B_k\rceil)=\sum_{i = 1}^k E(r|D\in B_i)P(D\in B_i) \]