hedgedReturns: Hedged option returns

Description Usage Arguments Details Value Note

Description

The function calculates returns to trading hedged GLT positions, given a grid of GLT price data and a time series of high frequency stock futures data. The hedging frequency is determined by the frequency of stock futures data. If there is missing data in the time series of GLT values, these days are ommitted from hedging.

Usage

1
2
3
hedgedReturns(igft.list, igft.days, hf.dframe, weekly.grid,
  trade.end.grid = NULL, u.seed, fixed.maturities = c(1/12, 6/12),
  trade.int = 5/252)

Arguments

igft.list

A list of buy and sell values of the igft (the difference comes from the maturity decreasing over the trading interval + vol. changes) as output by constMatiGFT

igft.days

A vector containing the days corresponding to igft.list

hf.dframe

A data frame containing high frequency futures returns. Has 3 columns, day, time and F (which is the futures price)

weekly.grid

The approximately weekly grid of days where we empirically observe option prices (or their transformed values)

trade.end.grid

(optional) A grid of days on which trades starting at weekly.grid are supposed to end. Use if weekly.grid has some 'gaps'.

fixed.maturities

The maturities of the option portfolios we are mimicking

trade.int

The trading interval (annualized in business year) over which we hold the option position.

Details

This function calculates the hedged option trading returns, using high frequency option data and approximately daily calculated igft.

Value

Returns a data frame containing the starting day of each option position (assumed to be bought at the end of the day) and the corresponding weekly hedged return.

Note

TODO: Adapt the function so that old calls work as intended, but new calls use daily data for calculating hedged returns; instead of dropping missing-data days from hedging, do wider interpolation; Ensure that with multiple maturities, multiple time series of futures prices are used.


piotrek-orlowski/impliedCF documentation built on May 7, 2019, 8:18 a.m.