summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDanglewood <85772166+deeleeramone@users.noreply.github.com>2024-06-11 16:19:32 -0700
committerDanglewood <85772166+deeleeramone@users.noreply.github.com>2024-06-11 16:19:32 -0700
commitee2738e92c1fdbc1104e14860b4d51041a27bdb4 (patch)
tree3c1623ae21f8a8cf998fc03f318275df7b61759d
parent4101af7ab3f453b7e816ccdd821fd58db8973fa2 (diff)
static assets
-rw-r--r--openbb_platform/openbb/assets/reference.json11
-rw-r--r--openbb_platform/openbb/package/fixedincome_government.py2
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