Skip to content

ericlcolvin/net-liquidity.ps1

 
 

Repository files navigation

net-liquidity.ps1

PowerShell script to calculate Net Liquidity.

Net Liquidity = Federal Reserve Balance sheet - Treasury General Account - Reverse Repo

Screenshots

Change Table

When you run this script, the change table will appear on the console:

image

The SPX FV column is the SPX Fair Value.

Green indicates an increase in Net Liquidity.

Red indicates a decrease in Net Liquidity.

Net Liquidity chart

A chart for Net Liquidity will open in a browser:

image

SPX Fair Value chart

A chart for SPX, SPX fair value, and the SPX fair value bands will open in a browser:

image

Platforms

The script has been tested on Windows and Ubuntu.

Let me know if you test it on macOS.

When to run the script

  • WALCL is updated Thursday at 4:30 PM Eastern.
  • Reverse Repo is updated daily at 4:30 PM Eastern.
  • TGA is updated daily at 4:00 PM Eastern. Value is for the previous day.

So it's usually best to run the script once a day after 4:30 PM Eastern.

TGA is reported for the previous day. So in general, only the previous day's Net Liquidity will be fully known. The script will still display the current day's preliminary Net Liquidity value which will include RRP and WALCL if updates for them are available.

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PowerShell 100.0%