UKLotteryBacktesting {Trading} | R Documentation |
UKLottery Backtesting
Description
Backtests the numbers the user has selected against the full (or the specified) history of UKLottery results
Usage
UKLotteryBacktesting(uklottery_results, date_since, user_input)
Arguments
uklottery_results |
The full list of UKLottery 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
uklottery_results = UKLotteryResults()
user_input = c(5,10,20,30,40,50)
backtested_results = UKLotteryBacktesting(uklottery_results, '2005-01-01', user_input)
[Package Trading version 3.2 Index]