Retail with Recession Condition
Today’s Change (Mar 17, 2026)
—
A symphony is an automated trading strategy — Learn more about symphonies here
About
Daily-rebalanced, three-retail-stock portfolio that uses a SPY trend rule (50-day vs 200-day moving averages) to drive allocation, overweighting Walmart and Costco with a smaller Target stake during recession signals.
- You hold only stocks (no bonds or cash implied here beyond the generic framework).
- Rebalance happens daily, updating weights based on a simple market-tailoring rule.
- The strategy centers on three retailers: Walmart (WMT), Costco (COST), and Target (TGT).
- A trend signal uses moving averages of SPY (the broad market): the 50-day average vs the 200-day average. A moving-average comparison is a way to judge whether the market is in an uptrend or downtrend.
- If the short-term SPY signal is weaker than the long-term signal (the 50-day MA is less than the 200-day MA), the code triggers an allocation path indicated in the else-branch, which assigns exact weights to WMT, COST, and TGT: WMT 61.64%, COST 34.91%, TGT 3.45% (summing to 100%).
- The exact “then” branch is not shown in the snippet, but the presence of the condition means there is an alternate allocation when the condition is true.
- Conceptual takeaway: when recession-style signals appear, the strategy leans heavily into large, staple retailers (WMT and COST) with a smaller tilt to Target, aiming for stability in weak markets. The system is rule-driven, not discretionary.
Disciplined, recession-aware exposure to WMT, COST, and TGT. Low market beta (~0.08) and solid OOS risk-adjusted performance (Sharpe ~0.96, Calmar ~2.14). Daily rebalancing adds regime-tuning diversification vs S&P 500.
1M
3M
6M
YTD
1Y
3Y
Max
Performance
Compared to selected benchmarks
| Alpha | Beta | R2 | R | |
|---|---|---|---|---|
| 0.09 | 0.68 | 0.3 | 0.55 |
Performance Metrics
| Cumulative Return | Annualized Return | Trailing 1M Return | Trailing 3M Return | Sharpe Ratio | |
|---|---|---|---|---|---|
| 2,475.01% | 10.58% | -1.77% | 0.2% | 0.63 | |
| 9,525.06% | 15.19% | -2.32% | 11.25% | 0.73 |
Initial Investment
$10,000.00
Final Value
$962,506.33Regulatory Fees
$222.57
Total Slippage
$843.31
Invest in this strategy
OOS Start Date
May 3, 2025
Trading Setting
Daily
Type
Stocks
Category
Tactical equity allocation, retail stocks, moving-average condition, recession hedging
Tickers in this symphonyThis symphony trades 4 assets in total
Ticker
Type
COST
Costco Wholesale Corp
Stocks
SPY
State Street SPDR S&P 500 ETF Trust
Stocks
TGT
Target Corporation
Stocks
WMT
Walmart Inc. Common Stock
Stocks