Skip to content

Commit ce65b7a

Browse files
author
Cedric Qi
committed
vignettes and other files
1 parent 55de845 commit ce65b7a

File tree

12 files changed

+88
-23
lines changed

12 files changed

+88
-23
lines changed

pkg/.DS_Store

6 KB
Binary file not shown.

pkg/.Rbuildignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,3 @@
11
^.*\.Rproj$
22
^\.Rproj\.user$
3+
^LICENSE\.md$

pkg/.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
inst/doc

pkg/DESCRIPTION

Lines changed: 9 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,17 @@ Package: FER
22
Title: Financial Engineering functions in R
33
Version: 0.9
44
Authors@R: person("Jaehyuk", "Choi", email = "[email protected]", role = c("aut", "cre"))
5-
Description:
5+
Description: What the package does (one paragraph).
66
Depends:
77
R (>= 3.3.1)
8-
License: What license is it under?
8+
License: MIT + file LICENSE
99
Encoding: UTF-8
1010
LazyData: true
1111
RoxygenNote: 7.1.1
12+
Imports:
13+
statmod,
14+
devtools
15+
Suggests:
16+
knitr,
17+
rmarkdown
18+
VignetteBuilder: knitr

pkg/LICENSE

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
MIT License
2+
3+
Copyright (c) 2021 Financial Engineering in Python
4+
5+
Permission is hereby granted, free of charge, to any person obtaining a copy
6+
of this software and associated documentation files (the "Software"), to deal
7+
in the Software without restriction, including without limitation the rights
8+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9+
copies of the Software, and to permit persons to whom the Software is
10+
furnished to do so, subject to the following conditions:
11+
12+
The above copyright notice and this permission notice shall be included in all
13+
copies or substantial portions of the Software.
14+
15+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21+
SOFTWARE.

pkg/NAMESPACE

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@ export(BlackScholesImpvol)
66
export(BlackScholesPrice)
77
export(CevPrice)
88
export(SabrHagan2002)
9+
import(stats)

pkg/R/bachelier_price.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#' @param forward forward price. If given, \code{forward} overrides \code{spot}
1111
#' @param df discount factor. If given, \code{df} overrides \code{intr}
1212
#' @return option price
13-
#'
13+
#' @import stats
1414
#' @export
1515
#'
1616
#' @examples

pkg/R/blackscholes_price.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
#' @param forward forward price. If given, \code{forward} overrides \code{spot}
1111
#' @param df discount factor. If given, \code{df} overrides \code{intr}
1212
#' @return option price
13-
#'
13+
#' @import stats
1414
#' @export
1515
#'
1616
#' @examples

pkg/README.md

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
# FE-R
2+
Financial Engineering functions in R
3+
4+
## Contents
5+
* Black-Scholes option pricing model: price and implied volatility
6+
* Bachelier option pricing model: price and implied volatility
7+
8+
## Installation
9+
Install `devtools` package in run
10+
```R
11+
library(devtools)
12+
devtools::install_github("PyFE/FE-R", subdir="pkg")
13+
```

pkg/README.txt

Lines changed: 0 additions & 19 deletions
This file was deleted.

0 commit comments

Comments
 (0)