Backtester for trading algorithms in Python