Hey Guys,
I have an algorithm attached. It's a super fundamental algorithm that uses mean reversion. You can see I've limited the price to earnings range of stocks between 9 and 15.62; however, when live trading today, it bought TMHC, a stock with a PE ratio of >20.
Any ideas what might be wrong with my code or might there be something wrong with morningstars data?