Global Capital Flow Intelligence System

Global capital flow intelligence infer capital rotation across regions sectors factors asset classes from ETF prices volumes. Regime detection relative strength flow scores

Executive Summary

Financial markets are driven by continuous capital movement between countries, sectors, factors, asset classes, and risk regimes. Institutional investors constantly reallocate in response to growth, inflation, monetary policy, valuations, and sentiment — yet direct fund-flow datasets (EPFR, Bloomberg, Morningstar) are expensive and inaccessible to most independent researchers.

This project constructs a Global Capital Flow Intelligence System using only Yahoo Finance ETF data. The central hypothesis is that capital flows leave measurable footprints in relative performance, volume participation, volatility structure, correlation topology, and leadership persistence. The pipeline transforms adjusted prices and volumes into a composite Capital Flow Score , ranks assets within eight analytical layers, classifies macro regimes, builds correlation networks, and backtests flow-informed portfolios against static benchmarks.

The framework is descriptive and hypothesis-driven: it does not claim to observe actual fund flows, but infers allocation *preferences* from market-generated information across 60+ liquid ETF proxies spanning 2010–present.

Research Motivation

The core question is: where is capital moving? Markets are driven by relative attractiveness, not absolute returns alone. Capital rotates between countries, developed and emerging markets, growth and value, equities and bonds, risk assets and defensives, sectors, currencies, and inflation-sensitive assets.

This study asks whether those rotations can be inferred when only public prices and volumes are available. Four research objectives structure the empirical work:

  • Geographic allocation — US, Europe, Japan, China, India, EM, frontier proxies.
  • Cross-asset allocation — equities, government bonds, credit, commodities, currencies.
  • Sector and factor rotation — GICS sectors and style ETFs (momentum, value, quality, low vol, growth, dividend).
  • Regime-conditional behaviour — whether flow signals and leadership differ across risk-on, risk-off, inflationary, deflationary, recovery, and crisis states.

Conceptual Framework

Sustained capital inflows tend to produce strong relative performance, persistent trends, rising participation, and improving breadth. Outflows tend to produce underperformance, volatility expansion, drawdowns, and narrowing leadership.

The system does not rely on a single indicator. Each asset at date receives a vector of engineered features spanning performance, participation, stability, and persistence. These are standardised cross-sectionally and combined into a scalar flow score used for ranking, heatmaps, and portfolio construction.

Data Preprocessing

Daily adjusted close prices and volumes are downloaded via yfinance for 60+ ETFs. Corporate actions are handled through Yahoo adjusted closes. The panel is aligned to a common calendar with limited forward-fill (five days) for missing quotes.

Daily simple returns:

Monthly returns from month-end prices:

Multi-horizon trailing returns over trading days:

Implemented horizons include days for tactical, intermediate, and strategic flow inference. Assets require at least 36 months of history to enter the scoring universe.

Feature Engineering

Realised volatility (21-day, annualised):

Relative volume (participation proxy):

Current drawdown from the running maximum:

Moving-average trend (persistence proxy):

Risk-adjusted momentum:

Relative return vs benchmark (SPY):

Market breadth by group :

Composite Capital Flow Score

For each rebalance date , raw features are aggregated into four dimension scores, then cross-sectionally z-scored among eligible assets :

Dimension inputs (matching the Python implementation):

  • Performance : mean of .
  • Participation : .
  • Stability : mean of , , .
  • Persistence : mean of and positive-month streak / 6.

The composite Capital Flow Score is a weighted sum:

Assets are ranked by . Signal thresholds:

Relative Strength and Cross-Asset Pairs

Capital allocation is inherently relative. For assets and , the -month relative strength is:

The dashboard reports canonical pairs: equities vs bonds (SPY–TLT), growth vs utilities (QQQ–XLU), EM vs US (VWO–SPY), India vs China (INDA–FXI), credit vs Treasuries (HYG–TLT), gold vs equities (GLD–SPY), momentum vs value (MTUM–VLUE), energy vs technology (XLE–XLK), Europe vs US (FEZ–SPY), and USD vs EM FX (UUP–CEW).

Within each analytical layer, 12-month relative strength vs SPY ranks regional, sector, and factor proxies.

Eight Analytical Layers

Each layer defines a universe of ETF proxies. Layer-level rankings use the same composite score restricted to :

1. Global Equity — US (SPY, QQQ, RSP, IWM), Europe (FEZ, EWU, EWG, EWQ), Asia (EWJ, FXI, KWEB, INDA, EWY, EWT), EM/frontier (VWO, ILF, EWZ, EWW, FM). 2. Fixed Income — duration (TLT, IEF, SHY), TIPS (TIP), credit (LQD, HYG, EMB), floaters/muni (FLOT, MUB). 3. Commodity — GLD, SLV, USO, UNG, CPER, DBA, DBC, URA. 4. Currency — UUP, FXE, FXY, FXF, FXA, FXC, CEW. 5. Sector — XLK, XLF, XLV, XLI, XLE, XLU, XLB, XLRE, XLP, XLY, XLC. 6. Factor — MTUM, VLUE, QUAL, USMV, IVW, SCHD, IWM. 7. Risk Sentiment — SPY, QQQ, IWM, GLD, TLT, VIX. 8. Safe Haven — GLD, TLT, UUP, FXY, FXF.

Regime Detection

At each month-end , continuous regime scores are computed from market proxies and clipped to :

Discrete regime labels follow a priority rule: crisis if or 3M SPY return ; risk-off if and SPY ; inflationary if and energy return ; deflationary if bonds rally while equities and utilities are defensive; recovery if and SPY 3M ; else risk-on if , otherwise risk-off.

Correlation and Network Analysis

Rolling 60-day Pearson correlations define a dynamic network. An edge is retained when ; strong links use for degree centrality:

Average market correlation (diversification thermometer):

Leadership analysis tests whether lagged returns of a leader asset predict follower returns, e.g. credit vs equities:

Portfolio Construction and Backtesting

Flow-informed portfolios rebalance monthly. At date , the flow rotation strategy selects the top quintile:

Portfolio return with equal weights:

Analogous regional, sector, and factor rotations restrict to each layer universe. Multi-layer blends the three layer rotations with equal weight. Benchmarks: equal-weight universe, static 60/40 (0.6 SPY + 0.4 TLT), and buy-and-hold SPY.

Performance metrics (monthly frequency, observations):

where is the equity curve.

Statistical Hypothesis Testing

Seven formal hypotheses are evaluated. Key test statistics:

H1 — Flow scores predict returns. Monthly Spearman rank IC between and ; test via one-sample -test across months.

H2 — Leadership persists. Month-over-month repeat rate of argmax; tested vs binomial null.

H3 — Sector leadership → macro. Spearman correlation between energy sector rank and forward inflation-proxy return.

H4 — Credit leads equities. Pearson correlation between HYG–TLT 3M relative strength and next-month SPY return.

H5 — Currency → regional equity. Pearson correlation between CEW 3M strength and forward VWO return.

H6 — Safe-haven lead. Pearson correlation between safe-haven basket return and forward SPY return (expect ).

H7 — Flow portfolio vs 60/40. Compare annualised Sharpe of flow rotation vs traditional 60/40.

Support threshold: two-sided (research default, not production trading significance).

Limitations and Interpretation

Flow scores are inferred proxies, not EPFR-style fund flows. ETFs imperfectly represent underlying economies; Yahoo adjusted data may differ from institutional vendors; regime rules are heuristic; hypothesis tests use overlapping monthly windows; and backtests omit transaction costs.

The framework is best read as a macro allocation research platform — identifying leadership, breadth, regime state, and network structure — rather than a standalone alpha signal. Results update with each npm run data:global-capital-flow refresh.

Interactive Exhibits (below)

The Results section provides the live intelligence dashboard and a Mathematical Methodology panel with the equations above applied to current data:

  • Framework coverage — maps each research objective to its dashboard exhibit.
  • Mathematical methodology — rendered flow-score, regime, and portfolio equations with live weights.
  • Summary cards — top flow leader, current regime, risk-on/risk-off and safe-haven scores.
  • Safe haven & risk sentiment engines — dedicated flight-to-quality and aggregate sentiment leaders.
  • Research insights — auto-generated findings across layers, breadth, regimes, networks, and backtests.
  • Flow score decomposition-score components for the top asset.
  • Global flow rankings & heatmap — composite across the universe.
  • Market breadth by region, sector, and factor.
  • Eight layer panels — per-layer rankings and 12M relative strength vs SPY.
  • Cross-asset relative strength — pairwise .
  • Regime detection — five continuous scores; click legend labels to toggle lines.
  • Correlation network, leadership links, centrality.
  • Portfolio backtests — equity curves, Sharpe, subperiod splits.
  • Hypothesis testing — all seven hypotheses with test statistics.

Capital Flow Intelligence Dashboard

Top Flow Leader

FLOT

Score 2.53 · 3M 1.20%

Current Regime

risk on

VIX 21.5

Risk-On / Risk-Off

0.68 / 0.32

Safe-haven 0.30

Universe

61 ETFs

As of 2026-06-05

Mathematical Methodology

Core equations implemented in the Python pipeline (2010-01-312026-06-30). Rebalance frequency: monthly.

Returns and relative strength

Participation and stability features

Cross-sectional standardisation

Composite Capital Flow Score

Regime scores (clipped to [0,1])

Flow rotation portfolio (monthly)

Sharpe ratio (monthly backtest)

Market breadth

Research hypotheses

  • H1: Capital flow scores predict future relative returnsH₀: Flow scores possess no predictive power for next-month returns
  • H2: Relative strength leadership persists across monthsH₀: Market leadership does not persist month-to-month
  • H3: Sector leadership provides information about economic conditionsH₀: Sector rotation has no association with subsequent macro proxies
  • H4: Credit market leadership leads equity market shiftsH₀: HYG relative strength does not lead SPY returns
  • H5: Currency strength predicts regional equity performanceH₀: Currency leadership has no predictive power for regional ETFs
  • H6: Safe-haven demand increases before equity drawdownsH₀: Safe-haven scores do not precede SPY weakness
  • H7: Regime-aware flow portfolios outperform static 60/40H₀: Flow-informed allocation does not beat 60/40 on risk-adjusted returns

Safe Haven Flow Engine

UUP

Score 1.16 · flight-to-quality proxy (GLD, TLT, UUP, FXY, FXF)

Risk Sentiment Engine

QQQ

Score 0.84 · SPY, QQQ, IWM, GLD, TLT, VIX synthesis

Research Findings & Insights

  • Global capital flow intelligence updated through 2026-06-05 across 61 ETFs spanning equities, bonds, commodities, currencies, sectors, and factors (2010-01-31 to 2026-06-30).
  • Strongest inferred capital attraction: FLOT (flow score 2.5341, 3M return +1.2%).
  • Weakest inferred flow: ^VIX (flow score -1.3627, 3M -15.6%).
  • 7 assets show strong inflow signals; 9 show strong outflow — capital rotation is broad.
  • Layer leadership — Global equity: EWT; Fixed income: FLOT; Commodity: DBC; Currency: UUP; Sector: XLK; Factor: VLUE….
  • Current regime: risk on (risk-on 0.6776, risk-off 0.3224, safe-haven 0.3035, inflation 0.563).
  • Historically dominant regime: inflationary (153 regime transitions in sample).
  • Cross-asset 3M leaders: Equities vs Bonds → SPY, Growth vs Utilities → QQQ, India vs China → INDA, Credit vs Treasuries → HYG.
  • Cross-asset laggards (3M): EM vs US, Gold vs Equities.
  • Market breadth — strongest participation in sectors (6/11 positive); weakest in us equity (0/4).
  • Network centrality leader: FEZ (degree 23); average pairwise correlation 0.35.
  • Market leadership links: US leads Europe (lag-1 ρ=-0.1233); Credit leads Equities (lag-1 ρ=-0.1234); USD leads EM equities (lag-1 ρ=0.0355).
  • H3 sector–macro link: energy sector rank vs forward inflation-proxy return ρ=0.041 (p=0.571, n=194) — not supported.
  • H4 credit lead: HYG–TLT 3M relative strength vs next-month SPY ρ=-0.112 (p=0.120) — no significant lead detected.
  • H5 currency–regional link: CEW 3M strength vs forward VWO ρ=-0.086 (p=0.234) — not supported.
  • Flow-score rank IC vs next-month returns: 0.015 (n=196, p=0.500) — not statistically supportive at 10% threshold.
  • Leadership persistence rate 27.6% month-over-month (supported).
  • Flow rotation Sharpe 0.41 (max DD -28.5%); multi-layer 0.92; equal-weight 0.85; SPY buy-hold 1.05.
  • Style rotation — top sector XLK, top factor MTUM (momentum vs value 3M: next cross-asset panel).
  • Geographic flow — SPY leads regional proxies; FM trails (inferred capital preference).
  • 1/7 hypotheses show supportive evidence at research thresholds.
  • Flow estimates are inferred from price, volume, volatility, and relative-strength behavior — not direct fund-flow data. Results are research-grade and not investment advice.

Framework Coverage (Spec → Dashboard)

Maps research document objectives to interactive exhibits on this page.

Research objectiveDashboard section
Geographic capital allocationGlobal Equity layer + breadth
Cross-asset allocationCross-Asset Relative Strength
Sector rotationSector layer + breadth
Factor rotationFactor layer
Regime detectionRegime Detection (click legend to toggle lines)
Composite flow scoreGlobal Rankings + Flow Heatmap
Safe-haven flowsSafe Haven layer + safe-haven score
Risk sentimentRisk Sentiment layer + risk-on/off scores
Network & correlationCentrality + rolling correlation + leadership
Portfolio constructionFlow-Based Portfolio Backtests
Hypothesis testingHypothesis Testing table
Market breadthParticipation Breadth chart

Flow Score Decomposition — FLOT

performance

2.21

participation

0.92

stability

0.19

persistence

7.63

Weights: performance 35%, participation 20%, stability 25%, persistence 20%

Global Capital Flow Rankings

Composite flow scores integrate performance, participation, stability, and persistence dimensions.

Capital Flow Heatmap by Layer

Fixed Income

FLOT 2.5MUB 0.0EMB -0.1HYG -0.1TIP -0.3IEF -0.3LQD -0.4SHY -0.4

Factor

VLUE 1.0MTUM 0.8QUAL 0.4SCHD 0.4IVW 0.3USMV 0.1

Sector

XLK 0.7XLF 0.4XLRE 0.4XLE 0.3XLB 0.3XLV 0.2XLI 0.2XLP -0.0XLC -0.1XLY -0.1XLU -0.2

Global Equity

EWT 0.7RSP 0.4FM 0.2EWJ 0.2EWW 0.1EWU 0.1EWY 0.1VWO 0.0ILF -0.1FEZ -0.1EWQ -0.2EWG -0.2FXI -0.2EWZ -0.3INDA -0.5KWEB -0.8

Currency

FXE 0.7CEW -0.1FXA -0.5FXC -1.1

Risk Sentiment

QQQ 0.5SPY 0.4IWM 0.3^VIX -1.4

Commodity

DBC 0.2CPER 0.2DBA 0.1USO -0.1URA -0.4UNG -0.8SLV -1.1

Safe Haven

UUP 0.1FXF -0.5TLT -0.6FXY -0.7GLD -0.9

Market Participation Breadth

Share of assets with positive last-month returns by group.

Eight Analytical Layers

RankTickerFlow ScoreSignal3M Return12M Return
6SPY0.36neutral9.00%25.80%
3QQQ0.55strong inflow16.20%35.00%
5RSP0.38neutral5.00%19.30%
7IWM0.21neutral11.20%36.50%
13FEZ-0.30neutral5.00%14.90%
10EWU0.07neutral0.20%19.90%
17EWG-0.46neutral2.50%0.60%
16EWQ-0.41neutral2.60%8.30%
8EWJ0.19neutral5.90%29.30%
15FXI-0.34neutral-4.70%-2.70%
19KWEB-1.25strong outflow-13.60%-18.20%
18INDA-0.76strong outflow-5.30%-12.60%

Global Equity — 12M relative strength vs SPY

AssetNameRel 12M
EWYSouth Korea129.20%
EWTTaiwan58.30%
IWMRussell 200011.20%
ILFLatin America9.10%
QQQNasdaq 1007.90%
EWWMexico6.00%
EWJJapan5.10%
EWZBrazil1.60%
SPYS&P 5000.00%
VWOEmerging Markets-0.10%

Cross-Asset Relative Strength

Pair1M3M6MLeader
Equities vs Bonds-2.10%14.10%9.00%SPY
Growth vs Utilities-4.30%25.50%10.30%QQQ
EM vs US-0.60%-6.00%-0.50%SPY
India vs China-1.70%4.30%-3.20%INDA
Credit vs Treasuries-0.20%2.10%1.60%HYG
Gold vs Equities-2.50%-21.30%-8.50%SPY
Momentum vs Value0.20%-7.30%-18.40%VLUE
Energy vs Technology8.10%-41.50%4.40%XLK
Europe vs US1.00%-5.70%-4.40%SPY
USD vs EM FX2.30%-0.60%1.80%CEW

Regime Detection

Risk-on, risk-off, safe-haven, inflation, and recovery scores through time. Click a legend label to show or hide that line.

inflationary: 75 monthsrecovery: 38 monthsrisk on: 35 monthsrisk off: 28 monthsdeflationary: 13 monthscrisis: 9 months

Dominant historical regime: inflationary · 153 transitions

Recent regime history

Each block = one month (most recent on the right)

Correlation & Network Analysis

Leadership linkContemporaneous ρLag-1 ρLag-2 ρ
US leads Europe0.783-0.123-0.131
Credit leads Equities0.788-0.123-0.083
USD leads EM equities-0.6390.0350.006
Gold leads Bonds0.2700.0970.005
Energy leads Commodities0.7020.1900.067

Centrality (60-day window) · avg correlation 0.349

TickerDegree
FEZ23
EWG23
EMB23
EWQ23
VWO23
SPY23
HYG23
IWM23
QUAL23
RSP23
EWU23
EWJ23

Flow-Based Portfolio Backtests

StrategyCAGRSharpeMax DDVolCumulative
Flow Rotation4.40%0.41-28.50%12.60%78.60%
Regional Rotation6.60%0.42-36.70%20.10%137.00%
Sector Rotation15.70%1.03-16.50%15.30%606.90%
Factor Rotation15.80%1.01-23.70%15.80%616.50%
Equal Weight7.70%0.85-15.80%9.40%173.40%
60/409.20%0.89-26.20%10.50%228.00%
Buy & Hold SPY14.90%1.05-23.90%14.30%550.50%
Multi-Layer Flow13.10%0.93-21.40%14.50%421.80%

Subperiod Analysis

Flow rotation Sharpe across macro episodes (GFC recovery, QE, COVID, inflation, AI).

PeriodFlow Rotation SharpeCumulative
low inflation expansion-0.01-4.50%
covid crisis0.5910.10%
inflation shock0.100.80%
ai growth1.2268.50%

Hypothesis Testing

1/7 hypotheses show supportive evidence at research thresholds.

IDHypothesisMetricValuep-valuenVerdict
H1Capital flow scores predict future relative returnsmean_rank_ic0.01500.5000196Not supported
H2Relative strength leadership persists across monthsleadership_persistence0.27600.0000Supported
H3Sector leadership provides information about economic conditionsenergy_rank_vs_fwd_inflation_proxy0.04100.5710194Not supported
H4Credit market leadership leads equity market shiftshyg_tlt_rel_vs_fwd_spy-0.11200.1200194Not supported
H5Currency strength predicts regional equity performancecew_strength_vs_fwd_vwo-0.08600.2340194Not supported
H6Safe-haven demand increases before equity drawdownssafe_haven_spy_corr-0.05000.4860Not supported
H7Regime-aware flow portfolios outperform static 60/40sharpe_diff_vs_60_40-0.4880Not supported
QuantifiedTrader logoQuantifiedTrader

Independent quantitative research on trading methods, backtesting, and market analytics.

Research disclaimer

QuantifiedTrader is operated by an independent quantitative research group. We study, document, and compare different methods of trading, portfolio construction, risk management, and investment analysis. Our work is exploratory and academic in nature—we build tools, run backtests, and publish findings to advance understanding, not to promote any particular strategy or product.

Not investment advice. Nothing on this website constitutes investment, trading, financial, tax, legal, or other professional advice. We do not recommend, endorse, or solicit the purchase or sale of any security, derivative, or financial instrument, nor do we suggest that any strategy, model, or result presented here is suitable for any individual or institution. Any examples, simulations, or performance figures are illustrative research outputs only.

No client or advisory relationship. We do not provide investment advisory, brokerage, portfolio-management, custody, or asset-management services to any person or entity. Browsing this site, using our tools, or contacting us does not create a client, fiduciary, or advisory relationship. We do not manage money on behalf of third parties and do not act as agents for any financial institution.

Research & education only. Content, datasets, backtests, charts, code, and software made available here are for informational and educational research. Materials may be incomplete, simulated, hypothetical, or derived from third-party sources that we do not control. Past performance, backtested results, and historical analyses are not indicative of future results. Market conditions change; models may fail; assumptions may be wrong. You are solely responsible for evaluating any information and for all decisions you make.

No responsibility or liability. To the fullest extent permitted by applicable law, QuantifiedTrader and its contributors disclaim all responsibility and liability for any loss, damage, cost, or expense—direct or indirect—arising from access to, use of, or reliance on this website, its content, or its tools. All materials are provided “as is” and “as available,” without warranties of any kind, whether express or implied, including but not limited to accuracy, completeness, fitness for a particular purpose, or non-infringement.

Non-commercial research sharing. This site does not aim to profit from the knowledge, tools, or datasets published here. Materials are shared for non-commercial research and learning, subject to applicable open-source or site terms where noted. We are a research collective, not a commercial product or service provider.

Contact. For questions about this notice, the site, or published research materials, contact support@quantedx.com. Correspondence is for administrative and research purposes only and does not constitute advice or create any professional obligation on our part.

© 2026 QuantifiedTrader. All rights reserved.