risk_premium
Get Market Risk Premium by country.
Examples
from openbb import obb
obb.economy.risk_premium(provider='fmp')
Parameters
- standard
- fmp
Name | Type | Description | Default | Optional |
---|---|---|---|---|
; |
Name | Type | Description | Default | Optional |
---|---|---|---|---|
; |
Returns
OBBject
results : List[RiskPremium]
Serializable results.
provider : Optional[Literal['fmp']]
Provider name.
warnings : Optional[List[Warning_]]
List of warnings.
chart : Optional[Chart]
Chart object.
extra : Dict[str, Any]
Extra info.
Data
- standard
- fmp
Name | Type | Description |
---|---|---|
country | str | Market country. |
continent | str | Continent of the country. |
total_equity_risk_premium | Annotated[float, Gt(gt=0)] | Total equity risk premium for the country. |
country_risk_premium | Annotated[float, Ge(ge=0)] | Country-specific risk premium. |
Name | Type | Description |
---|---|---|
country | str | Market country. |
continent | str | Continent of the country. |
total_equity_risk_premium | Annotated[float, Gt(gt=0)] | Total equity risk premium for the country. |
country_risk_premium | Annotated[float, Ge(ge=0)] | Country-specific risk premium. |