Coding a Python Stock Trading bot with Alpaca