Pulls all available real and nominal yield curves from the US Treasury's website
Project description
USTreasuryCurve
This code pulls all the available nominal and real yield curves from the US Treasury's website into a Pandas dataframe. The nominal rates start on January 2, 1990 and the real rates begin on January 2, 2003. The US Treasury updates these yields daily.
#Pull in nominal US Treasury curve
ustcurve = ustcurve.nominalRates()
#Pull in real US Treasury curve
ustrcurve = ustcurve.realRates()
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
ustreasurycurve-0.0.3.tar.gz
(1.8 kB
view hashes)
Built Distribution
Close
Hashes for ustreasurycurve-0.0.3-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | d265145dee896cf00357c54a8852ee83ab1f6880d3c6e67239bd88160cd9dd91 |
|
MD5 | e012cb3a7ff801fce55b3e9c1bcee9b6 |
|
BLAKE2b-256 | 2f98cee56b0db8520e132f8435f5cef85b461e71262f56182c54ad881fba6c7d |