diff options
-rw-r--r-- | openbb_platform/openbb/assets/reference.json | 11 | ||||
-rw-r--r-- | openbb_platform/openbb/package/fixedincome_government.py | 2 |
2 files changed, 10 insertions, 3 deletions
diff --git a/openbb_platform/openbb/assets/reference.json b/openbb_platform/openbb/assets/reference.json index 2303a662748..afe0010fe81 100644 --- a/openbb_platform/openbb/assets/reference.json +++ b/openbb_platform/openbb/assets/reference.json @@ -31642,11 +31642,18 @@ "fred": [ { "name": "yield_curve_type", - "type": "Literal['nominal', 'real', 'breakeven', 'corporate_spot', 'corporate_par']", + "type": "Literal['nominal', 'real', 'breakeven', 'treasury_minus_fed_funds', 'corporate_spot', 'corporate_par']", "description": "Yield curve type. Nominal and Real Rates are available daily, others are monthly. The closest date to the requested date will be returned.", "default": "nominal", "optional": true, - "choices": null + "choices": [ + "nominal", + "real", + "breakeven", + "treasury_minus_fed_funds", + "corporate_spot", + "corporate_par" + ] } ] }, diff --git a/openbb_platform/openbb/package/fixedincome_government.py b/openbb_platform/openbb/package/fixedincome_government.py index 533cf2c1ce8..06fac42ce16 100644 --- a/openbb_platform/openbb/package/fixedincome_government.py +++ b/openbb_platform/openbb/package/fixedincome_government.py @@ -242,7 +242,7 @@ class ROUTER_fixedincome_government(Container): The country to get data. New Zealand, Mexico, Singapore, and Thailand have only monthly data. The nearest date to the requested one will be used. (provider: econdb) use_cache : bool If true, cache the request for four hours. (provider: econdb) - yield_curve_type : Literal['nominal', 'real', 'breakeven', 'corporate_spot', 'corporate_par'] + yield_curve_type : Literal['nominal', 'real', 'breakeven', 'treasury_minus_fed_funds', 'corporate_spot', 'corporate_par'] Yield curve type. Nominal and Real Rates are available daily, others are monthly. The closest date to the requested date will be returned. (provider: fred) Returns |