Future
Create Future pricer object for
BondFuture, CommodityFuture,
EquityIndexFuture, and FXFuture using
ratecurve object
Since R2022a
Description
Create and price a BondFuture,
CommodityFuture, EquityIndexFuture, and
FXFuture instrument object with a ratecurve
object and a Future pricing method using this
workflow:
Create an interest-rate curve object using
ratecurve.Use
fininstrumentto create aBondFuture,CommodityFuture,FXFuture, orEquityIndexFutureinstrument object.Use
finpricerto specify aFuturepricer object for theBondFuture,CommodityFuture,FXFuture, orEquityIndexFutureinstrument object.
For more information on this workflow, see Get Started with Workflows Using Object-Based Framework for Pricing Financial Instruments.
For more information on the available instruments, models, and pricing methods for a
BondFuture, CommodityFuture,
EquityIncomeFuture, or FXFuture instrument,
see Choose Instruments, Models, and Pricers.
Creation
Description
creates a FuturePricerObj = finpricer(PricerType,DiscountCurve=ratecurve_object,SpotPrice=spot_price)Future pricer object by specifying
PricerType and the required name-value arguments
for DiscountCurve and SpotPrice to
set properties. For example,
FuturePricerObj =
finpricer("Future",DiscountCurve=ratecurve_obj,SpotPrice=125)
creates a Future pricer object.
Input Arguments
Name-Value Arguments
Output Arguments
Properties
Object Functions
price | Compute price for interest-rate instrument with Future
pricer |
Examples
Version History
Introduced in R2022a