mirror of
https://github.com/OpenBB-finance/OpenBB.git
synced 2026-11-25 18:53:26 +00:00
Add api paths + better descriptions
This commit is contained in:
@@ -151,7 +151,7 @@ class FixedIncomeController(BaseController):
|
||||
mt.add_cmd("sonia")
|
||||
mt.add_cmd("ameribor")
|
||||
mt.add_raw("\n")
|
||||
mt.add_info("_other_interest_rates_")
|
||||
mt.add_info("_central_bank_rates_")
|
||||
mt.add_cmd("ffer")
|
||||
mt.add_cmd("fftr")
|
||||
mt.add_cmd("effr")
|
||||
@@ -366,7 +366,10 @@ class FixedIncomeController(BaseController):
|
||||
add_help=False,
|
||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
|
||||
prog="ffer",
|
||||
description="Get Federal Funds Effective Rate data",
|
||||
description="Get Federal Funds Effective Rate data\nA bank rate is the interest rate a nation's central "
|
||||
"bank charges to its domestic banks to borrow money. The rates central banks charge are set "
|
||||
"to stabilize the economy. In the United States, the Federal Reserve System's Board of "
|
||||
"Governors set the bank rate, also known as the discount rate.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-p",
|
||||
@@ -411,7 +414,10 @@ class FixedIncomeController(BaseController):
|
||||
add_help=False,
|
||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
|
||||
prog="fftr",
|
||||
description="Get Federal Funds Target Range data",
|
||||
description="Get Federal Funds Target Range data.\nA bank rate is the interest rate a nation's central "
|
||||
"bank charges to its domestic banks to borrow money. The rates central banks charge are set "
|
||||
"to stabilize the economy. In the United States, the Federal Reserve System's Board of "
|
||||
"Governors set the bank rate, also known as the discount rate.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-s",
|
||||
@@ -453,7 +459,10 @@ class FixedIncomeController(BaseController):
|
||||
add_help=False,
|
||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
|
||||
prog="effr",
|
||||
description="Get Effective Federal Funds Rate data",
|
||||
description="Get Effective Federal Funds Rate data.\nA bank rate is the interest rate a nation's central "
|
||||
"bank charges to its domestic banks to borrow money. The rates central banks charge are set "
|
||||
"to stabilize the economy. In the United States, the Federal Reserve System's Board of "
|
||||
"Governors set the bank rate, also known as the discount rate.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-p",
|
||||
@@ -506,7 +515,10 @@ class FixedIncomeController(BaseController):
|
||||
add_help=False,
|
||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
|
||||
prog="obfr",
|
||||
description="Get Overnight Bank Funding Rate data",
|
||||
description="Get Overnight Bank Funding Rate data.\nA bank rate is the interest rate a nation's central "
|
||||
"bank charges to its domestic banks to borrow money. The rates central banks charge are set "
|
||||
"to stabilize the economy. In the United States, the Federal Reserve System's Board of "
|
||||
"Governors set the bank rate, also known as the discount rate.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-p",
|
||||
@@ -559,7 +571,10 @@ class FixedIncomeController(BaseController):
|
||||
add_help=False,
|
||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
|
||||
prog="iorb",
|
||||
description="Get Interest Rate on Reserve Balances data",
|
||||
description="Get Interest Rate on Reserve Balances data\nA bank rate is the interest rate a nation's "
|
||||
"central bank charges to its domestic banks to borrow money. The rates central banks charge "
|
||||
"are set to stabilize the economy. In the United States, the Federal Reserve System's Board "
|
||||
"of Governors set the bank rate, also known as the discount rate.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-s",
|
||||
@@ -594,7 +609,11 @@ class FixedIncomeController(BaseController):
|
||||
add_help=False,
|
||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
|
||||
prog="projection",
|
||||
description="Get FOMC Summary of Economic Projections for the Fed Funds Rate",
|
||||
description="Get FOMC Summary of Economic Projections for the Fed Funds Rate.\nA bank rate is the "
|
||||
"interest rate a nation's central bank charges to its domestic banks to borrow money. The "
|
||||
"rates central banks charge are set to stabilize the economy. In the United States, "
|
||||
"the Federal Reserve System's Board of Governors set the bank rate, also known as the "
|
||||
"discount rate.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-s",
|
||||
@@ -629,7 +648,11 @@ class FixedIncomeController(BaseController):
|
||||
add_help=False,
|
||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
|
||||
prog="oldprojection",
|
||||
description="Get Longer Run FOMC Summary of Economic Projections for the Fed Funds Rate",
|
||||
description="Get Longer Run FOMC Summary of Economic Projections for the Fed Funds Rate.\nA bank rate is "
|
||||
"the interest rate a nation's central bank charges to its domestic banks to borrow money. The "
|
||||
"rates central banks charge are set to stabilize the economy. In the United States, "
|
||||
"the Federal Reserve System's Board of Governors set the bank rate, also known as the "
|
||||
"discount rate.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-s",
|
||||
@@ -664,7 +687,10 @@ class FixedIncomeController(BaseController):
|
||||
add_help=False,
|
||||
formatter_class=argparse.ArgumentDefaultsHelpFormatter,
|
||||
prog="dwpcr",
|
||||
description="Get Discount Window Primary Credit Rate data",
|
||||
description="Get Discount Window Primary Credit Rate data.\nA bank rate is the interest rate a nation's "
|
||||
"central bank charges to its domestic banks to borrow money. The rates central banks charge "
|
||||
"are set to stabilize the economy. In the United States, the Federal Reserve System's Board "
|
||||
"of Governors set the bank rate, also known as the discount rate.",
|
||||
)
|
||||
parser.add_argument(
|
||||
"-p",
|
||||
|
||||
@@ -333,7 +333,11 @@ def plot_ffer(
|
||||
export: str = "",
|
||||
external_axes: Optional[List[plt.Axes]] = None,
|
||||
):
|
||||
"""Plot Federal Funds Effective Rate
|
||||
"""Plot Federal Funds Effective Rate.
|
||||
|
||||
A bank rate is the interest rate a nation's central bank charges to its domestic banks to borrow money. The rates
|
||||
central banks charge are set to stabilize the economy. In the United States, the Federal Reserve System's Board
|
||||
of Governors set the bank rate, also known as the discount rate.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
@@ -392,7 +396,11 @@ def plot_fftr(
|
||||
export: str = "",
|
||||
external_axes: Optional[List[plt.Axes]] = None,
|
||||
):
|
||||
"""Plot Federal Funds Target Range
|
||||
"""Plot Federal Funds Target Range.
|
||||
|
||||
A bank rate is the interest rate a nation's central bank charges to its domestic banks to borrow money. The rates
|
||||
central banks charge are set to stabilize the economy. In the United States, the Federal Reserve System's Board
|
||||
of Governors set the bank rate, also known as the discount rate.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
@@ -449,7 +457,11 @@ def plot_effr(
|
||||
export: str = "",
|
||||
external_axes: Optional[List[plt.Axes]] = None,
|
||||
):
|
||||
"""Plot Effective Federal Funds Rate
|
||||
"""Plot Effective Federal Funds Rate.
|
||||
|
||||
A bank rate is the interest rate a nation's central bank charges to its domestic banks to borrow money. The rates
|
||||
central banks charge are set to stabilize the economy. In the United States, the Federal Reserve System's Board
|
||||
of Governors set the bank rate, also known as the discount rate.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
@@ -507,7 +519,11 @@ def plot_obfr(
|
||||
export: str = "",
|
||||
external_axes: Optional[List[plt.Axes]] = None,
|
||||
):
|
||||
"""Plot Overnight Bank Funding Rate (OBFR)
|
||||
"""Plot Overnight Bank Funding Rate (OBFR).
|
||||
|
||||
A bank rate is the interest rate a nation's central bank charges to its domestic banks to borrow money. The rates
|
||||
central banks charge are set to stabilize the economy. In the United States, the Federal Reserve System's Board
|
||||
of Governors set the bank rate, also known as the discount rate.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
@@ -564,7 +580,11 @@ def plot_iorb(
|
||||
export: str = "",
|
||||
external_axes: Optional[List[plt.Axes]] = None,
|
||||
):
|
||||
"""Plot Interest Rate on Reserve Balances
|
||||
"""Plot Interest Rate on Reserve Balances.
|
||||
|
||||
A bank rate is the interest rate a nation's central bank charges to its domestic banks to borrow money. The rates
|
||||
central banks charge are set to stabilize the economy. In the United States, the Federal Reserve System's Board
|
||||
of Governors set the bank rate, also known as the discount rate.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
@@ -615,7 +635,11 @@ def plot_projection(
|
||||
export: str = "",
|
||||
external_axes: Optional[List[plt.Axes]] = None,
|
||||
):
|
||||
"""Plot FOMC Summary of Economic Projections for the Fed Funds Rate
|
||||
"""Plot FOMC Summary of Economic Projections for the Fed Funds Rate.
|
||||
|
||||
A bank rate is the interest rate a nation's central bank charges to its domestic banks to borrow money. The rates
|
||||
central banks charge are set to stabilize the economy. In the United States, the Federal Reserve System's Board
|
||||
of Governors set the bank rate, also known as the discount rate.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
@@ -708,7 +732,11 @@ def plot_oldprojection(
|
||||
export: str = "",
|
||||
external_axes: Optional[List[plt.Axes]] = None,
|
||||
):
|
||||
"""Plot Longer Run FOMC Summary of Economic Projections for the Fed Funds Rate
|
||||
"""Plot Longer Run FOMC Summary of Economic Projections for the Fed Funds Rate.
|
||||
|
||||
A bank rate is the interest rate a nation's central bank charges to its domestic banks to borrow money. The rates
|
||||
central banks charge are set to stabilize the economy. In the United States, the Federal Reserve System's Board
|
||||
of Governors set the bank rate, also known as the discount rate.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
@@ -802,7 +830,11 @@ def plot_dwpcr(
|
||||
export: str = "",
|
||||
external_axes: Optional[List[plt.Axes]] = None,
|
||||
):
|
||||
"""Plot Discount Window Primary Credit Rate
|
||||
"""Plot Discount Window Primary Credit Rate.
|
||||
|
||||
A bank rate is the interest rate a nation's central bank charges to its domestic banks to borrow money. The rates
|
||||
central banks charge are set to stabilize the economy. In the United States, the Federal Reserve System's Board
|
||||
of Governors set the bank rate, also known as the discount rate.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
|
||||
@@ -120,7 +120,11 @@ def plot_fftr(
|
||||
export: str = "",
|
||||
external_axes: Optional[List[plt.Axes]] = None,
|
||||
):
|
||||
"""Plot Federal Funding Target Range (upper and lower)
|
||||
"""Plot Federal Funding Target Range (upper and lower).
|
||||
|
||||
A bank rate is the interest rate a nation's central bank charges to its domestic banks to borrow money. The rates
|
||||
central banks charge are set to stabilize the economy. In the United States, the Federal Reserve System's Board
|
||||
of Governors set the bank rate, also known as the discount rate.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
@@ -175,7 +179,11 @@ def plot_effr(
|
||||
export: str = "",
|
||||
external_axes: Optional[List[plt.Axes]] = None,
|
||||
):
|
||||
"""Plot Effective Federal Funds Rate
|
||||
"""Plot Effective Federal Funds Rate.
|
||||
|
||||
A bank rate is the interest rate a nation's central bank charges to its domestic banks to borrow money. The rates
|
||||
central banks charge are set to stabilize the economy. In the United States, the Federal Reserve System's Board
|
||||
of Governors set the bank rate, also known as the discount rate.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
@@ -233,7 +241,11 @@ def plot_obfr(
|
||||
export: str = "",
|
||||
external_axes: Optional[List[plt.Axes]] = None,
|
||||
):
|
||||
"""Plot Overnight Bank Funding Rate
|
||||
"""Plot Overnight Bank Funding Rate.
|
||||
|
||||
A bank rate is the interest rate a nation's central bank charges to its domestic banks to borrow money. The rates
|
||||
central banks charge are set to stabilize the economy. In the United States, the Federal Reserve System's Board
|
||||
of Governors set the bank rate, also known as the discount rate.
|
||||
|
||||
Parameters
|
||||
----------
|
||||
|
||||
2
openbb_terminal/miscellaneous/i18n/en.yml
vendored
2
openbb_terminal/miscellaneous/i18n/en.yml
vendored
@@ -776,7 +776,7 @@ en:
|
||||
fixedincome/sofr: secured overnight financing rate (sofr)
|
||||
fixedincome/sonia: sterling overnight index average (sonia)
|
||||
fixedincome/ameribor: american interbank offered rate (ameribor)
|
||||
fixedincome/_other_interest_rates_: Other interest rates
|
||||
fixedincome/_central_bank_rates_: Central bank rates
|
||||
fixedincome/ffer: federal funds effective rate
|
||||
fixedincome/fftr: federal funds target range
|
||||
fixedincome/effr: effective federal funds rate (effr)
|
||||
|
||||
@@ -301,6 +301,17 @@ forex.oanda.listorders,openbb_terminal.forex.oanda.oanda_model.order_history_req
|
||||
forex.oanda.orderbook,openbb_terminal.forex.oanda.oanda_model.orderbook_plot_data_request,openbb_terminal.forex.oanda.oanda_view.get_order_book
|
||||
forex.oanda.pending,openbb_terminal.forex.oanda.oanda_model.pending_orders_request,openbb_terminal.forex.oanda.oanda_view.get_pending_orders
|
||||
forex.oanda.positionbook,openbb_terminal.forex.oanda.oanda_model.positionbook_plot_data_request,openbb_terminal.forex.oanda.oanda_view.get_position_book
|
||||
fixedincome.estr,openbb_terminal.fixedincome.ecb_model.get_series_data,openbb_terminal.fixedincome.ecb_view.plot_estr
|
||||
fixedincome.sofr,openbb_terminal.fixedincome.nyfed_model.get_sofr_data,openbb_terminal.fixedincome.nyfed_view.plot_sofr
|
||||
fixedincome.sonia,openbb_terminal.fixedincome.fred_model.get_series_data,openbb_terminal.fixedincome.fred_view.plot_sonia
|
||||
fixedincome.ameribor,openbb_terminal.fixedincome.fred_model.get_series_data,openbb_terminal.fixedincome.fred_view.plot_ameribor
|
||||
fixedincome.ffer,openbb_terminal.fixedincome.fred_model.get_series_data,openbb_terminal.fixedincome.fred_view.plot_ffer
|
||||
fixedincome.fftr,openbb_terminal.fixedincome.nyfed_model.get_effr_data,openbb_terminal.fixedincome.nyfed_view.plot_fftr
|
||||
fixedincome.effr,openbb_terminal.fixedincome.nyfed_model.get_effr_data,openbb_terminal.fixedincome.nyfed_view.plot_effr
|
||||
fixedincome.obfr,openbb_terminal.fixedincome.nyfed_model.get_obfr_data,openbb_terminal.fixedincome.nyfed_view.plot_obfr
|
||||
fixedincome.iorb,openbb_terminal.fixedincome.fred_model.get_series_data,openbb_terminal.fixedincome.fred_view.plot_iobr
|
||||
fixedincome.projection,openbb_terminal.fixedincome.fred_model.get_series_data,openbb_terminal.fixedincome.fred_view.plot_projection
|
||||
fixedincome.oldprojection,openbb_terminal.fixedincome.fred_model.get_series_data,openbb_terminal.fixedincome.fred_view.plot_oldprojection
|
||||
portfolio.load,openbb_terminal.portfolio.portfolio_model.generate_portfolio,
|
||||
portfolio.show,openbb_terminal.portfolio.portfolio_model.get_transactions,
|
||||
portfolio.bench,openbb_terminal.portfolio.portfolio_model.set_benchmark,
|
||||
|
||||
|
Reference in New Issue
Block a user