FXFuture
Description
Create and price an FXFuture
instrument object for one or
more FX Future instruments using this workflow:
Use
fininstrument
to create anFXFuture
instrument object for one or more FX Future instruments.Use
ratecurve
to specify a curve model for theFXFuture
instrument object.Use
finpricer
to specify aDiscount
pricing method for one or moreFXFuture
instruments.Use
cashsettle
to compute the cash settlement for theFXFuture
instrument andfairdelivery
to compute the fair delivery price for the underlying asset for theFXFuture
instrument.
For more detailed information on this workflow, see Get Started with Workflows Using Object-Based Framework for Pricing Financial Instruments.
For more information on the available models and pricing methods for an
FXFuture
instrument, see Choose Instruments, Models, and Pricers.
Creation
Syntax
Description
creates an FXFutureObj
= fininstrument(InstrumentType
,Maturity
=maturity_value,QuotedPrice
=quoted_price,ForeignRateCurve
=foreign_rate_curve)FXFuture
object for one or more FX Future
instruments by specifying InstrumentType
and sets the
properties for the
required name-value arguments Maturity
,
QuotedPrice
, and
ForeignRateCurve
.
The FXFuture
instrument supports currency pairs where
the price is quoted in domestic currency for one unit of foreign currency.
For more information, see FXFuture.
sets optional properties using
additional name-value arguments in addition to the required arguments in the
previous syntax. For example, FXFutureObj
= fininstrument(___,Name=Value
)FXFutureObj =
fininstrument("FXFuture",Maturity=datetime(2022,9,1),QuotedPrice=0.78,ForeignRateCurve=ForeignRC,Notional=200000,Name="fxfuture_instrument")
creates an FXFuture
. You can specify multiple name-value
arguments.
Input Arguments
Properties
Object Functions
cashsettle | Compute cash settlement for BondFuture ,
CommodityFuture , EquityIndexFuture , or
FXFuture instrument |
fairdelivery | Compute fair delivery price of underlying asset for BondFuture ,
CommodityFuture , EquityIndexFuture , or
FXFuture instrument |