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