Generate a yield curve from a short rate model (Vasicek or CIR). The yield curve represents the relationship between bond yields and their time to maturity, fundamental for bond valuation and risk management. Use this endpoint to extract continuously compounded yields from the short rate model for curve fitting or scenario analysis.
API key for authentication. Get your key at https://finceptbackend.share.zrok.io/auth/register
Maturities in years where yields are calculated
Short rate model to use for yield curve generation
vasicek, cir Mean reversion speed (annualized). Controls how quickly rates revert to long-term mean
Long-term mean rate (annualized). The equilibrium rate level
Rate volatility (annualized). Higher values produce steeper curves
Initial short rate (annualized). Starting point of the curve
Successfully generated yield curve
true
{
"model": "cir",
"yield_curve": [
{ "maturity": 0.5, "yield": 0.0275 },
{ "maturity": 1, "yield": 0.0298 },
{ "maturity": 2, "yield": 0.0335 },
{ "maturity": 3, "yield": 0.0361 },
{ "maturity": 5, "yield": 0.0399 },
{ "maturity": 7, "yield": 0.0424 },
{ "maturity": 10, "yield": 0.0453 },
{ "maturity": 20, "yield": 0.0488 },
{ "maturity": 30, "yield": 0.0495 }
]
}