Skip to content

Commit 9473f20

Browse files
committed
Used doi and add more references
1 parent 21ed54a commit 9473f20

File tree

8 files changed

+25
-6
lines changed

8 files changed

+25
-6
lines changed

pkg/R/bachelier_impvol.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
#' @references Choi, J., Kim, K., & Kwak, M. (2009).
1515
#' Numerical Approximation of the Implied Volatility Under Arithmetic Brownian
1616
#' Motion. Applied Mathematical Finance, 16(3), 261-268.
17-
#' \url{https://doi.org/10.1080/13504860802583436}
17+
#' \doi{10.1080/13504860802583436}
1818
#'
1919
#' @export
2020
#'

pkg/R/bachelier_price.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515
#' @references Choi, J., Kim, K., & Kwak, M. (2009).
1616
#' Numerical Approximation of the Implied Volatility Under Arithmetic Brownian
1717
#' Motion. Applied Mathematical Finance, 16(3), 261-268.
18-
#' \url{https://doi.org/10.1080/13504860802583436}
18+
#' \doi{10.1080/13504860802583436}
1919
#'
2020
#' @examples
2121
#' spot <- 100

pkg/R/blackscholes_impvol.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
#'
1414
#' @references Giner, G., & Smyth, G. K. (2016). statmod: Probability Calculations
1515
#' for the Inverse Gaussian Distribution. The R Journal, 8(1), 339-351.
16-
#' \url{https://doi.org/10.32614/RJ-2016-024}
16+
#' \doi{10.32614/RJ-2016-024}
1717
#'
1818
#' @export
1919
#'

pkg/R/blackscholes_price.R

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,15 @@
1212
#' @return option price
1313
#' @export
1414
#'
15+
#' @references Black, F., & Scholes, M. (1973). The Pricing of Options and
16+
#' Corporate Liabilities. Journal of Political Economy, 81(3), 637-654.
17+
#' \doi{10.1086/260062}
18+
#'
19+
#' Black, F. (1976). The pricing of commodity contracts. Journal of Financial
20+
#' Economics, 3(1), 167-179. \doi{10.1016/0304-405X(76)90024-6}
21+
#'
22+
#' \url{https://en.wikipedia.org/wiki/Black-Scholes_model}
23+
#'
1524
#' @examples
1625
#' spot <- 100
1726
#' strike <- seq(80,125,5)

pkg/man/BachelierImpvol.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/man/BachelierPrice.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/man/BlackScholesImpvol.Rd

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

pkg/man/BlackScholesPrice.Rd

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)