PINE LIBRARY

NetLiquidityLibraryMacF

Updated
Library "NetLiquidityLibraryMacF"
The Net Liquidity Library provides daily values for net liquidity. Net liquidity is measured as Fed Balance Sheet - Treasury General Account - Reverse Repo. Time series for each individual component included too.

get_net_liquidity(component)
  Gets the Net Liquidity time series for the last 250 trading days. Dates that are not present are represented as na.
  Parameters:
    component (simple string): The component of the Net Liquidity function to return. Possible values: 'fed', 'tga', and 'rrp'. (`Net Liquidity` is returned if no argument is supplied).
  Returns: The Net Liquidity time series or a component of the Net Liquidity function.
Release Notes
v2
Release Notes
v3
Release Notes
v4
Release Notes
v5
debugging

Pine library

In true TradingView spirit, the author has published this Pine code as an open-source library so that other Pine programmers from our community can reuse it. Cheers to the author! You may use this library privately or in other open-source publications, but reuse of this code in a publication is governed by House rules.

Disclaimer