compute_ttm_years: Compute the time until maturity of an option, measured in...

Description Usage Arguments Value

View source: R/compute_ttm_years.R

Description

Compute the time until maturity of an option, measured in years

Usage

1
compute_ttm_years(current_time, expiry)

Arguments

current_time

Current DateTime

expiry

DateTime of option expiry

Value

Time to maturity, measured in years


zumthor86/OptionsAnalytics documentation built on Oct. 20, 2020, 1:15 p.m.