SetForLifeBacktesting: Set For Life Backtesting

View source: R/SetForLifeBacktesting.R

SetForLifeBacktestingR Documentation

Set For Life Backtesting

Description

Backtests the numbers the user has selected against the full (or the specified) history of Set For Life results

Usage

SetForLifeBacktesting(setforlife_results, date_since, user_input)

Arguments

setforlife_results

The full list of Set For Life results

date_since

The date after which the analysis is to be performed, i.e. 2022-12-22

user_input

The seven numbers the user has selected

Value

The backtested results

Author(s)

Tasos Grivas <tasos@openriskcalculator.com>

Examples


setforlife_results = SetForLifeResults()
user_input = c(10,20,30,40,50,5,10)
backtested_results = SetForLifeBacktesting(setforlife_results, '2005-01-01', user_input)

Trading documentation built on April 13, 2025, 5:10 p.m.