From af09546cdf5967b031ea2f5b932a1f02b9a9353e Mon Sep 17 00:00:00 2001 From: martinb-bb <105685594+martinb-bb@users.noreply.github.com> Date: Tue, 28 Feb 2023 10:04:17 -0500 Subject: [PATCH] sdk updates --- openbb_terminal/sdk.py | 20 +++++++++++++++++++ .../sdk_core/models/fixedincome_sdk_model.py | 20 +++++++++++++++++++ .../sdk_core/models/forecast_sdk_model.py | 1 + openbb_terminal/sdk_core/sdk_init.py | 1 + .../sdk_core/trail_map_forecasting.csv | 1 + 5 files changed, 43 insertions(+) diff --git a/openbb_terminal/sdk.py b/openbb_terminal/sdk.py index bfd2fd12df1..05b832f1915 100644 --- a/openbb_terminal/sdk.py +++ b/openbb_terminal/sdk.py @@ -198,7 +198,27 @@ class OpenBBSDK: """Fixedincome Submodule Attributes: + `ameribor`: Obtain data for American Interbank Offered Rate (AMERIBOR)\n + `cp`: Obtain Commercial Paper data\n + `dwpcr`: Obtain data for the Discount Window Primary Credit Rate.\n + `ecb`: Obtain data for ECB interest rates.\n `ecbycrv`: Gets euro area yield curve data from ECB.\n + `estr`: Obtain data for Euro Short-Term Rate (ESTR)\n + `fed`: Obtain data for Effective Federal Funds Rate.\n + `ffrmc`: Get data for Selected Treasury Constant Maturity Minus Federal Funds Rate\n + `hqm`: The HQM yield curve represents the high quality corporate bond market, i.e.,\n + `icebofa`: Get data for ICE BofA US Corporate Bond Indices.\n + `icespread`: Get data for ICE BofA US Corporate Bond Spreads\n + `iorb`: Obtain data for Interest Rate on Reserve Balances.\n + `moody`: Get data for Moody Corporate Bond Index\n + `projection`: Obtain data for the Federal Reserve's projection of the federal funds rate.\n + `sofr`: Obtain data for Secured Overnight Financing Rate (SOFR)\n + `sonia`: Obtain data for Sterling Overnight Index Average (SONIA)\n + `spot`: The spot rate for any maturity is the yield on a bond that provides\n + `tbffr`: Get data for Selected Treasury Bill Minus Federal Funds Rate.\n + `tmc`: Get data for 10-Year Treasury Constant Maturity Minus Selected Treasury Constant Maturity.\n + `treasury`: Gets interest rates data from selected countries (3 month and 10 year)\n + `usrates`: Plot various treasury rates from the United States\n `ycrv`: Gets yield curve data from FRED.\n """ diff --git a/openbb_terminal/sdk_core/models/fixedincome_sdk_model.py b/openbb_terminal/sdk_core/models/fixedincome_sdk_model.py index 8c5766cb5e1..cfc8f6e65f3 100644 --- a/openbb_terminal/sdk_core/models/fixedincome_sdk_model.py +++ b/openbb_terminal/sdk_core/models/fixedincome_sdk_model.py @@ -8,7 +8,27 @@ class FixedincomeRoot(Category): """Fixedincome Module Attributes: + `ameribor`: Obtain data for American Interbank Offered Rate (AMERIBOR)\n + `cp`: Obtain Commercial Paper data\n + `dwpcr`: Obtain data for the Discount Window Primary Credit Rate.\n + `ecb`: Obtain data for ECB interest rates.\n `ecbycrv`: Gets euro area yield curve data from ECB.\n + `estr`: Obtain data for Euro Short-Term Rate (ESTR)\n + `fed`: Obtain data for Effective Federal Funds Rate.\n + `ffrmc`: Get data for Selected Treasury Constant Maturity Minus Federal Funds Rate\n + `hqm`: The HQM yield curve represents the high quality corporate bond market, i.e.,\n + `icebofa`: Get data for ICE BofA US Corporate Bond Indices.\n + `icespread`: Get data for ICE BofA US Corporate Bond Spreads\n + `iorb`: Obtain data for Interest Rate on Reserve Balances.\n + `moody`: Get data for Moody Corporate Bond Index\n + `projection`: Obtain data for the Federal Reserve's projection of the federal funds rate.\n + `sofr`: Obtain data for Secured Overnight Financing Rate (SOFR)\n + `sonia`: Obtain data for Sterling Overnight Index Average (SONIA)\n + `spot`: The spot rate for any maturity is the yield on a bond that provides\n + `tbffr`: Get data for Selected Treasury Bill Minus Federal Funds Rate.\n + `tmc`: Get data for 10-Year Treasury Constant Maturity Minus Selected Treasury Constant Maturity.\n + `treasury`: Gets interest rates data from selected countries (3 month and 10 year)\n + `usrates`: Plot various treasury rates from the United States\n `ycrv`: Gets yield curve data from FRED.\n """ diff --git a/openbb_terminal/sdk_core/models/forecast_sdk_model.py b/openbb_terminal/sdk_core/models/forecast_sdk_model.py index a6dd38ad969..bdc974928b2 100644 --- a/openbb_terminal/sdk_core/models/forecast_sdk_model.py +++ b/openbb_terminal/sdk_core/models/forecast_sdk_model.py @@ -148,3 +148,4 @@ class ForecastRoot(Category): self.theta_chart = lib.forecast_theta_view.display_theta_forecast self.trans = lib.forecast_trans_model.get_trans_data self.trans_chart = lib.forecast_trans_view.display_trans_forecast + self.whisper = lib.forecast_whisper_model.transcribe_and_summarize diff --git a/openbb_terminal/sdk_core/sdk_init.py b/openbb_terminal/sdk_core/sdk_init.py index 7054136d8e4..3473885e779 100644 --- a/openbb_terminal/sdk_core/sdk_init.py +++ b/openbb_terminal/sdk_core/sdk_init.py @@ -475,6 +475,7 @@ try: theta_view as forecast_theta_view, trans_model as forecast_trans_model, trans_view as forecast_trans_view, + whisper_model as forecast_whisper_model, ) except ImportError: FORECASTING_TOOLKIT_ENABLED = False diff --git a/openbb_terminal/sdk_core/trail_map_forecasting.csv b/openbb_terminal/sdk_core/trail_map_forecasting.csv index 0f9cf139377..dd2dcdc8d8d 100644 --- a/openbb_terminal/sdk_core/trail_map_forecasting.csv +++ b/openbb_terminal/sdk_core/trail_map_forecasting.csv @@ -37,3 +37,4 @@ forecast.tcn,forecast_tcn_model.get_tcn_data,forecast_tcn_view.display_tcn_forec forecast.tft,forecast_tft_model.get_tft_data,forecast_tft_view.display_tft_forecast forecast.theta,forecast_theta_model.get_theta_data,forecast_theta_view.display_theta_forecast forecast.trans,forecast_trans_model.get_trans_data,forecast_trans_view.display_trans_forecast +forecast.whisper,forecast_whisper_model.transcribe_and_summarize,