Learn R Programming

Trading (version 3.2)

EuroLotteryBacktesting: Euromillions/EuroJackpot Backtesting

Description

Backtests the numbers the user has selected against the full (or the specified) history of Euromillions/EuroJackpot results

Usage

EuroLotteryBacktesting(euroLottery_results, date_since, user_input)

Value

The backtested results

Arguments

euroLottery_results

The full list of EuroMillions/EuroJackpot 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

euromillions_results = EuroMillionsResults()
user_input = c(10,20,30,40,50,5,10)
backtested_results = EuroLotteryBacktesting(euromillions_results, '2005-01-01', user_input)

Run the code above in your browser using DataLab