Skip to main content

risk_premium

Get Market Risk Premium by country.

Examples

from openbb import obb
obb.economy.risk_premium(provider='fmp')

Parameters

NameTypeDescriptionDefaultOptional
;

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

NameTypeDescription
countrystrMarket country.
continentstrContinent of the country.
total_equity_risk_premiumAnnotated[float, Gt(gt=0)]Total equity risk premium for the country.
country_risk_premiumAnnotated[float, Ge(ge=0)]Country-specific risk premium.