Description Usage Arguments Details Value Examples
Calculates the probability of the underlying asset value falling between two prices in a designated time frame, given the daily standard devaiation of the underlying returns.
1 2 |
spot |
Current price of the underlying asset |
lower |
Lower price of the range |
upper |
Upper price of the range |
asd |
Annualized standard deviation of the underlying returns |
dsd |
Daily standard deviation of the underlying returns (Annual vol/sqrt(256)), used as an alternative to the asd parameter in conjuction with the dte parameter |
dte |
Days until expiration, designated time frame |
mean |
The average daily price movement, default = 0 |
p |
Designated probability |
quantile |
Logical. If True, calculates the probable price range |
tradedays |
Number of trade days in a year, default = 262 |
This function has two separate possible operations: 1. Calculates the probability of the underlying asset value falling between two prices in a designated time frame, given the daily standard devaiation of the underlying returns. 2. Calculates the probable price range, given a set probability
Returns a probability (if quantile = FALSE), Returns a data.frame (if quantile = TRUE)
1 2 |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.