Learn R Programming

Trading (version 3.1)

SetForLifeBacktesting: 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)

Value

The backtested results

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

Author

Tasos Grivas <tasos@openriskcalculator.com>

Examples

Run this code

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

Run the code above in your browser using DataLab