Description Usage Arguments Value Author(s) References Examples
View source: R/BSM_utilities.R
The delivery price in a forward contract that causes the contract to be worth zero.
1 | ForwardPrice(Spot, Time, Interest, Yield, Income)
|
Spot |
S_0, the spot price of the asset |
Time |
T, the time to maturity |
Interest |
r, the risk-free rate |
Yield |
q, asset yield with continuous compounding |
Income |
I, the PV of an asset's income |
the forward price
George Fisher GeorgeRFisher@gmail.com
Hull 7th edition Ch 5 P 103-108
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 | library(ustreasuries)
# Hull 7th edition Ch 5 P 103
Spot <- 40
Time <- 0.25
Interest <- 0.05
Yield <- 0
Income <- 0
ForwardPrice(Spot, Time, Interest, Yield, Income)
# Hull 7th edition Ch 5 P 105
Spot <- 900
Time <- 0.75
Interest <- 0.04
Yield <- 0
Income <- 40 * exp(-0.03 * 4/12) # PV(40) = 39.60
ForwardPrice(Spot, Time, Interest, Yield, Income)
# Hull 7th edition Ch 5 P 107
Spot <- 25
Time <- 0.50
Interest <- 0.10
# convert 0.04 discrete to continuous
Yield_d <- 0.04
Yield <- r_continuous(Yield_d, 2)
Income <- 0
ForwardPrice(Spot, Time, Interest, Yield, Income)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.