Global Macro Liquidity & Fed Balance Sheet Intelligence avatar

Global Macro Liquidity & Fed Balance Sheet Intelligence

Pricing

Pay per usage

Go to Apify Store
Global Macro Liquidity & Fed Balance Sheet Intelligence

Global Macro Liquidity & Fed Balance Sheet Intelligence

Calculates Federal Reserve Net Liquidity (WALCL - RRP - TGA), weekly Wednesday liquidity overlays on risk assets (SPY, BTC, QQQ, GLD), Pearson statistical correlations, and global macroeconomic cycle indicators from FRED.

Pricing

Pay per usage

Rating

0.0

(0)

Developer

khalid naami

khalid naami

Maintained by Community

Actor stats

0

Bookmarked

2

Total users

1

Monthly active users

2 hours ago

Last modified

Categories

Share

Global Macro Liquidity & Fed Balance Sheet Intelligence ๐ŸŒŠ๐Ÿ›๏ธ

Global Macro Liquidity & Fed Balance Sheet Intelligence is a quantitative macroeconomics Actor on Apify. It extracts Federal Reserve balance sheet components, models weekly Wednesday Net Banking Liquidity ($\text{WALCL} - \text{RRP} - \text{TGA}$), calculates live Pearson statistical correlation overlays with major risk assets (SPY, QQQ, BTC, ETH, GLD), models US Real GDP & CPI economic cycle regimes, projects 12-month forward inflation paths, and formats multi-country G20 macroeconomic rankings.


๐ŸŒŸ Key Features

  1. Federal Reserve Net Liquidity Model ($\text{WALCL} - \text{RRP} - \text{TGA}$):

    • Total Assets (WALCL): Fed balance sheet size in Billions ($B).
    • Overnight Reverse Repo (WLRRAL / RRP): Cash locked up at the Fed.
    • Treasury General Account (WDTGAL / TGA): US government cash buffer.
    • Net Banking Liquidity: Active reserves flowing through global financial markets with 1W, 1M, and 1Y momentum deltas.
  2. Risk Asset Historical Overlay & Pearson Correlation ($R$):

    • Weekly Wednesday close price alignment across:
      • SPY (S&P 500 ETF)
      • QQQ (Invesco QQQ Trust)
      • BTC-USD (Bitcoin)
      • ETH-USD (Ethereum)
      • GLD (SPDR Gold Shares)
    • Live Pearson correlation coefficients ($R$) and classification (Coupling vs Decoupling).
  3. US Real GDP Growth & CPI Inflation Engine:

    • Real GDP YoY Growth (GDPC1) and CPI YoY Inflation (CPIAUCSL) tracking.
    • Automatic Macro Business Cycle determination: Disinflationary Boom (Goldilocks), Reflationary Expansion, Stagflationary Pressure, or Deflationary Contraction.
  4. 12-Month Forward CPI Inflation Simulator:

    • Interactive simulation calculating monthly YoY CPI trajectories based on assumed MoM rates and projecting estimated 2.0% Fed target re-entry dates.
  5. G20 Global Macroeconomic Rankings:

    • Multi-country GDP, inflation, unemployment, and debt-to-GDP metrics across all G20 nations.

๐Ÿ“ฅ Input Configuration

ParameterTypeDefaultDescription
overlayAssetsarray["SPY", "QQQ", "BTC-USD", "ETH-USD", "GLD"]Assets to align on Wednesday liquidity dates and compute correlation.
timeHorizonDaysinteger1095Days of history for overlay and correlation analysis (3Y = 1095).
includeGdpCpiAnalysisbooleantrueInclude Real GDP, CPI Inflation, and regime classifications.
cpiSimulationMomPctnumber0.20Assumed monthly MoM rate for forward inflation simulation (%).
includeHistoricalLiquiditySeriesbooleantrueOutput weekly historical Net Liquidity time series.
includeG20IndicatorsbooleantrueInclude multi-country G20 macroeconomic database.

๐Ÿ“ค Output Schema

{
"recordType": "MACRO_LIQUIDITY_DOSSIER",
"asOfDate": "2026-09-24",
"totalAssetsBillions": 6845.2,
"reverseRepoBillions": 235.4,
"treasuryAccountBillions": 718.5,
"netLiquidityBillions": 5891.3,
"netLiquidityWeeklyDeltaBillions": -12.4,
"netLiquidityMonthlyDeltaBillions": -42.8,
"policyRegime": "Quantitative Tightening (QT)",
"spyCorrelationR": 0.8842,
"btcCorrelationR": 0.8215,
"qqqCorrelationR": 0.8654,
"gldCorrelationR": -0.3210,
"realGdpGrowthYoY": 2.5,
"cpiInflationYoY": 2.8,
"macroEconomicRegime": "Disinflationary Boom (Goldilocks) ๐ŸŒŸ",
"fedTargetReentryDate": "November 2026",
"assetCorrelations": { ... },
"gdpCpiAnalysis": { ... },
"g20Rankings": [ ... ]
}

๐Ÿš€ Local Run

$uv run --with apify --with pandas --with numpy --with yfinance --with requests --with pytz --with python-dateutil python -m src.main