Coding A Trading Bot In Python