Strong Stock Screening & Overheating Alert
Identify the highest-inflow ETFs, extract their top constituents, and filter for stocks that are
momentum-strong, not crowded, and low reversal-risk using 10-day large-order flow data.
Output language: English (translate names where helpful).
ETF Universe (7 ETFs, 4 regions)
Step 1 — Identify Top-Inflow ETFs
Fetch marketChart (interval=1d, from = 10 calendar days ago, adjustment=dividend_adjusted) for
all 7 ETFs in parallel.
Compute per ETF:
ret5 = (latest close − bar[n-6] close) / bar[n-6] close × 100
vol_trend = (mean of last-5-session volumes − base-session volume) / base-session volume × 100
- If
vol_trend > +20% AND price is up → vol_char = Accumulation; if vol_trend > +20% AND price is down → vol_char = Distribution; otherwise Normal
Select ETFs where ret5 > 0%. Rank by ret5 descending. Proceed with the top 1–3 ETFs.
If no ETF has ret5 > 0%, take the least-negative ETF and flag it as "defensive" context only.
Step 2 — Pull Constituent Holdings
For each selected ETF run:
Extract .data, sort by weightPercentage descending, take top 25 rows.
Keep