Skip to content

Commit

Permalink
refactoring: removing unnessary interval functions
Browse files Browse the repository at this point in the history
  • Loading branch information
hudde committed Jan 31, 2024
1 parent 63902a6 commit f118066
Showing 1 changed file with 0 additions and 5 deletions.
5 changes: 0 additions & 5 deletions R/Malliavin_Geometric_Asian_Greeks.R
Original file line number Diff line number Diff line change
Expand Up @@ -155,11 +155,6 @@ Malliavin_Geometric_Asian_Greeks <- function(
mean(payoff(initial_price * I_0/time_to_maturity, exercise_price) * weight))
}

E_paths <- function(weight) {
return(exp(-(r - dividend_yield) * time_to_maturity) *
payoff(initial_price * I_0/time_to_maturity, exercise_price) * weight)
}

# TODO: comment
I_0_geom <-
exp(calc_I(log(initial_price * X), steps, dt) / time_to_maturity)
Expand Down

0 comments on commit f118066

Please sign in to comment.