Construct fixed-rate instrument
InstSet = instfixed(CouponRate,Settle,Maturity,FixedReset,Basis,Principal,EndMonthRule)
InstSet = instfixed(InstSet,CouponRate,Settle,Maturity,FixedReset,Basis,Principal,EndMonthRule)
[FieldList,ClassList,TypeString]
= instfixed
| Instrument variable. This argument is specified only
when adding fixed-rate note instruments to an existing instrument
set. See |
| Decimal annual rate. |
| Settlement date. Date character vector or serial date number representing the settlement date of the fixed-rate note. |
| Date character vector or serial date number representing the maturity date of the fixed-rate note. |
| (Optional) |
| (Optional) Day-count basis of the instrument. A vector of integers.
For more information, see Basis. |
| (Optional) |
| (Optional) |
Data arguments are number of instruments (NINST
)-by-1
vectors,
scalar, or empty. Fill in unspecified entries vectors with NaN
.
Only one data argument is required to create the instrument. The others
may be omitted or passed as empty matrices []
.
InstSet = instfixed(CouponRate,Settle,Maturity,FixedReset,Basis,Principal,EndMonthRule)
creates a new instrument set containing fixed-rate instruments.
InstSet = instfixed(InstSet,CouponRate,Settle,Maturity,FixedReset,Basis,Principal,EndMonthRule)
adds fixed-rate instruments to an existing instrument set.
[FieldList,ClassList,TypeString]
= instfixed
displays the classes.
FieldList
is a number of fields
(NFIELDS
-by-1
) cell array of character vectors
listing the name of each data field for this instrument type.
ClassList
is an NFIELDS
-by-1
cell
array of character vectors listing the data class of each field. The
class determines how arguments are parsed. Valid character vectors
are 'dble'
, 'date'
, and 'char'
.
TypeString
is a character vector specifying
the type of instrument added. For a fixed-rate instrument, TypeString
= 'Fixed'
.
hjmprice
| instaddfield
| instbond
| instcap
| instdisp
| instswap
| intenvprice