So, I have modified the momentum example file provided on Alpaca’s github. I’ve taken out the MACD requirements and theoretically, the bot should be making trades, however, it is not. Here is the code: https://github.com/dpjenkin/modified-momentum-bot/blob/master/momo.py
When I run it, it prints the following:
Getting current ticker data... Success. Tracking 163 symbols. Getting historical data... 1/163 2/163 3/163 . . . 163/163 Success. Watching 163 symbols.
After that, it just runs without doing anything. Could somebody please take a look at the code and let me know what I’m doing wrong.