RainbowStats™ · Finance commands

ZCB_CIR_CURVE

Build a model term structure.

Syntax

ZCB_CIR_CURVE(R0,r,KAPPA,k,THETA,theta,SIG,sigma,TMIN,a,TMAX,b,N,n)

Example

ZCB_CIR_CURVE(R0,0.03,TMIN,1,TMAX,10,N,10)

Details

Uses the corresponding affine discount-factor model. Rate parameters and conventions match the single-price command. Defaults: R0/R 0.03, KAPPA 0.5, THETA 0.04, SIG 0.01; TMIN 0.25, TMAX 30, N 120. N is rounded and clamped to at least 2; TMAX <= TMIN becomes TMIN + 0.000001. Returns a D3 chart with discount factor and zero yield in percent. This result is not the curve matrix required by FWD_FROM_CURVE. Requires complete parameter/value pairs; this fixes the prior CIR curve’s silent omission of a dangling parameter.

No result-specific extract inventory was verified for this wrapper. Interactive models may inherit extraction behavior from their base classes.