NFCP (version 1.0.1)

Stitch.Contracts: Stitch Futures Contracts

Description

`r lifecycle::badge("deprecated")`

This function was deprecated due to a change in the name of the function to adhere to the tidyverse style guide.

Usage

Stitch.Contracts(
  Futures,
  TTM = NULL,
  maturity.matrix = NULL,
  rollover.frequency = NULL,
  Contract.Numbers = NULL,
  verbose = FALSE
)

Arguments

Examples

Run this code
# NOT RUN {
output <- Stitch.Contracts(Futures = SS.Oil$Contracts,
TTM = c(1, 5, 9, 13, 17)/12, maturity.matrix = SS.Oil$Contract.Maturities,
rollover.frequency = 1/12, verbose = TRUE)

## ->

output <- stitch_contracts(futures = SS_oil$contracts,
               futures_TTM = c(1, 5, 9, 13, 17)/12,
               maturity_matrix = SS_oil$contract_maturities,
               rollover_frequency = 1/12, verbose = TRUE)

# }

Run the code above in your browser using DataLab