Xi_put_price | R Documentation |
The Xi_put_price function takes parameters from Black-Scholes model and returns a number of stock needed to fully hedge european put option.
Xi_put_price(asset, strike, rate, vol, time, End_Time)
asset |
a numeric vector of asset prices. |
strike |
numeric value, strike price for call or put option. |
rate |
numeric value, risk free rate in the model, r >= 0. |
vol |
numeric value, volatility of the model, vol > 0. |
time |
a numeric vector of actual time, time > 0. |
End_Time |
end time of the option, End_time >= time. |
A numeric vector, price of the european put option.
https://en.wikipedia.org/wiki/Black–Scholes_model.
Xi_put_price(100, 100, 0, 0.5, 0, 1) Xi_put_price(c(100, 120), 100, 0, 0.3, 0, 1) Xi_put_price(c(100, 120), 100, 0, 0.3, c(0, 0.5), 1)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.