Use this example index to jump to code examples in the documentation.
Creating New Instruments or Properties
instfind Examples.
instselect Examples.
Sensitivities and Prices
Pricing a Portfolio of Instruments
Calculating Rates Applicable to Different Periods
Calculating Discount Factors from Rates
Calculating Rates from Discounts
Creating the HJM Forward Rate Tree (hjmtree)
Specifying the Volatility Model (VolSpec)
Specifying the Interest Rate Term Structure (RateSpec)
Specifying the Time Structure (TimeSpec)
Creating an HJM Tree
Pricing and the Price Tree
HJM Pricing
Calculating Prices and Sensitivities
Calculating Prices and Sensitivities
Pricing and the Price Tree
Valuation Date Prices
Additional Observation Times
Example 1.
Example 2.
Example 3.
Example 4.
Example 5.
Example 6.
Specifying the Volatility (VolSpec)
Specifying the Interest Rate Term Structure (RateSpec)
Specifying the Time Structure (TimeSpec)
Creating a BDT Tree
BDT Pricing Example
Maintaining Existing Allocations
Partially Hedged Portfolio
Fully Hedged Portfolio
Minimizing Portfolio Sensitivities
Specifying Constraints with ConSet
Self-Financing Hedges (hedgeslf)
Minimize Portfolio Sensitivities
Fully Hedged Portfolio
Under-Determined System