Skip to content

FinanceToolkit v1.7.1

Compare
Choose a tag to compare
@JerBouma JerBouma released this 18 Dec 12:31
· 356 commits to main since this release

In addition to the many new Economics indicators in the previous release, I've added some new key economic rates.

MarketExpectationsFinanceToolkit

I've added in the European Central Banks which include:

  • The main refinancing operations (MRO) rate is the interest rate banks pay when they borrow money from the ECB for one week. When they do this, they have to provide collateral to guarantee that the money will be paid back.
  • The marginal lending facility rate is the interest rate banks pay when they borrow from the ECB overnight. When they do this, they have to provide collateral, for example securities, to guarantee that the money will be paid back.
  • The deposit facility rate which is one of the three interest rates the ECB sets every six weeks as part of its monetary policy. The rate defines the interest banks receive for depositing money with the central bank overnight.

These can be shown by using:

from financetoolkit import Economics

economics = Economics(start_date='2000-01-01')

economics.get_european_central_bank_rates()

Which returns (when plotted):

image

I've also added in the Federal Funds rates which include:

  • The effective federal funds rate (EFFR) which is calculated as a volume-weighted median of overnight federal funds transactions reported in the FR 2420 Report of Selected Money Market Rates.
  • The overnight bank funding rate (OBFR) which is calculated as a volume-weighted median of overnight federal funds transactions, Eurodollar transactions, and the domestic deposits reported as “Selected Deposits” in the FR 2420 Report.
  • The TGCR which is calculated as a volume-weighted median of transaction-level tri-party repo data collected from the Bank of New York Mellon.
  • The BGCR which is calculated as a volume-weighted median of transaction-level tri-party repo data collected from the Bank of New York Mellon as well as GCF Repo transaction data obtained from the U.S. Department of the Treasury’s Office of Financial Research (OFR).
  • The SOFR which is calculated as a volume-weighted median of transaction-level tri-party repo data collected from the Bank of New York Mellon as well as GCF Repo transaction data and data on bilateral Treasury repo transactions cleared through FICC's DVP service, which are obtained from the U.S. Department of the Treasury’s Office of Financial Research (OFR).

These can be shown by using (and defining the rate):

from financetoolkit import Economics

economics = Economics(start_date='2016-01-01')

# Effective Federal Funds Rate
economics.get_federal_reserve_rates(rate='EFFR')

# Secured Overnight Financing Rate
economics.get_federal_reserve_rates(rate='SOFR')

Which returns (when plotted):

image

image