Backtest

Functions for backtesting betting strategy

Examples: