Skip to content

Commit

Permalink
Used doi and add more references
Browse files Browse the repository at this point in the history
  • Loading branch information
jaehyukchoi committed Feb 18, 2021
1 parent 21ed54a commit 9473f20
Show file tree
Hide file tree
Showing 8 changed files with 25 additions and 6 deletions.
2 changes: 1 addition & 1 deletion pkg/R/bachelier_impvol.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
#' @references Choi, J., Kim, K., & Kwak, M. (2009).
#' Numerical Approximation of the Implied Volatility Under Arithmetic Brownian
#' Motion. Applied Mathematical Finance, 16(3), 261-268.
#' \url{https://doi.org/10.1080/13504860802583436}
#' \doi{10.1080/13504860802583436}
#'
#' @export
#'
Expand Down
2 changes: 1 addition & 1 deletion pkg/R/bachelier_price.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#' @references Choi, J., Kim, K., & Kwak, M. (2009).
#' Numerical Approximation of the Implied Volatility Under Arithmetic Brownian
#' Motion. Applied Mathematical Finance, 16(3), 261-268.
#' \url{https://doi.org/10.1080/13504860802583436}
#' \doi{10.1080/13504860802583436}
#'
#' @examples
#' spot <- 100
Expand Down
2 changes: 1 addition & 1 deletion pkg/R/blackscholes_impvol.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
#'
#' @references Giner, G., & Smyth, G. K. (2016). statmod: Probability Calculations
#' for the Inverse Gaussian Distribution. The R Journal, 8(1), 339-351.
#' \url{https://doi.org/10.32614/RJ-2016-024}
#' \doi{10.32614/RJ-2016-024}
#'
#' @export
#'
Expand Down
9 changes: 9 additions & 0 deletions pkg/R/blackscholes_price.R
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,15 @@
#' @return option price
#' @export
#'
#' @references Black, F., & Scholes, M. (1973). The Pricing of Options and
#' Corporate Liabilities. Journal of Political Economy, 81(3), 637-654.
#' \doi{10.1086/260062}
#'
#' Black, F. (1976). The pricing of commodity contracts. Journal of Financial
#' Economics, 3(1), 167-179. \doi{10.1016/0304-405X(76)90024-6}
#'
#' \url{https://en.wikipedia.org/wiki/Black-Scholes_model}
#'
#' @examples
#' spot <- 100
#' strike <- seq(80,125,5)
Expand Down
2 changes: 1 addition & 1 deletion pkg/man/BachelierImpvol.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/man/BachelierPrice.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion pkg/man/BlackScholesImpvol.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

10 changes: 10 additions & 0 deletions pkg/man/BlackScholesPrice.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 9473f20

Please sign in to comment.