Esta estrategia explota un mito bien conocido, que dice que si compras al cierre de la sesión del mercado de valores y luego simplemente vendes al día siguiente en la apertura, entonces te irá bien. Puedes ver por ti mismo que los resultados son... diversos, por decir lo menos. ¿Puede comprar al cierre y vender en la apertura hacerte ganar dinero? ¿Es sostenible? Compruébalo tú mismo, en los resultados del backtest a continuación. Recuerda que tal vez hay activos donde eso podría tener sentido. De todas formas, no pudimos cubrir todas las acciones y ETFs de EE.UU.
El backtest cubre 12.6 months de datos WMT • 10 Minutes (Walmart Inc.), desde June 28, 2024 hasta July 11, 2025.
La curva de equidad es el rendimiento de la estrategia a lo largo del tiempo. Debes compararla con el rendimiento de Compra y Mantén del activo. En general, quieres que el área azul esté bien por encima del área gris.
El drawdown es cuántas pérdidas (realizadas o no realizadas) ha tenido la estrategia si se compara con el pico más alto de equidad. Compara esto con el drawdown del activo para ver si tu estrategia hace un trabajo decente de aislarte de la volatilidad bajista. En general, el área roja debe estar bien dentro del área gris.
Entonces, hemos hecho backtest de Buy at close/Sell at open en 12.6 months de velas WMT • 10 Minutes. Este backtest resultó en 255 posiciones, con una tasa de ganancia promedio de 52% y una relación riesgo-recompensa de 1.26. Si asumes que la relación riesgo-recompensa de 1.26 se mantiene, necesitas una tasa de ganancia mínima de 44.3 para ser rentable. Así que vas bien hasta ahora. Las métricas clave son las siguientes:
Con esa exposición en mente, puedes ver que para 5% tiempo-en-mercado, obtienes 44.39% del potencial alcista del activo, y 15.97% del potencial bajista del activo.
All of the following: # Yankee 10min Date&Time, Custom TZ (UTC+3), Time = 1550
All of the following: # Bravo 10min Date&Time, Custom TZ (UTC+3), Time = 930
The data shows an interesting overnight holding strategy for WMT. While the win rate of 52% looks decent at first glance, I am not fully convinced by the overall metrics. The strategy significantly underperforms buy & hold (17.8% vs 40.1%), which is a red flag.
The low market exposure of 5.1% suggests we're only in the market for short periods, which matches the overnight holding concept. The Risk/Reward ratio of 1.26 is acceptable, but not impressive. What worries me more is the Sharpe ratio of 1.17 and especially the Sortino ratio of 0.54 - these numbers suggest the risk-adjusted returns are not particularly strong. The strategy does show good consistency with relatively balanced winning and losing streaks, and the drawdown of -3.8% is quite managable.
From pure mathematical perspective, the win rate leeway of 51.56% above the minimal required win rate is actually quite good. But I would be cautios to trade this live because of the significant underperformance versus buy & hold. Maybe we should look into optimizing the entry/exit times or adding additional filters to improve the edge. The beta of 0.13 shows low correlation to market movements which could be useful for portfolio diversification, but the absolute returns need improvement first.
Yo fam, these backtest results are pretty interesting! 🤔 While it didn't beat buy & hold (17.8% vs 40.1%), there's some juicy stuff to unpack here.
The strategy is literally only in the market 5.1% of the time, which is super clean for risk management! We're basically just playing the overnight moves from close to open, and still pulling decent numbers. The win rate at 52% with a 1.26 risk/reward ratio is actually pretty solid - nothing crazy but definitely workable. Plus that 5155.8% win rate leeway is straight fire! 🔥
What really caught my eye is the max drawdown of only -3.8% compared to the asset's -23.8%. That's some serious protection right there! And with 1.3 trades per day, it's not too demanding on your attention (or your Wendy's schedule lol). The Sharpe ratio at 1.17 isn't mind-blowing but it's respectable for such a simple strategy.
I'd definitely consider giving this a shot with proper position sizing. It's not gonna make us millionaires overnight, but it could be a nice steady grinder while keeping risk super tight. Just remember to save some dry powder for when real opportunities show up! 💎🙌
Madre mía, this strategy is a complete joke! You're basically trying to catch overnight moves in WMT, and doing it terribly. Let me tell you why you're being stupid.
First of all, your 17.8% net profit is pathetic compared to the 40.1% buy & hold return. You're underperforming the market by more than half! What's even more embarassing is that you're only exposed to the market 5.1% of the time - meaning you're taking all this risk for mediocre returns while sitting in cash most of the time like a coward.
The win rate is barely above a coin flip at 52%, which is absolutely terrible for such a specific timing strategy. You're essentially gambling here. Yes, your Risk/Reward is slightly positive at 1.26, but with such tiny average wins (0.45%) and losses (-0.36%), any transaction costs would kill your already weak profits.
The only thing not completely terrible here is the max drawdown of -3.8% compared to asset's -23.8%. But that's only because you're barely in the market! It's like saying you won't get wet if you never go swimming.
Either develop a real strategy or just buy and hold like everyone else. This mechanical timing nonsense is wasting everyone's time.
Total de Operaciones | 255 | Beneficio Neto | 17.8% | Beneficio Compra y Mantén | 40.1% |
Tasa de Ganancia | 52% | Ratio Riesgo/Recompensa | 1.26 | Máximo Drawdown | -3.8% |
Máximo Drawdown del Activo | -23.8% | Exposición | 5.1% | Promedio de Velas en Posición | 1.0 |
Ratio de Sharpe | 1.17 | Ratio de Sortino | 0.54 | Volatilidad Realizada | 8.37% |
Racha Máxima de Ganancia | 9 | Racha Promedio de Ganancia | 2.1 | Racha Máxima de Pérdida | 7 |
Racha Promedio de Pérdida | 1.9 | Promedio de Operaciones por Mes | 40.5 | Promedio de Operaciones por Día | 1.3 |
Desv. Est. del Retorno | 0.5 | Desv. Est. de la Pérdida | 0.3 | Desv. Est. de la Ganancia | 0.4 |
Expectativa | 0.2 | Beta | 0.13 |
common.strategy | exposición | rendimiento vs activo | drawdown vs activo | tasa de ganancia | recompensa/ riesgo |
---|---|---|---|---|---|
GLD • 10 Minutes | 5% | (-0.5%/43.7%) -0.01x | (-6.5%/-8.3%) 0.78x | 50 | 1.0 |
NVDA • 10 Minutes | 5% | (4.8%/32.9%) 0.15x | (-20.9%/-42.8%) 0.49x | 50 | 1.1 |
SPY • 10 Minutes | 5% | (1.0%/14.3%) 0.07x | (-4.8%/-20.7%) 0.23x | 51 | 1.0 |
TSLA • 10 Minutes | 5% | (24.5%/59.0%) 0.42x | (-12.6%/-55.3%) 0.23x | 50 | 1.2 |
WMT • 10 Minutes | 5% | (17.8%/40.1%) 0.44x | (-3.8%/-23.8%) 0.16x | 52 | 1.3 |