Alpaca data returning 0 for price data?

Noticed my simple moving average wasn’t calculating correctly. After further examination I found that alpaca is returning 0’s for the close data is in after hours trading time periods. This is true for historical data as well and it really screws up the moving averages.

3 Likes