two-sides martingale prototype
bt.py script created