tfutbyyield
Future prices of Treasury bonds given current yield
Syntax
Description
[
computes prices of Treasury bond futures given a spot curve and bond yields at
settlement.QtdFutPrice
,AccrInt
] = tfutbyyield(SpotCurve
,Yield
,SettleFut
,MatFut
,ConvFactor
,CouponRate
,Maturity
)
In addition, you can use the Financial Instruments Toolbox™ method getZeroRates
for an
IRDataCurve
object with a Dates
property to create a
vector of dates and data acceptable for tfutbyyield
. For more
information, see Converting an IRDataCurve or IRFunctionCurve Object.
[
specifies options using one or more optional arguments in addition to the input arguments in
the previous syntax.QtdFutPrice
,AccrInt
] = tfutbyyield(___,Interpolation
)
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a