tfutbyprice
Future prices of Treasury bonds given spot price
Syntax
Description
[
computes future prices of Treasury notes and bonds given the spot price.QtdFutPrice
,AccrInt
] = tfutbyprice(SpotCurve
,Price
,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 tfutbyprice
.
For more information, see Converting an IRDataCurve or IRFunctionCurve Object.
Note
Alternatively, you can use the BondFuture
object to price bond future instruments. For more information, see Get Started with Workflows Using Object-Based Framework for Pricing Financial Instruments.
[
specifies options using one or more optional arguments in addition to the input
arguments in the previous syntax.QtdFutPrice
,AccrInt
] = tfutbyprice(___,Interpolation
)
Examples
Input Arguments
Output Arguments
Version History
Introduced before R2006a