ragtop1.1.1 package

Pricing Equity Derivatives with Extensions of Black-Scholes

accelerated_coupon_value

Present value of coupons according to an acceleration schedule

adjust_for_dividends

Find the sum of time-adjusted dividend values and adjust grid prices a...

american

Price one or more american-exercise options

american_implied_volatility

Implied volatility of an american option with equity-independent term ...

AmericanOption-class

A standard option contract allowing for early exercise at the choi...

black_scholes_on_term_structures

Black-Scholes pricing of european-exercise options with term structure...

blackscholes

Vectorized Black-Scholes pricing of european-exercise options

CALL

Constant CALL for defining option contracts

CallableBond-class

Callable (and putable) corporate or government bond.

construct_implicit_grid_structure

Structure of implicit numerical integration grid

construct_tridiagonals

Matrix entries for implicit numerical differentiation using Neumann bo...

control_variate_pairs

Form instrument objects for vanilla options

ConvertibleBond-class

Convertible bond with exercise into stock

coupon_value_at_exercise

Present value of coupons according to an acceleration schedule

CouponBond-class

Standard corporate or government bond

detail_from_AnnivDates

Convert output of BondValuation::AnnivDates to inputd for Bond

EquityOption-class

An option contract with call or put terms

equivalent_bs_vola_to_jump

Find straight Black-Scholes volatility equivalent to jump process with...

equivalent_jump_vola_to_bs

Find jump process volatility with a given default risk from a straight...

EuropeanOption-class

A standard option contract

find_present_value

Use a model to estimate the present value of financial derivatives

fit_to_option_market

Calibrate volatilities and equity-linked default intensity

fit_to_option_market_df

Calibrate volatilities and equity-linked default intensity making many...

fit_variance_cumulation

Fit piecewise constant volatilities to a set of equity options

form_present_value_grid

Use a model to estimate the present value of financial derivatives on ...

GridPricedInstrument-class

Representation of financial instrument amenable to grid pricing scheme...

implied_jump_process_volatility

Implied volatility of any instrument

implied_volatilities

Implied volatilities of european-exercise options under Black-Scholes ...

implied_volatilities_with_rates_struct

Find the implied volatility of european-exercise options with a term s...

implied_volatility

Implied volatility of european-exercise option under Black-Scholes or ...

implied_volatility_with_term_struct

Find the implied volatility of a european-exercise option with term st...

infer_conforming_time_grid

A time grid with extra times inserted for coupons, calls and puts

integrate_pde

Numerically integrate the pricing differential equation

is.blank

Return TRUE if the argument is empty, NULL or NA

iterate_grid_from_timestep

Iterate over a set of timesteps to integrate the pricing differential ...

penalty_with_intensity_link

Helper function (volatility-normalized pricing error) for calibration ...

price_with_intensity_link

Helper function (instrument pricing) for calibration of equity-linked ...

PUT

Constant PUT for defining option contracts

Quandl_df_fcn_UST

Get a US Treasury curve discount factor function

Quandl_df_fcn_UST_raw

Get a US Treasury curve discount factor function

ragtop

Pricing schemes for derivatives using equity-linked default intensity

shift_for_dividends

Shift a set of grid values for dividends paid, using spline interpolat...

spot_to_df_fcn

Create a discount factor function from a yield curve

take_implicit_timestep

Backwardate grid values one timestep

time_adj_dividends

Find the sum of time-adjusted dividend values

TIME_RESOLUTION_FACTOR

Constant to define when times are considered so close to each other th...

TIME_RESOLUTION_SIGNIF_DIGITS

Constant to define when times are considered so close to each other th...

timestep_instruments

Take an implicit timestep for all the given instruments

value_from_prior_coupons

Present value of past coupons paid

variance_cumulation_from_vols

Create a variance cumulation function from a volatility term structure

ZeroCouponBond-class

A simple contract paying the notional amount at the maturity

Algorithms to price American and European equity options, convertible bonds and a variety of other financial derivatives. It uses an extension of the usual Black-Scholes model in which jump to default may occur at a probability specified by a power-law link between stock price and hazard rate as found in the paper by Takahashi, Kobayashi, and Nakagawa (2001) <doi:10.3905/jfi.2001.319302>. We use ideas and techniques from Andersen and Buffum (2002) <doi:10.2139/ssrn.355308> and Linetsky (2006) <doi:10.1111/j.1467-9965.2006.00271.x>.

  • Maintainer: Brian K. Boonstra
  • License: GPL (>= 2)
  • Last published: 2020-03-03