Description Usage Details Value Author(s) References See Also

View source: R/bondforwardtreegui.R

Function to plot a Bond Forward Tree

1 |

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

Coupon: 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

Bond Maturity: Clicking on the '+' and '-' respectively increases and decreases the value.

Forward Maturity: must be lesser than Bond Maturity. Clicking on the '+' and '-' respectively increases and decreases the value.

Plot type: chosen between Bond Forward tree / Bond tree

A plot of Bond Forward Tree with user specified parameters.

S Subramanian <[email protected]>

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

`bondtreegui,bondfuturestreegui`

Embedding an R snippet on your website

Add the following code to your website.

For more information on customizing the embed code, read Embedding Snippets.