backtester prototype completed