Logo von Us Etf Flow

Us Etf Flow

OrganisationBeliebt
HKUDS
us-etf-flow

US ETF fund flow analysis, sector rotation breadth, and style factor flows — track institutional capital movement via ETF creation/redemption, sector breadth signals, and thematic momentum.

Übersicht

HerausgeberHKUDS
RepositoryVibe-Trading
Skill-Nameus-etf-flow
Sterne
35.2K
Forks
5.7K
Mitgelieferte Dateien
Nur Anweisungen
LizenzMIT
Links
  • Anweisungen in Markdown

    Eine SKILL.md-Datei, die das Modell bei Bedarf lädt. So werden nur dann Token verbraucht, wenn eine Anfrage tatsächlich dazu passt.

  • Funktioniert mit jedem LLM

    KI-Skills bestehen aus reinem Markdown, nicht aus anbieterspezifischem Code. Daher funktionieren sie mit GPT, Claude, Gemini, Grok oder einem lokalen Modell.

  • In sich abgeschlossen

    Alles, was das Modell braucht, steht in den Anweisungen — keine zusätzlichen Dateien zum Synchronisieren.

  • Open Source

    Von HKUDS auf GitHub veröffentlicht. Prüfen Sie vor der Installation die Quelldateien.

Installation

Installieren Sie den KI-Skill Us Etf Flow in TypingMind, um ihn mit jedem LLM zu nutzen, oder fügen Sie ihn einem anderen Agenten hinzu, der SKILL.md lesen kann.

1

In TypingMind installieren

TypingMind installiert einen Skill direkt aus seinem GitHub-Ordner. Dabei liest die App SKILL.md, bündelt die Ressourcendateien und speichert das Ergebnis lokal.

  1. Öffnen Sie die App und gehen Sie zu Plugins → Skills.
  2. Wählen Sie „Von GitHub installieren“.
  3. Fügen Sie die unten angegebene URL des Skill-Ordners ein und bestätigen Sie.
    https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/us-etf-flow
  4. Aktivieren Sie den Skill in jedem Chat, in dem er verfügbar sein soll.
Plugins → Skills → Skill hinzufügen → Über GitHub-URL. Fügen Sie dann die Ordner-URL ein und klicken Sie auf „Weiter“.
2

In einem anderen Agenten installieren

Jeder Agent, der das Agent-Skills-Format unterstützt, kann diesen Skill nutzen. Kopieren Sie den Ordner in das Skill-Verzeichnis des jeweiligen Agenten.

Claude Code — .claude/skills
git clone --depth 1 https://github.com/HKUDS/Vibe-Trading.git /tmp/Vibe-Trading
mkdir -p .claude/skills
cp -r /tmp/Vibe-Trading/agent/src/skills/us-etf-flow .claude/skills/us-etf-flow
Starten Sie Claude Code nach dem Kopieren neu, damit der neue Skill erkannt wird.

In TypingMind verwenden

Aktivieren Sie Us Etf Flow in einem beliebigen Chat in TypingMind. Den Rest übernimmt das Modell. Name und Beschreibung des Skills stehen im System-Prompt. Sobald eine Anfrage passt, lädt das Modell selbstständig die vollständigen Anweisungen — Sie müssen den Skill nie manuell aufrufen, und er verbraucht erst Token, wenn er tatsächlich genutzt wird.

Das Modell lädt Us Etf Flow automatisch, sobald eine passende Anfrage gestellt wird.

Funktioniert mit jedem KI-Modell

KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher ist Us Etf Flow nicht an das Modell gebunden, für das der Skill geschrieben wurde. Installieren Sie ihn einmal in TypingMind und nutzen Sie ihn mit GPT-5, Claude, Gemini, Grok, DeepSeek, Mistral, Llama oder einem selbst betriebenen lokalen Modell — alles mit Ihren eigenen API-Schlüsseln.

  • Wird nur bei Bedarf geladen

    Der System-Prompt enthält nur den Namen und die Beschreibung. Die Anweisungen werden bei der ersten passenden Anfrage geladen. Ein ungenutzter Skill verursacht daher keine Kosten.

  • Modell im laufenden Chat wechseln

    Da der Skill aus Anweisungen statt aus Code besteht, funktioniert er auch nach einem Modellwechsel — das nächste Modell liest dieselbe SKILL.md-Datei.

Skill-Anweisungen

Dies ist der Inhalt von SKILL.md, den das Modell lädt. Lesen Sie ihn vor der Installation — ein Skill besteht aus Anweisungen, denen Ihr Modell folgt.

US ETF Flow & Sector Breadth Analysis

Overview

Track capital flows through US ETFs to identify institutional positioning, sector rotation trends, and risk appetite shifts. ETF flows are a real-time proxy for institutional capital allocation — unlike 13F filings (45-day lag), ETF creation/redemption data is available daily.

Core Concepts

1. ETF Flow Mechanics

Creation / Redemption process:

  • Inflows (creation): Authorized Participants (APs) deliver baskets of underlying securities to the ETF issuer → receive new ETF shares → sell on exchange. This happens when ETF trades at a premium to NAV.
  • Outflows (redemption): APs buy ETF shares on exchange → redeem with issuer for underlying securities → sell securities. This happens when ETF trades at a discount to NAV.
  • Signal interpretation: sustained large inflows = institutional demand; sustained large outflows = institutional liquidation.

Key distinction:

  • ETF price movement ≠ ETF flow. Price can rise on low volume (momentum). Flows require actual capital commitment.
  • Flows are a quantity signal (how much money is moving), not a price signal.

2. Major ETF Flow Categories

Broad Market ETFs
ETFTracking IndexAUMFlow Signal
SPYS&P 500~$500BBroadest equity risk appetite
IVVS&P 500~$400BLong-term institutional allocation
VOOS&P 500~$400BRetail + advisor allocation
QQQNasdaq 100~$250BTech / growth appetite
IWMRussell 2000~$60BSmall-cap risk appetite
DIADow Jones 30~$30BValue / blue-chip sentiment

Interpretation rules:

python
# Broad market flow signals
if spy_flow > 0 and iwm_flow > 0:
    signal = "risk_on"  # Both large and small cap getting inflows
elif spy_flow > 0 and iwm_flow < 0:
    signal = "quality_flight"  # Money rotating to large-cap safety
elif spy_flow < 0 and iwm_flow < 0:
    signal = "risk_off"  # Broad equity outflows
elif spy_flow < 0 and iwm_flow > 0:
    signal = "risk_seeking"  # Rotation from large to small (rare, usually early cycle)
Sector ETFs (SPDR Select Sector)
ETFSectorEconomic SensitivityCycle Phase
XLKTechnologyGrowth / late cycleExpansion
XLFFinancialsRate sensitiveEarly recovery
XLEEnergyCommodity linkedLate cycle / inflation
XLVHealthcareDefensiveRecession
XLYConsumer DiscretionaryCyclicalRecovery
XLPConsumer StaplesDefensiveRecession
XLIIndustrialsCyclicalEarly expansion
XLUUtilitiesDefensive / rate sensitiveLate cycle / recession
XLBMaterialsCommodity linkedEarly cycle
XLREReal EstateRate sensitiveRate-cut cycle
XLCCommunication ServicesGrowth (META, GOOGL)Expansion
Style & Factor ETFs
ETFFactorSignal
IVW / SPYGS&P 500 GrowthGrowth appetite
IVE / SPYVS&P 500 ValueValue rotation
MTUMMSCI USA MomentumTrend following
QUALMSCI USA QualityQuality flight
USMV / SPLVMin VolatilityDefensive positioning
SIZEMSCI USA SizeSmall-cap factor
Fixed Income ETFs
ETFSegmentSignal
TLT20+ Year TreasuryDuration / rate expectations
IEF7-10 Year TreasuryIntermediate rate view
SHY1-3 Year TreasuryCash proxy / safe haven
LQDInvestment Grade CorpCredit appetite
HYG / JNKHigh Yield CorpRisk appetite / credit cycle
TIPTIPSInflation expectations
EMBEM Sovereign DebtEM risk appetite

3. Sector Rotation Signals

Sector breadth analysis:

python
# Sector breadth = number of sectors with positive flows / total sectors
sector_flows = {
    "XLK": +500,  # $500M inflow
    "XLF": +200,
    "XLE": -100,
    "XLV": +50,
    "XLY": -300,
    "XLP": +100,
    "XLI": +150,
    "XLU": -50,
    "XLB": +80,
    "XLRE": -200,
    "XLC": +300,
}

positive_sectors = sum(1 for v in sector_flows.values() if v > 0)
breadth = positive_sectors / len(sector_flows)

# Interpretation
# breadth > 0.7: broad-based inflows → healthy bull market
# breadth 0.4-0.7: selective rotation → stock/sector picker's market
# breadth < 0.4: broad outflows → risk-off environment

Cyclical vs Defensive ratio:

python
cyclical = ["XLK", "XLY", "XLI", "XLF", "XLB"]
defensive = ["XLV", "XLP", "XLU", "XLRE"]

cyclical_flow = sum(sector_flows[s] for s in cyclical)
defensive_flow = sum(sector_flows[s] for s in defensive)

ratio = cyclical_flow / (cyclical_flow + defensive_flow + 1e-10)

# ratio > 0.65: strong risk-on, cyclical leadership
# ratio 0.4-0.65: balanced
# ratio < 0.4: defensive rotation, risk-off

4. Thematic ETF Flows

Growth / innovation themes:

ThemeKey ETFsWhat It Tracks
AI / SemiconductorsSMH, SOXX, BOTZAI capex cycle
Clean EnergyICLN, TAN, QCLNEnergy transition spend
BiotechXBI, IBBPharma pipeline / M&A cycle
CybersecurityCIBR, HACKSecurity spending cycle
China InternetKWEB, FXIChina tech sentiment
IndiaINDA, SMINIndia growth allocation
Emerging MarketsEEM, VWOEM risk appetite
Gold MinersGDX, GDXJGold price leverage play
BitcoinIBIT, FBTCCrypto institutional adoption

Thematic flow interpretation:

  • Sustained 4-week+ inflows into a theme = institutional conviction, not just hot money
  • Sudden large outflows from a theme that was trending = crowded trade unwind risk
  • Divergence between thematic ETF flow and underlying asset price = potential inflection

5. Flow-Based Trading Signals

Signal construction:

python
def etf_flow_signal(ticker, lookback_days=20):
    """
    Generate trading signal from ETF flow data.
    """
    # Cumulative flow over lookback period
    cum_flow = sum(daily_flows[ticker][-lookback_days:])

    # Flow as % of AUM (normalized)
    flow_pct = cum_flow / aum[ticker]

    # Flow momentum: recent 5-day vs prior 15-day
    recent = sum(daily_flows[ticker][-5:])
    prior = sum(daily_flows[ticker][-20:-5])
    momentum = recent - prior

    # Signal
    if flow_pct > 0.02 and momentum > 0:
        return "strong_inflow"   # Sustained and accelerating
    elif flow_pct > 0.01:
        return "mild_inflow"     # Positive but not accelerating
    elif flow_pct < -0.02 and momentum < 0:
        return "strong_outflow"  # Sustained and accelerating outflows
    elif flow_pct < -0.01:
        return "mild_outflow"
    else:
        return "neutral"

Contrarian vs momentum flow signals:

  • Momentum (follow the flow): works best for broad market ETFs (SPY, QQQ) during trending markets
  • Contrarian (fade extreme flows): works best for sector/thematic ETFs at extreme levels
  • Rule of thumb: 3-standard-deviation flow events in sector ETFs tend to mean-revert within 2-4 weeks

Data Access

Via yfinance

python
import yfinance as yf

# ETF price and volume data
etf = yf.download("SPY", start="2025-01-01", end="2026-03-30", progress=False)

# ETF info (AUM, expense ratio, holdings)
spy = yf.Ticker("SPY")
info = spy.info
print(f"AUM: {info.get('totalAssets')}")
print(f"Expense ratio: {info.get('annualReportExpenseRatio')}")

# Sector weights (for sector ETFs)
# Not directly available via yfinance; use web scraping or manual input

Flow Data Sources

SourceAccessCoverageLatency
ETF.comFree (web)US ETFsT+1
Bloomberg TerminalPaidGlobal ETFsReal-time
ICI (Investment Company Institute)Free (weekly)US mutual fund + ETF aggregateT+7
ETF Database (etfdb.com)Free (web)US ETFsT+1
VettaFiFree (web)US ETFsT+1

Output Format

## ETF Flow Analysis — [Date Range]

### Broad Market Flows
- **SPY**: [+/- $X.XB over N days] — [risk-on / risk-off signal]
- **QQQ**: [+/- $X.XB] — [tech appetite]
- **IWM**: [+/- $X.XB] — [small-cap sentiment]
- **Overall**: [risk-on / selective / risk-off]

### Sector Rotation
- **Inflow leaders**: [sector1 +$XM, sector2 +$XM]
- **Outflow leaders**: [sector1 -$XM, sector2 -$XM]
- **Breadth**: X/11 sectors with positive flows
- **Cyclical/Defensive ratio**: X.XX [risk-on / balanced / defensive]

### Style Factor Flows
- **Growth vs Value**: [growth leading / value leading / balanced]
- **Momentum**: [inflow / outflow]
- **Quality/MinVol**: [inflow = defensive, outflow = risk-on]

### Fixed Income Flows
- **Duration signal**: TLT [inflow/outflow] → [rate cut expectations / rate concern]
- **Credit signal**: HYG [inflow/outflow] → [credit cycle expansion / contraction]
- **Inflation signal**: TIP [inflow/outflow] → [rising / falling inflation expectations]

### Thematic Highlights
- [Theme1 ETF]: [flow trend and implication]
- [Theme2 ETF]: [flow trend and implication]

### Composite Signal
| Dimension | Signal | Basis |
|-----------|--------|-------|
| Risk appetite | [on/off] | SPY+QQQ flows, C/D ratio |
| Sector rotation | [early/mid/late cycle] | Sector flow pattern |
| Rate expectations | [cuts/hold/hikes] | TLT + TIP flows |

### Investment Implication
- **Positioning**: [overweight equities / neutral / underweight]
- **Sector tilts**: [overweight X, underweight Y]
- **Risk level**: [high / moderate / low]

Notes

  • ETF flows are a proxy for institutional behavior, not a standalone signal; combine with price action and fundamentals
  • Large single-day flows can be rebalancing-driven (quarter-end, index reconstitution) rather than directional
  • Options-related ETF activity (hedging via SPY puts) can distort flow signals
  • International ETF flows (EEM, FXI, INDA) are useful for global macro positioning
  • This framework is for research purposes only and does not constitute investment advice

Häufig gestellte Fragen

Was macht der KI-Skill Us Etf Flow?

US ETF fund flow analysis, sector rotation breadth, and style factor flows — track institutional capital movement via ETF creation/redemption, sector breadth signals, and thematic momentum.

Warum Us Etf Flow in TypingMind nutzen?

Weil Sie den Skill einmal installieren und mit jedem Modell verwenden können. Us Etf Flow besteht aus reinem Markdown statt aus anbieterspezifischem Code. So funktioniert derselbe Skill mit GPT-5, Claude, Gemini, Grok oder einem lokalen Modell – und Sie können das Modell mitten im Chat wechseln, ohne dass der Skill seine Funktion verliert. TypingMind verwendet Ihre eigenen API-Schlüssel. Sie bezahlen die Anbieter daher direkt statt über ein Abonnement pro Nutzerplatz, und Ihre Skills und Chats bleiben in Ihrem eigenen Speicher.

Wie installiere ich Us Etf Flow in TypingMind?

Öffnen Sie in TypingMind Plugins → Skills → Von GitHub installieren und fügen Sie https://github.com/HKUDS/Vibe-Trading/tree/main/agent/src/skills/us-etf-flow ein. TypingMind liest die Datei SKILL.md und installiert den Skill, den Sie für jeden Chat einzeln aktivieren können.

Welche KI-Modelle können Us Etf Flow nutzen?

Jedes Modell, das Sie mit TypingMind verbinden. KI-Skills bestehen aus reinen Markdown-Anweisungen statt aus anbieterspezifischem Code. Daher können GPT, Claude, Gemini, Grok und lokale Modelle diesen Skill laden, wenn eine Anfrage dazu passt.

Wie viele KI-Modelle kann ich mit Us Etf Flow verwenden?

So viele Sie möchten. In TypingMind können Sie Us Etf Flow mit jedem Modell verwenden, das Skills unterstützt, etwa mit GPT, Claude, Gemini, Grok, DeepSeek, Mistral oder Llama. Dabei nutzen Sie Ihre eigenen API-Schlüssel.

Ist der KI-Skill Us Etf Flow kostenlos?

Ja. Der Skill wird von HKUDS auf GitHub unter der Lizenz MIT veröffentlicht. Sie bezahlen nur Ihren eigenen KI-Anbieter für die verwendeten Token.

Was sind KI-Skills?

Ein KI-Skill ist ein wiederverwendbares Anweisungspaket, das einem KI-Modell vermittelt, wie es eine bestimmte Aufgabe erledigt. Es folgt dem offenen Format Agent Skills: Die Datei SKILL.md enthält den Namen und die Beschreibung des Skills. Hinzu kommen bei Bedarf Skripte, Vorlagen oder Referenzdateien für das Modell. Das Modell liest die Anweisungen nur, wenn Ihre Anfrage zum Skill passt. Ein installierter Skill verursacht daher erst Kosten, wenn er verwendet wird.

Wie unterscheiden sich KI-Skills von Plugins oder MCP-Servern?

Ein Plugin oder MCP-Server stellt einem Modell neue aufrufbare Tools bereit – Code, der auf einem System ausgeführt wird und ein Ergebnis zurückgibt. Ein KI-Skill vermittelt dem Modell stattdessen Wissen und Vorgehensweisen: wie es eine Aufgabe angeht, welche Schritte es befolgt und wie eine gute Ausgabe aussieht. Skills bestehen aus reinem Markdown und kommen daher ohne Server, API-Schlüssel und Laufzeitumgebung aus. Sie funktionieren mit jedem Modell.

Alle anzeigen

Jetzt eigenen KI-Arbeitsbereich einrichten

Abonnieren Sie unseren Newsletter und erfahren Sie mehr über neue Funktionen und kommende Gewinnspiele 👇