如今,反向收益率曲线是一个热门话题,您可以在终端中找到它。

使用以下命令从任何菜单/子菜单进入经济菜单:/economy

这对于导航整个功能目录树是正确的。例如:

/stocks/ta/vwap

/jupyter/dashboards/correlation 

进入全屏模式 退出全屏模式

[使用以下命令从任何菜单/子菜单进入经济菜单:/economy](https://res.cloudinary.com/practicaldev/image/fetch/s--Cv2DsEU1--/c_limit%2Cf_auto%2Cfl_progressive %2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fya0qgfv1256bthnqc4t.png)

有几种方法可以可视化这些信息。对于跨期限的一日图表,命令很简单:yield

在任何菜单中,可以通过输入以下内容来检索此图表:

/economy/yield 

进入全屏模式 退出全屏模式

[/economy/yield](https://res.cloudinary.com/practicaldev/image/fetch/s--WuLQ8MaB--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev- to-uploads.s3.amazonaws.com/uploads/articles/lr44nwdb5v7paz3q02qb.png)

附加显示帮助对话框:-h

[/economy/yield -h](https://res.cloudinary.com/practicaldev/image/fetch/s--Gf8wbf5r--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https:// dev-to-uploads.s3.amazonaws.com/uploads/articles/knqvu7goi66izthtlopa.png)

要查看历史中的特定日期,请附加:-d year-mm-dd

/economy/yield/ -d 2022-03-27

进入全屏模式 退出全屏模式

要构建一个或多个成熟度的时间序列,请使用:treasury

/economy/treasury -h

进入全屏模式 退出全屏模式

[/economy/treasury -h](https://res.cloudinary.com/practicaldev/image/fetch/s--zzy_Fs90--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https:// dev-to-uploads.s3.amazonaws.com/uploads/articles/6eakd0yz4nrtux1dtj5z.png)

2022 Mar 30, 03:29 (🦋) /economy/ $ treasury -sm
               Maturity options per instrument                
┏━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Instrument ┃ Maturities                                    ┃
┡━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ nominal    │ 1m, 3m, 6m, 1y, 2y, 3y, 5y, 7y, 10y, 20y, 30y │
├────────────┼───────────────────────────────────────────────┤
│ inflation  │ 5y, 7y, 10y, 20y, 30y                         │
├────────────┼───────────────────────────────────────────────┤
│ average    │ Defined by function                           │
├────────────┼───────────────────────────────────────────────┤
│ secondary  │ 4w, 3m, 6m, 1y                                │
└────────────┴───────────────────────────────────────────────┘

进入全屏模式 退出全屏模式

要绘制多个到期日,请用空格输入它们。

/economy/treasury -m 3m 2y 5y 10y 30y

进入全屏模式 退出全屏模式

[/economy/treasury -m 3m 2y 5y 10y 30y](https://res.cloudinary.com/practicaldev/image/fetch/s--ZVMpVVCK--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880 /https://dev-to-uploads.s3.amazonaws.com/uploads/articles/ix3djg8zjygxu26yq35r.png)

[/economy/treasury -m 3m 2y 5y 10y 30y](https://res.cloudinary.com/practicaldev/image/fetch/s--jvGLXsxI--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880 /https://dev-to-uploads.s3.amazonaws.com/uploads/articles/3twedckfj3mfhxuhvfc1.png)

查看此数据和搜索其他系列的另一种方法,如 FEDFUNDS,使用:fred

/economy/fred -h

进入全屏模式 退出全屏模式

[/economy/fred -h](https://res.cloudinary.com/practicaldev/image/fetch/s--_kaFk60D--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https:// dev-to-uploads.s3.amazonaws.com/uploads/articles/529sgvnwagt0sj0dln6m.png)

2022 Mar 30, 03:42 (🦋) /economy/ $ fred -q treasury -l 20
                                                                       Search results for treasury                                                                       
┏━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┳━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
┃ Series ID ┃ Title                                              ┃ Description                                                                                          ┃
┡━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━╇━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┩
│ T10Y2Y    │ 10-Year Treasury Constant Maturity Minus 2-Year    │ Starting with the update on June 21, 2019, the Treasury bond data used in calculating interest rate  │
│           │ Treasury Constant Maturity                         │ spreads is obtained directly from the U.S. Treasury Department (https://www.treasury.gov/resource-   │
│           │                                                    │ center/data-chart-center/interest-rates/Pages/TextView.aspx?data=yield).  Series is calculated as    │
│           │                                                    │ the spread between 10-Year Treasury Constant Maturity (BC_10YEAR) and 2-Year Treasury Constant       │
│           │                                                    │ Maturity (BC_2YEAR). Both underlying series are published at the U.S. Treasury Department            │
│           │                                                    │ (https://www.treasury.gov/resource-center/data-chart-center/interest-                                │
│           │                                                    │ rates/Pages/TextView.aspx?data=yield).                                                               │
├───────────┼────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ T10Y2YM   │ 10-Year Treasury Constant Maturity Minus 2-Year    │ Series is calculated as the spread between 10-Year Treasury Constant Maturity (BC_10YEARM) and       │
│           │ Treasury Constant Maturity                         │ 2-Year Treasury Constant Maturity (BC_2YEARM). Starting with the update on June 21, 2019, the        │
│           │                                                    │ Treasury bond data used in calculating interest rate spreads is obtained directly from the U.S.      │
│           │                                                    │ Treasury Department (https://www.treasury.gov/resource-center/data-chart-center/interest-            │
│           │                                                    │ rates/Pages/TextView.aspx?data=yield).                                                               │
├───────────┼────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ DFII10    │ Market Yield on U.S. Treasury Securities at        │ For further information regarding treasury constant maturity data, please refer to the Board of      │
│           │ 10-Year Constant Maturity, Inflation-Indexed       │ Governors ( http://www.federalreserve.gov/releases/h15/current/h15.pdf) and the Treasury             │
│           │                                                    │ (http://www.treasury.gov/resource-center/data-chart-center/interest-rates/Pages/yieldmethod.aspx).   │
├───────────┼────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ FII10     │ Market Yield on U.S. Treasury Securities at        │ For further information regarding treasury constant maturity data, please refer to                   │
│           │ 10-Year Constant Maturity, Inflation-Indexed       │ http://www.federalreserve.gov/releases/h15/current/h15.pdf and http://www.treasury.gov/resource-     │
│           │                                                    │ center/data-chart-center/interest-rates/Pages/yieldmethod.aspx.                                      │
├───────────┼────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ WFII10    │ Market Yield on U.S. Treasury Securities at        │ For further information regarding treasury constant maturity data, please refer to                   │
│           │ 10-Year Constant Maturity, Inflation-Indexed       │ http://www.federalreserve.gov/releases/h15/current/h15.pdf and http://www.treasury.gov/resource-     │
│           │                                                    │ center/data-chart-center/interest-rates/Pages/yieldmethod.aspx.                                      │
├───────────┼────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ T10Y3M    │ 10-Year Treasury Constant Maturity Minus 3-Month   │ Series is calculated as the spread between 10-Year Treasury Constant Maturity (BC_10YEAR) and        │
│           │ Treasury Constant Maturity                         │ 3-Month Treasury Constant Maturity (BC_3MONTH). Starting with the update on June 21, 2019, the       │
│           │                                                    │ Treasury bond data used in calculating interest rate spreads is obtained directly from the U.S.      │
│           │                                                    │ Treasury Department (https://www.treasury.gov/resource-center/data-chart-center/interest-            │
│           │                                                    │ rates/Pages/TextView.aspx?data=yield).                                                               │
├───────────┼────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ T10Y3MM   │ 10-Year Treasury Constant Maturity Minus 3-Month   │ Series is calculated as the spread between 10-Year Treasury Constant Maturity (BC_10YEARM) and       │
│           │ Treasury Constant Maturity                         │ 3-Month Treasury Constant Maturity (BC_3MONTHM). Starting with the update on June 21, 2019, the      │
│           │                                                    │ Treasury bond data used in calculating interest rate spreads is obtained directly from the U.S.      │
│           │                                                    │ Treasury Department (https://www.treasury.gov/resource-center/data-chart-center/interest-            │
│           │                                                    │ rates/Pages/TextView.aspx?data=yield).                                                               │
├───────────┼────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ DGS10     │ Market Yield on U.S. Treasury Securities at        │ For further information regarding treasury constant maturity data, please refer to the H.15          │
│           │ 10-Year Constant Maturity                          │ Statistical Release (https://www.federalreserve.gov/releases/h15/current/h15.pdf) notes and Treasury │
│           │                                                    │ Yield Curve Methodology (https://www.treasury.gov/resource-center/data-chart-center/interest-        │
│           │                                                    │ rates/Pages/yieldmethod.aspx).                                                                       │
├───────────┼────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ GS10      │ Market Yield on U.S. Treasury Securities at        │ Averages of business days. For further information regarding treasury constant maturity data, please │
│           │ 10-Year Constant Maturity                          │ refer to the Board of Governors (http://www.federalreserve.gov/releases/h15/current/h15.pdf) and the │
│           │                                                    │ Treasury (http://www.treasury.gov/resource-center/data-chart-center/interest-                        │
│           │                                                    │ rates/Pages/yieldmethod.aspx).                                                                       │
├───────────┼────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ WGS10YR   │ Market Yield on U.S. Treasury Securities at        │ Averages of business days. For further information regarding treasury constant maturity data, please │
│           │ 10-Year Constant Maturity                          │ refer to the Board of Governors (http://www.federalreserve.gov/releases/h15/current/h15.pdf) and the │
│           │                                                    │ Treasury (http://www.treasury.gov/resource-center/data-chart-center/interest-                        │
│           │                                                    │ rates/Pages/yieldmethod.aspx).                                                                       │
├───────────┼────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ DFII5     │ Market Yield on U.S. Treasury Securities at 5-Year │ For further information regarding treasury constant maturity data, please refer to                   │
│           │ Constant Maturity, Inflation-Indexed               │ http://www.federalreserve.gov/releases/h15/current/h15.pdf and http://www.treasury.gov/resource-     │
│           │                                                    │ center/data-chart-center/interest-rates/Pages/yieldmethod.aspx.                                      │
├───────────┼────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ RRPONTSYD │ Overnight Reverse Repurchase Agreements: Treasury  │ This series is constructed as the aggregated daily amount value of the RRP transactions reported by  │
│           │ Securities Sold by the Federal Reserve in the      │ the New York Fed as part of the Temporary Open Market Operations.  Temporary open market operations  │
│           │ Temporary Open Market Operations                   │ involve short-term repurchase and reverse repurchase agreements that are designed to temporarily add │
│           │                                                    │ or drain reserves available to the banking system and influence day-to-day trading in the federal    │
│           │                                                    │ funds market.  A reverse repurchase agreement (known as reverse repo or RRP) is a transaction in     │
│           │                                                    │ which the New York Fed under the authorization and direction of the Federal Open Market Committee    │
│           │                                                    │ sells a security to an eligible counterparty with an agreement to repurchase that same security at a │
│           │                                                    │ specified price at a specific time in the future. For these transactions, eligible securities are    │
│           │                                                    │ U.S. Treasury instruments, federal agency debt and the mortgage-backed securities issued or fully    │
│           │                                                    │ guaranteed by federal agencies. For more information, see                                            │
│           │                                                    │ https://www.newyorkfed.org/markets/rrp_faq.html                                                      │
├───────────┼────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ FII5      │ Market Yield on U.S. Treasury Securities at 5-Year │ For further information regarding treasury constant maturity data, please refer to                   │
│           │ Constant Maturity, Inflation-Indexed               │ http://www.federalreserve.gov/releases/h15/current/h15.pdf and http://www.treasury.gov/resource-     │
│           │                                                    │ center/data-chart-center/interest-rates/Pages/yieldmethod.aspx.                                      │
├───────────┼────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ WFII5     │ Market Yield on U.S. Treasury Securities at 5-Year │ For further information regarding treasury constant maturity data, please refer to                   │
│           │ Constant Maturity, Inflation-Indexed               │ http://www.federalreserve.gov/releases/h15/current/h15.pdf and http://www.treasury.gov/resource-     │
│           │                                                    │ center/data-chart-center/interest-rates/Pages/yieldmethod.aspx.                                      │
├───────────┼────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ TB3MS     │ 3-Month Treasury Bill Secondary Market Rate        │ Averages of Business Days, Discount Basis                                                            │
├───────────┼────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ DTB3      │ 3-Month Treasury Bill Secondary Market Rate        │ Discount Basis                                                                                       │
├───────────┼────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ WTB3MS    │ 3-Month Treasury Bill Secondary Market Rate        │ Averages of Business Days, Discount Basis                                                            │
├───────────┼────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ DGS2      │ Market Yield on U.S. Treasury Securities at 2-Year │ For further information regarding treasury constant maturity data, please refer to the Board of      │
│           │ Constant Maturity                                  │ Governors. (http://www.federalreserve.gov/releases/h15/current/h15.pdf and                           │
│           │                                                    │ http://www.treasury.gov/resource-center/data-chart-center/interest-rates/Pages/yieldmethod.aspx)     │
├───────────┼────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ DGS1      │ Market Yield on U.S. Treasury Securities at 1-Year │ For further information regarding treasury constant maturity data, please refer to the Board of      │
│           │ Constant Maturity                                  │ Governors (http://www.federalreserve.gov/releases/h15/current/h15.pdf) and the Treasury              │
│           │                                                    │ (http://www.treasury.gov/resource-center/data-chart-center/interest-rates/Pages/yieldmethod.aspx).   │
├───────────┼────────────────────────────────────────────────────┼──────────────────────────────────────────────────────────────────────────────────────────────────────┤
│ DGS5      │ Market Yield on U.S. Treasury Securities at 5-Year │ For further information regarding treasury constant maturity data, please refer to the Board of      │
│           │ Constant Maturity                                  │ Governors (http://www.federalreserve.gov/releases/h15/current/h15.pdf) and the Treasury              │
│           │                                                    │ (http://www.treasury.gov/resource-center/data-chart-center/interest-rates/Pages/yieldmethod.aspx).   │
└───────────┴────────────────────────────────────────────────────┴──────────────────────────────────────────────────────────────────────────────────────────────────────┘

进入全屏模式 退出全屏模式

隔夜逆回购协议——“临时操作”

/economy/fred -p RRPONTSYD -s 2013-06-01

进入全屏模式 退出全屏模式

[/economy/fred -p RRPONTSYD -s 2013-06-01](https://res.cloudinary.com/practicaldev/image/fetch/s--Ip3cjUF_--/c_limit%2Cf_auto%2Cfl_progressive% 2Cq_auto%2Cw_880/https://dev-to-uploads.s3.amazonaws.com/uploads/articles/fpahpzpycy0lj4vx4uyt.png)

要查看今天的利率、收益率和收益率变化,请使用:overview us bond

2022 Mar 30, 03:51 (🦋) /economy/ $ overview usbonds
                     US Bonds                      
┏━━━━━━━━━━━━━━┳━━━━━━━━━━┳━━━━━━━━━┳━━━━━━━━━━━━━┓
┃              ┃ Rate (%) ┃ Yld (%) ┃ Yld Chg (%) ┃
┡━━━━━━━━━━━━━━╇━━━━━━━━━━╇━━━━━━━━━╇━━━━━━━━━━━━━┩
│ 30-Year Bond │ 2.25     │ 2.505   │ 0.000       │
├──────────────┼──────────┼─────────┼─────────────┤
│ 10-Year Note │ 1.88     │ 2.383   │ -0.018      │
├──────────────┼──────────┼─────────┼─────────────┤
│ 7-Year Note  │ 1.88     │ 2.465   │ -0.024      │
├──────────────┼──────────┼─────────┼─────────────┤
│ 5-Year Note  │ 2.50     │ 2.463   │ -0.037      │
├──────────────┼──────────┼─────────┼─────────────┤
│ 3-Year Note  │ 1.75     │ 2.514   │ -0.041      │
├──────────────┼──────────┼─────────┼─────────────┤
│ 2-Year Note  │ 2.25     │ 2.330   │ -0.044      │
├──────────────┼──────────┼─────────┼─────────────┤
│ 1-Year Bill  │ 0.00     │ 1.661   │ -0.008      │
├──────────────┼──────────┼─────────┼─────────────┤
│ 6-Month Bill │ 0.00     │ 1.022   │ -0.027      │
├──────────────┼──────────┼─────────┼─────────────┤
│ 3-Month Bill │ 0.00     │ 0.548   │ -0.006      │
├──────────────┼──────────┼─────────┼─────────────┤
│ 1-Month Bill │ 0.00     │ 0.145   │ -0.025      │
└──────────────┴──────────┴─────────┴─────────────┘

进入全屏模式 退出全屏模式

有很多方法可以查看这些东西,这甚至不是查询它们的所有方法。

fred -p FEDFUNDS DGS5

进入全屏模式 退出全屏模式

[fred -p FEDFUNDS DGS5](https://res.cloudinary.com/practicaldev/image/fetch/s--hj6hp0NO--/c_limit%2Cf_auto%2Cfl_progressive%2Cq_auto%2Cw_880/https://dev -to-uploads.s3.amazonaws.com/uploads/articles/77u8nf7qki028grqiq1q.png)

谢谢阅读!您在 FRED 数据库中的首选系列是什么?

访问 OpenBB 网站并打个招呼:https://openbb.co

Logo

ModelScope旨在打造下一代开源的模型即服务共享平台,为泛AI开发者提供灵活、易用、低成本的一站式模型服务产品,让模型应用更简单!

更多推荐