CommonQuant
CommonQuant.ai Research
AI-generated trading idea · BULLISH · COST, PG, QQQ, WMT

Shoppers keep spending and inflation sends them to Walmart — long the discount giant as tech burns

September retail sales beat expectations even though higher gasoline prices were a big part of the story, meaning consumers keep spending at value retailers when costs rise. Deutsche Bank explicitly upgraded Walmart on the logic that inflation pushes more customers toward low-price stores. In an environment where the AI trade is collapsing and money is rotating into defensives, Walmart is one of the few large caps that benefits from the very inflation that is hurting everything else.

Idea

September retail sales beat expectations even though higher gasoline prices were a big part of the story, meaning consumers keep spending at value retailers when costs rise. Deutsche Bank explicitly upgraded Walmart on the logic that inflation pushes more customers toward low-price stores. In an environment where the AI trade is collapsing and money is rotating into defensives, Walmart is one of the few large caps that benefits from the very inflation that is hurting everything else.

Advanced Analysis — institutional-depth research report

Verdict: solid rotation thesis, but wait for the pullback to arm

The rotation thesis has real support: September retail sales beat even with gasoline inflation in the mix (per the Reuters report of October 15), Deutsche Bank upgraded Walmart on the inflation-to-value-retailers logic (per CNBC), and Costco's fiscal year showed revenue up 10.1% to $303.2B with free cash flow up 19.7% to $9.4B. The strongest point against is the ownership tape: the provisional September 30, 2026 filing shows net open-market insider selling of roughly $1.06B at Walmart and $4.6M at Costco — management stepping back just as the thesis argues defensives are becoming the destination. The trade itself is only half-armed: QQQ's entry conditions are all met at $728 versus the $728.47 EMA, but WMT, COST and PG need pullbacks of roughly 8.2%, 4.3% and 5.9% respectively, with RSIs far above the 45 ceiling. The 60-month backtest shows a 39.4% return on just five trades with a 6.1% drawdown — a thin sample filled on daily bars — so it argues for patience rather than urgency. A fresh filing showing insiders turning to net buying, or any of the three extended legs arming at its EMA and RSI thresholds, would change the call.

Conviction score breakdownComposite score computed by the server from the applicable evidence-tier dimensions.
MeasureValue
Thesis support70/100
Trade readiness35/100
Risk quality55/100
Backtest evidence40/100
Fundamentals trend68/100
Score54/100
Composite Score54/100
Evidence Tierbacktested
Decision scenariosBull, base, and bear cases synthesized from the cited evidence tier. Likelihoods are rounded evidence-weighted judgments, not statistically calibrated forecasts.
MeasureValue
Evidence Tierbacktested

Trade now

One of the four legs is live today: **QQQ**. Its close of $728 sits just below the 50-day EMA at $728.47, its 14-day RSI reads 32.6 — comfortably under the required 45 ceiling — MACD momentum is positive at 4.3, and the stochastic crossover has just printed. Every entry condition for the QQQ leg is met, so this is the name where the strategy acts today. Risk framing for QQQ from the strategy's own exit stack: the hard profit gate is +4.6% from entry and the hard stop is −2.3%, with a trailing structural stop below the second support level at $710. That stop sits about 2.5% below the current close, against roughly 4.6% of upside to the take-profit gate — about 2-to-1 effective reward-to-risk. Positions are capped at 25% of the book per name, sized so a full stop-out costs about 2.3% of equity. The other three legs are **waiting, not broken**. WMT closed at $118.84, about $9.00 (8.2%) above its $109.85 EMA trigger, with RSI at 83.8 — nowhere near the required level of 45 or below. COST closed at $978.01 versus its $936 EMA trigger (a $42 gap) with RSI at 78.1, and PG closed at $157.08 versus a $147.82 EMA trigger with RSI at 77.4. For those three, "wait" means literally that: do not pre-position. Set alerts at the EMA and RSI thresholds and let price come to the setup. The completed backtest on the WMT leg — the strategy's longest-tested pair — produced a 39.4% return over five years with a 6.1% worst drawdown, which is the evidence base for staying patient rather than chasing extended names. One note on scope: the parameter-sensitivity evaluation ran out of its time budget, so no nearby-parameter robustness check was completed — trade the published rules as written.

COST price and trigger mapUses the idea timeframe and keeps price levels on the price axis.
MeasureValue
TickerCOST
Timeframe1d
PG price and trigger mapUses the idea timeframe and keeps price levels on the price axis.
MeasureValue
TickerPG
Timeframe1d
QQQ price and trigger mapUses the idea timeframe and keeps price levels on the price axis.
MeasureValue
TickerQQQ
Timeframe1d

A defensive rotation with real cash flow behind it

The macro catalyst is real and current: per the Reuters report on the September retail sales print (October 15), sales beat expectations even with higher gasoline prices inflating the totals, and per the CNBC piece the same day, Deutsche Bank upgraded Walmart specifically because inflation pushes more customers toward low-price stores. The fundamentals support that rotation thesis. Walmart's most recent quarter (ended July 31, 2026) showed revenue of $186.1B, up 5.9% sequentially, with operating cash flow jumping to $15.0B from $4.7B and free cash flow swinging from negative $1.9B to positive $7.5B. Costco's full fiscal year (ended August 30, 2026) posted revenue of $303.2B, up 10.1% year over year, with free cash flow up 19.7% to $9.4B — placing it in the 96th percentile of its 141-peer consumer staples cohort. The evidence tier here is a completed backtest, so the trade statistics can be read directly. Over the 60-month daily window the strategy returned 39.4% with a maximum drawdown of 6.1%, and the shorter 24-month window returned 14.9% with a 4.6% drawdown and a two-of-three win rate. For a defensive-value idea, the shallow drawdown profile is arguably as important as the return — this is the behavior you want when the stated environment is money rotating out of the AI trade. Cash quality is the strongest leg of the bull case across all three names. All three staples sit at the top of free cash flow versus consumer-staples peers (Walmart at the 96th percentile, Costco at 96th, Procter & Gamble at 95th). Costco's operating cash flow grew 18.6% year over year to $15.8B, and the dividend record is consistent — with the latest payment of $1.47 per share on July 24, 2026. Walmart's debt-to-equity has also been falling, from 0.43 in the April quarter to 0.41 in July, and its share count continues to shrink. The basket construction fits the thesis: three defensive large caps plus QQQ as the growth reference gives the strategy a natural long-defensive tilt exactly when the idea argues growth is rolling over. Costco's 10.1% revenue growth ranks in the top third of its sector, and its 25.8% return on equity sits in the 88th percentile — the category leader is compounding while the rotation is happening.

COST Free cash flowFree cash flow trend from CommonQuant fundamentals/XBRL data; +214.3% from first to latest point.
MeasureValue
2008-08-31$607000000
2008-11-23$-390000000
2009-02-15$569000000
2009-08-30$842000000
2009-11-22$438000000
2010-02-14$416000000
2010-05-09$671000000
2010-08-29$1725000000
2010-11-21$414000000
2011-02-13$492000000
2011-05-08$533000000
2011-08-28$1908000000
Latest Value$1908000000
Change Pct$214.332784184514
TickerCOST
Timeframereported periods
WMT Free cash flowFree cash flow trend from CommonQuant fundamentals/XBRL data; +91.8% from first to latest point.
MeasureValue
2008-01-31$5705000000
2008-10-31$-2838000000
2009-01-31$11648000000
2009-04-30$964000000
2009-07-31$3187000000
2009-10-31$-596000000
2010-01-31$14065000000
2010-01-31$10510000000
2010-04-30$-1590000000
2010-07-31$6055000000
2010-10-31$-1519000000
2011-01-31$10944000000
Latest Value$10944000000
Change Pct$91.83172655565292
TickerWMT
Timeframereported periods
COST sector percentile checkRanks COST against 141 companies in its sector using CommonQuant fundamentals.
MeasureValue
Free cash flow96.45390070921984th percentile
Return on equity88.11881188118812th percentile
Gross margin19.230769230769234th percentile
Revenue growth (YoY)69.93464052287581th percentile
TickerCOST
SectorConsumer Staples
Peer Count141

Thin sample, insider selling, and a margin squeeze nobody's pricing

Start with the evidence itself, because the backtest is honest but thin. The headline 39.4% return over 60 months came from just five trades with a 40% win rate — two winners carried the entire result.…

Backtested stress-test readShows the backtested sample behind the bear-case risk discussion.
MeasureValue
Return39.44207645264773%
Win rate40%
Max drawdown6.087886111483875%
Trades5 count
Timeframe60 months
PG Free cash flowFree cash flow trend from CommonQuant fundamentals/XBRL data; -78.2% from first to latest point.
MeasureValue
2007-06-30$10465000000
2008-06-30$11962000000
2008-09-30$2745000000
2008-12-31$1474000000
2009-03-31$3546000000
2009-06-30$11745000000
2009-06-30$3980000000
2009-09-30$4003000000
2009-12-31$2572000000
2010-03-31$4204000000
2010-06-30$13064000000
2010-06-30$2285000000
Latest Value$2285000000
Change Pct$-78.16531294792163
TickerPG
Timeframereported periods
COST Return on equityReturn on equity trend from CommonQuant fundamentals/XBRL data; -76.7% from first to latest point.
MeasureValue
2008-08-310.13834375673927107%
2009-08-300.10833998403830808%
2009-11-220.025712904784920252%
2010-02-140.028072481457140173%
2010-05-090.0281405186683833%
2010-08-290.12032505309816234%
2010-11-210.02785963032413609%
2011-02-130.030044030044030043%
2011-05-080.027083507481400985%
2011-08-280.12181303116147307%
2011-11-200.026870434125451342%
2012-02-120.03221059516023545%
Latest Value0.03221059516023545%
Change Pct-76.7169867875274%
TickerCOST
Timeframereported periods

Scores

  • Conviction score breakdown: 54
  • Thesis support: 70
  • Trade readiness: 35
  • Risk quality: 55
  • Backtest evidence: 40
  • Fundamentals trend: 68

Watch items

  • QQQ — Entry stack (price vs 50-day EMA, RSI, MACD, stochastic)
  • QQQ — Stop level
  • WMT — Price vs 50-day EMA and RSI (14)
  • COST — Price vs 50-day EMA and RSI (14)
  • PG — Price vs 50-day EMA and RSI (14)
  • WMT — Insider net open-market activity
  • COST — Quarterly ex-dividend date ($1.47 per share)
  • COST — Free cash flow trajectory
Unlock full analysis

Key details

COSTPGQQQWMT1d#canonical-demand#cluster-version:1#direction:bullish#entity-kind:instrument#entity:COST#entity:PG#entity:QQQ#entity:WMT#horizon:unspecified#intent:research#symbol:COST#symbol:PG#symbol:QQQ#symbol:WMT

Community

0
Upvotes
5
Views
0
Copies
0
Cosigns

News sources

Related

CommonQuant logoCommonQuant.aiA Replikate Business
Loading…