Loading...

[PLUS] Finding the US Treasury Risk Free Rate (RFR) Via Par Yield Curve


Risk Free Rate
Why is the risk free rate important to financial calculations? The RFR (risk free rate) is a fundamental building block to many financial models as this rate represents the minimum hurdle rate of return for any other asset that contains risk. Otherwise, any "rational" investor would simply buy a US Treasury asset that is considered "risk free". Per the definition used by risk.net, "The risk-free rate is the theoretical rate of return on an investment with zero risk. As such, it is the benchmark to measure other investments that include an element of risk."

RFR Applications in Finance
One very common uses of the RFR is found in the calculation of the popular Sharpe Ratio - which measures the performance of an investment such as a security or portfolio compared to a risk-free asset, after adjusting for its risk. Risk free rates across all maturities can be used to discount future cashflows and serve as inputs to other discounted cash flow (DCF) models.

Par Yield Curve(s)
For the contents of this article, we will use Par Yield Curve rates as our metric for the risk free rate. Per Investopedia, the par yield rate "is used to determine the coupon rate that a new bond with a given maturity will pay in order to sell at par today". In our code example below, we will use the nearest maturity (1 month) as the RFR. As another note, it is typical to match your risk free rate to the maturity of the underlying asset. For example, if you are want to find the risk free rate to discount a futures' contract that has a maturity 3 months from now, you will likely want to use the par yield curve rate with a 3mo maturity (rather than what we demonstrate for 1month). The data returned from the US Treasury website is for the full par yield rate curve, going all the way out to 30 years. As always, every line of code is commented/documented for you to easily understand, follow, and edit to fit your purpose.

This is a premium post. Create Plus+ Account to view the live, working codebase for this article.




Notice: Information contained herein is not and should not be construed as an offer, solicitation, or recommendation to buy or sell securities. The information has been obtained from sources we believe to be reliable; however no guarantee is made or implied with respect to its accuracy, timeliness, or completeness. Author does not own the any crypto currency discussed. The information and content are subject to change without notice. CryptoDataDownload and its affiliates do not provide investment, tax, legal or accounting advice.

This material has been prepared for informational purposes only and is the opinion of the author, and is not intended to provide, and should not be relied on for, investment, tax, legal, accounting advice. You should consult your own investment, tax, legal and accounting advisors before engaging in any transaction. All content published by CryptoDataDownload is not an endorsement whatsoever. CryptoDataDownload was not compensated to submit this article. Please also visit our Privacy policy; disclaimer; and terms and conditions page for further information.

Latest Posts
Follow Us
Notify me of new content