Esta estrategia de breakout intradiario busca entrar una vez que el precio rompe por encima del mΓ‘ximo de la vela de apertura, en cualquier etapa del dΓa. Toma beneficios en el Rango de Apertura Alto + TamaΓ±o del Rango de Apertura, y tiene un stop loss en el Rango de Apertura Bajo. Nunca mantiene una posiciΓ³n durante la noche; siempre sale en la ΓΊltima vela del dΓa en caso de que no se cumplan otras condiciones de salida.
El backtest cubre 12.5 months de datos WMT β’ 10 Minutes (Walmart Inc.), desde July 23, 2024 hasta August 1, 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 opening candle range breakout en 12.5 months de velas WMT β’ 10 Minutes.Β Este backtest resultΓ³ en 156 posiciones, con una tasa de ganancia promedio de 63% y una relaciΓ³n riesgo-recompensa de 0.77.Β Si asumes que la relaciΓ³n riesgo-recompensa de 0.77 se mantiene, necesitas una tasa de ganancia mΓnima de 56.5 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 32% tiempo-en-mercado, obtienes 33.25% del potencial alcista del activo, y 38.24% del potencial bajista del activo.
All of the following: # Papa 10min Opening range JS, Entry Signal emerged
All of the following: # X-ray 10min Opening range JS, Exit Signal emerged
The backtest results show some interesting characteristics, but I am not completely convinced about its robustness. The strategy performs significantly under buy & hold (13.3% vs 40%), which is not optimal for a strategy that requires active management.
The positive aspects are the decent win rate of 63% and good risk metrics - Sharpe of 1.94 and relatively low correlation to the underlying asset (0.49). The strategy also shows consistent trading frequency with about 25 trades per month, which gives statistical significance to the results. The win rate leeway of 6.2% above the minimal required win rate provides some buffer for strategy deterioration.
However, I see some red flags. The risk/reward ratio of 0.77 means winners are smaller than losers, which is not ideal. This makes the strategy very dependent on maintaining the high win rate - if it drops just few percents, profitability could disappear completely. Also, the 9.1% maximum drawdown is quite high relative to the total return. I would suggest to either find ways to improve the reward/risk ratio through better exit rules, or look for additional filters to increase win rate further. But overall, while the strategy shows some promise, I would need to see better risk-adjusted returns before considering real money implementation.
Yo fam, this WMT strategy is looking pretty interesting! π The win rate at 63% is giving me some serious good vibes, especially with that 6243% leeway above the minimal win rate needed. That's like having a massive safety net! πͺ
The drawdown's only -9.1% which is way better than WMT's raw drawdown of -23.8%, so we're actually playing it safer than just holding the stock. Sure, the buy & hold did better overall (40% vs our 13.3%), but we're only exposed to the market 32% of the time! That means we're sleeping better at night while still making tendies. The Sharpe ratio of 1.94 is pretty sweet too - showing we're getting decent returns for the risk we're taking.
I'm particularly stoked about those 25 trades per month - that's enough action to keep it interesting but not so much that commissions would eat us alive at Wendy's pay rates π . The max winning streak of 8 trades is lit! But here's the thing that really gets me - even with an average win being smaller than an average loss (0.58% vs -0.76%), we're still coming out ahead because of that solid win rate. Might be worth trying to optimize those exits though to squeeze out a bit more juice! π What do you think about scaling out of positions instead of full exits? π€
Madre mia, what a mediocre strategy! Let me tell you why this is not worth your precious time.
First off, you're severely underperforming the market - 13.3% vs 40% buy & hold? That's embarassing! You're basically paying commisions to lose money compared to simply buying and holding. The market is literally saying "just buy me and go to beach" and you're here trying to be clever with your fancy breakout strategy.
The risk metrics look acceptable on surface - Sharpe of 1.94 isn't terrible. But considering your pathetic returns, who cares? It's like bragging about having very stable losses. Your market exposure is only 32% - you're missing most of the actual moves while trying to be smart with your entries.
The only somewhat decent thing here is your win rate at 63%, but even that is ruined by your horrible risk/reward ratio of 0.77. You're basically winning small and losing big - that's exactly opposite of what you should be doing! Your average win is 0.58% while average loss is -0.76%. Β‘QuΓ© desastre!
Save yourself the trouble and either find a better strategy or just buy and hold. This one is going nowhere fast.
Total de Operaciones | 156 | Beneficio Neto | 13.3% | Beneficio Compra y MantΓ©n | 40.0% |
Tasa de Ganancia | 63% | Ratio Riesgo/Recompensa | 0.77 | MΓ‘ximo Drawdown | -9.1% |
MΓ‘ximo Drawdown del Activo | -23.8% | ExposiciΓ³n | 32.2% | Promedio de Velas en PosiciΓ³n | 19.7 |
Ratio de Sharpe | 1.94 | Ratio de Sortino | 1.59 | Volatilidad Realizada | 10.08% |
Racha MΓ‘xima de Ganancia | 8 | Racha Promedio de Ganancia | 3.0 | Racha MΓ‘xima de PΓ©rdida | 4 |
Racha Promedio de PΓ©rdida | 1.8 | Promedio de Operaciones por Mes | 25.0 | Promedio de Operaciones por DΓa | 0.8 |
Desv. Est. del Retorno | 0.9 | Desv. Est. de la PΓ©rdida | 0.8 | Desv. Est. de la Ganancia | 0.5 |
Expectativa | 0.1 | Beta | 0.18 |
common.strategy | exposiciΓ³n | rendimiento vs activo | drawdown vs activo | tasa de ganancia | recompensa/ riesgo |
---|---|---|---|---|---|
BTCUSDT β’ 10 Minutes | 15% | (1.0%/4.2%) 0.24x | (-4.6%/-11.1%) 0.41x | 56 | 0.9 |
EURUSD β’ 10 Minutes | 22% | (0.8%/2.1%) 0.38x | (-1.7%/-3.6%) 0.47x | 87 | 0.2 |
GLD β’ 10 Minutes | 24% | (0.8%/39.2%) 0.02x | (-2.6%/-8.3%) 0.31x | 60 | 0.7 |
NVDA β’ 10 Minutes | 32% | (25.9%/41.7%) 0.62x | (-15.6%/-42.8%) 0.36x | 54 | 1.1 |
PLTR β’ 10 Minutes | 33% | (38.1%/439.0%) 0.09x | (-25.4%/-46.5%) 0.55x | 58 | 1.0 |
SPY β’ 10 Minutes | 22% | (16.4%/12.3%) 1.33x | (-5.5%/-20.7%) 0.27x | 68 | 0.8 |
TSLA β’ 10 Minutes | 29% | (-7.9%/23.0%) -0.34x | (-34.7%/-55.3%) 0.63x | 60 | 0.7 |
WMT β’ 10 Minutes | 32% | (13.3%/40.0%) 0.33x | (-9.1%/-23.8%) 0.38x | 63 | 0.8 |
BTCUSDT β’ 15 Minutes | 20% | (2.3%/33.4%) 0.07x | (-7.2%/-12.0%) 0.60x | 52 | 1.1 |
EURUSD β’ 15 Minutes | 27% | (3.9%/8.2%) 0.48x | (-1.4%/-4.3%) 0.33x | 83 | 0.3 |
GLD β’ 15 Minutes | 31% | (4.0%/66.4%) 0.06x | (-4.4%/-8.3%) 0.53x | 59 | 0.8 |
NVDA β’ 15 Minutes | 34% | (69.7%/211.7%) 0.33x | (-10.1%/-42.8%) 0.24x | 57 | 1.2 |
PLTR β’ 15 Minutes | 33% | (124.3%/846.9%) 0.15x | (-14.3%/-46.5%) 0.31x | 56 | 1.4 |
SPY β’ 15 Minutes | 24% | (13.3%/31.8%) 0.42x | (-4.4%/-21.1%) 0.21x | 62 | 0.8 |
TSLA β’ 15 Minutes | 27% | (16.3%/41.6%) 0.39x | (-20.0%/-55.6%) 0.36x | 56 | 0.9 |
WMT β’ 15 Minutes | 33% | (27.2%/83.0%) 0.33x | (-4.9%/-23.8%) 0.21x | 64 | 0.9 |
BTCUSDT β’ 30 Minutes | 21% | (-3.7%/14.3%) -0.26x | (-20.8%/-31.2%) 0.67x | 57 | 0.7 |
EURUSD β’ 30 Minutes | 35% | (-1.1%/5.7%) -0.19x | (-5.2%/-7.4%) 0.70x | 75 | 0.3 |
GLD β’ 30 Minutes | 34% | (11.1%/87.3%) 0.13x | (-6.9%/-11.8%) 0.58x | 55 | 1.0 |
NVDA β’ 30 Minutes | 34% | (58.6%/1089.5%) 0.05x | (-29.2%/-42.9%) 0.68x | 54 | 1.1 |
PLTR β’ 30 Minutes | 30% | (19.4%/1516.1%) 0.01x | (-41.6%/-48.4%) 0.86x | 54 | 0.9 |
SPY β’ 30 Minutes | 35% | (18.1%/65.6%) 0.28x | (-6.8%/-20.2%) 0.34x | 63 | 0.7 |
TSLA β’ 30 Minutes | 29% | (62.0%/33.8%) 1.83x | (-20.9%/-67.1%) 0.31x | 56 | 1.0 |
WMT β’ 30 Minutes | 32% | (32.0%/138.6%) 0.23x | (-6.5%/-23.8%) 0.27x | 58 | 1.1 |
BTCUSDT β’ 5 Minutes | 18% | (2.2%/5.7%) 0.39x | (-2.1%/-8.9%) 0.24x | 64 | 1.0 |
EURUSD β’ 5 Minutes | 23% | (0.7%/0.8%) 0.87x | (-0.7%/-3.7%) 0.19x | 88 | 0.2 |
GLD β’ 5 Minutes | 23% | (-3.0%/21.5%) -0.14x | (-7.3%/-8.0%) 0.91x | 61 | 0.5 |
NVDA β’ 5 Minutes | 29% | (14.6%/42.5%) 0.34x | (-9.3%/-38.8%) 0.24x | 61 | 0.9 |
PLTR β’ 5 Minutes | 26% | (18.3%/95.6%) 0.19x | (-14.7%/-46.6%) 0.32x | 55 | 1.1 |
SPY β’ 5 Minutes | 14% | (5.4%/3.4%) 1.59x | (-4.0%/-21.1%) 0.19x | 61 | 0.9 |
TSLA β’ 5 Minutes | 21% | (47.4%/-22.2%) -2.14x | (-7.1%/-48.5%) 0.15x | 68 | 0.9 |
WMT β’ 5 Minutes | 27% | (12.5%/1.2%) 10.42x | (-4.8%/-23.8%) 0.20x | 63 | 0.9 |