Plot a swap Tree

Description

Function to plot a Swap Tree

Usage

1

Details

The user inputs are as follows:
Face Value: to be entered in numbers for e.g. 120.50
Rate per annum: to be entered in percent. For e.g. enter 5.0 for 5 percent
u: up move factor- to be entered in decimals. For e.g. 1.25
d: down move factor- to be entered in decimals. For e.g. 0.80
q: probability of up move- to be entered in decimals. For e.g. 0.60
Fixed Rate: to be entered in percent. For e.g. 4.5 for 4.5 percent
Swap Maturity: Clicking on the '+' and '-' respectively increases and decreases the value.
Plot type: chosen between Swap tree / Rate tree

Value

A plot of Swap Tree with user specified parameters.

Author(s)

S Subramanian <ssubramanian@sssihl.edu.in>

References

David G. Luenberger, "Investment Science", 2/E, Oxford University Press, 2013.

See Also

ratetreegui,swaptiontreegui

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.