This strategy exploits a well-known myth, saying that if you buy at stock market session close and then jsut sell the next day at open, then you'll be doing well. You can see youself that the results are β¦ diverse, to say the least. Can buying at close and selling at open make you money? Is it sustainable? See that youself, in the backtest results below. Remember that maybe there are assets where that might make sense. We could not cover all the US stocks and ETFs, anyways
Backtest covers 12.6 months of WMT β’ 10 Minutes (Walmart Inc.) data, from June 28, 2024 to July 11, 2025.
Equity curve is the strategy's performance over time. You should compare it to the asset's Buy & Hold performance. In general, you want the blue area to be well above the gray area.
Drawdown is how much losses (realized or unrealized) the strategy has had if compared to the highest equity peak. Compare this to the asset's drawdown to see whether your strategy does a decent job of isolating you from downside volatility. In general, the red area must be well within the gray area.
So, we have backtested Buy at close/Sell at open on 12.6 months of WMT β’ 10 Minutes candles.Β This backtest resulted in 255 positions, with the average win rate of 52% and reward-risk ratio of 1.26.Β If you assume that 1.26 reward-to-risk ratio holds, you need a minimum win rate of 44.3 to be profitable. So you're looking good so far.Β The key metrics are as follows:
With that exposure in mind, you can tell that for 5% time-in-market, you get 44.39% of the asset upside potential, and 15.97% of the asset downside potential.
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 Trades | 255 | Net Profit | 17.8% | Buy & Hold Profit | 40.1% |
Win Rate | 52% | Reward/Risk Ratio | 1.26 | Max Drawdown | -3.8% |
Asset Max Drawdown | -23.8% | Exposure | 5.1% | Avg Candles in Position | 1.0 |
Sharpe Ratio | 1.17 | Sortino Ratio | 0.54 | Realized Volatility | 8.37% |
Max Winning Streak | 9 | Avg Winning Streak | 2.1 | Max Losing Streak | 7 |
Avg Losing Streak | 1.9 | Avg Trades per Month | 40.5 | Avg Trades per Day | 1.3 |
Return Std Dev | 0.5 | Loss Std Dev | 0.3 | Win Std Dev | 0.4 |
Expectancy | 0.2 | Beta | 0.13 |
backtest | exposure | peformance vs asset | drawdown vs asset | win% | reward/risk |
---|---|---|---|---|---|
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 |