The Single Best Macro Signal for Crypto Trading (It's Free and Takes 10 Lines)
The cleanest leading signal for Bitcoin comes from the Federal Reserve's open API.
In March 2020, Bitcoin crashed from $8,000 to $3,800 in two days. The halving was two months away. On-chain metrics looked catastrophic. Traders who bought the dip based on technicals got stopped out again and again.
The ones who sized up did so because they saw something else: the Federal Reserve's balance sheet was expanding at $1 trillion per month. Net liquidity — the actual cash available to financial markets — was about to explode. That single input explained the entire 2020-2021 bull run before it started.
What Net Liquidity Actually Measures
Net liquidity is not a complex derivative. It is a simple subtraction from three publicly reported numbers:
Net Liquidity = Fed Balance Sheet (WALCL) − Treasury General Account (TGA) − Reverse Repo (RRP)
- WALCL: Total assets the Federal Reserve holds. When the Fed buys bonds via QE, this expands. When it shrinks the portfolio via QT, this contracts.
- TGA: The Treasury's checking account at the Fed. When the Treasury issues bonds and parks the proceeds here, that money is removed from circulation. A high TGA drains liquidity.
- RRP: Overnight reverse repurchase agreements. Money market funds park cash here overnight. It is technically “in the system” but locked away from risk assets.
The result is the actual pool of dollars available to chase stocks, bonds, and crypto. When this number rises, Bitcoin has historically risen with it. When it falls, Bitcoin follows.
The correlation between Fed net liquidity and Bitcoin price from 2020 to 2024 is approximately +0.85 to +0.90. That exceeds Bitcoin's correlation with the Nasdaq (+0.50 to +0.70), gold (+0.20 to +0.40), and the dollar index (-0.30 to -0.50).
Why Hedge Funds Charge $2,000/Month for This
Macro funds do not sell the formula. They sell the infrastructure: real-time ingestion, cross-asset monitoring, alert routing, and execution integration. The signal itself is free. The wrapper is expensive.
A typical institutional setup involves:
- A Bloomberg terminal ($25,000/year) pulling WALCL, TGA, and RRP data
- A Python ETL pipeline normalizing daily releases
- A correlation engine tracking rolling 90-day BTC-net-liquidity beta
- Slack alerts when the 7-day change exceeds one standard deviation
- Position-sizing logic that scales exposure based on regime classification
The $2,000/month subscription is not for the data. It is for the decision layer: when to act, how much to risk, and what to ignore.
The 10-Line Python Implementation
You do not need Bloomberg. The St. Louis Fed publishes this data via a free REST API. Here is the complete implementation:
import requests
import pandas as pd
API_KEY="***" # Get one free at fredaccount.stlouisfed.org
def fetch(series):
url = "https://api.stlouisfed.org/fred/series/observations"
r = requests.get(url, params={
"series_id": series,
"api_key": API_KEY,
"file_type": "json",
"observation_start": "2020-01-01"
})
df = pd.DataFrame(r.json()["observations"])
df["date"] = pd.to_datetime(df["date"])
df["value"] = pd.to_numeric(df["value"], errors="coerce")
return df.set_index("date")["value"]
walcl = fetch("WALCL")
tga = fetch("WTREGEN")
rrp = fetch("RRPONTSYD")
net_liquidity = walcl - tga - rrp
net_liquidity.plot(title="Fed Net Liquidity ($B)")That is it. Ten lines of core logic. The fredapi Python package wraps the same endpoints if you prefer a higher-level interface.
How It Performed During the Last Three Crypto Cycles
2020-2021: The QE Bull Run
- March 2020: Fed balance sheet expands from $4.2T to $7.2T in three months. Net liquidity surges.
- Bitcoin: $5,000 → $29,000 in nine months (+480%).
- November 2021: Net liquidity peaks near $9T. Bitcoin peaks at $69,000 the same week.
2022: The QT Collapse
- June 2022: QT begins at $95 billion per month. The Fed hikes from 0% to 5.25% in sixteen months.
- Net liquidity contracts sharply.
- Bitcoin: $40,000 → $15,500 (-77% by November 2022).
2023-2024: The Stealth Recovery
- October 2022 onward: Reverse repo drains from $2.5T to under $500B. That alone injects ~$2T of effective liquidity back into the system, even as QT continues.
- Bitcoin: Recovers to $73,000 by March 2024.
- ETF catalyst: $12 billion in spot ETF inflows over three months amplifies the liquidity effect.
The pattern is consistent: net liquidity leads, Bitcoin follows. The halving is a background condition. The macro regime is the driver.
Integrating It Into Your Existing Stack
Net liquidity is a regime filter, not a trade trigger. Use it to answer one question: should I be long, flat, or short right now?
Practical integration patterns:
- Trend following: Only take long signals from your momentum model when the 30-day net liquidity change is positive. Flatten or inverse when negative.
- Position sizing: Scale exposure 0-100% based on net liquidity percentile rank over the last 365 days.
- Risk overlay: Reduce leverage when net liquidity is in the bottom quartile, regardless of what your alpha model says.
- Cross-asset confirmation: Pair with M2 growth rate and 10-year TIPS real yield. When all three align, conviction is highest.
The signal updates weekly (WALCL is Wednesday-level). You do not need millisecond precision. You need the direction and the magnitude.
The Free API Key Nobody Talks About
The FRED API is genuinely free for personal and research use. No credit card. No application process beyond email verification.
- Go to fredaccount.stlouisfed.org
- Create an account
- Navigate to API Keys in your profile
- Generate a key
Rate limits are generous: 120 requests per minute. For a three-series daily pull, you will never hit it. The data goes back decades. The St. Louis Fed has run this service since 1991.
Compare that to the alternative: paying a data vendor $500-2,000 per month for a cleaned version of the same three series, wrapped in a dashboard you do not need.
What to Watch Next
Net liquidity is not a crystal ball. It is a compass. It tells you which way the wind is blowing, not where the ship will dock.
In the current regime, watch for:
- TGA refill: When the Treasury rebuilds its cash balance, liquidity drains. The 2023 debt ceiling resolution caused a $500B TGA build in six weeks. Risk assets corrected.
- RRP floor: If reverse repo approaches zero, the liquidity injection from RRP drainage ends. The tailwind becomes neutral.
- QT taper: Any slowdown or pause in balance sheet reduction changes the entire calculus.
You do not need to predict the Fed. You need to read what they publish.
Automate This Signal
Tacavar's signal ingestion pipeline automates FRED, Wikipedia pageviews, and 12 other free macro feeds into a unified trading dashboard. See how it works at tacavar.com.