Financial Modeling in Maple 15 - Maple Programming Help

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : System : Information : Updates : Maple 15 : updates/Maple15/financialmodeling

Financial Modeling in Maple 15

 

Finance Package for Financial Modeling and Personal Finance

Examples

Finance Package for Financial Modeling and Personal Finance

• 

The Finance package is new in Maple 15. This package offers functions for personal finance and advanced financial modeling. Parts of this package existed as the Maple Financial Modeling Toolbox before.

• 

Areas of coverage:

– 

Term structures and interest rates

– 

Stochastic processes

– 

Lattice methods

– 

Calendars and day counters

– 

Financial instruments such as European, American, and Bermudan options

– 

Cash flow analysis

– 

Short rate models

– 

Personal finance

Examples

If you would like to receive 100 units of money each year for 20 years (for, say, a retirement package), you need less than 2000 units to start with, because interest is paid (and compounds) over the sum that will be paid to you later. The amount needed can be computed by the annuity function. The following shows the result for an interest rate of 4%.

withFinance:

amountannuity100,0.04,20

amount1359.032634

(1)

In order to model stock prices and volatility, financial modelers use many variations of different stochastic processes. One of these is the Merton Jump Diffusion process, demonstrated below. We generate 5 realizations of a particular Merton Jump Diffusion process.

XMertonJumpDiffusion100,0.5,0.05,0.01,0.2,0.,0.5:

PathPlotXt,t=0..1,timesteps=100,replications=5,color=red..blue,thickness=3,axes=BOXED,gridlines=true

See Also

Finance

Index of New Maple 15 Features