I know I must be doing something stupid, but I feel like the data that is coming into the OnData(TradeBars) handler is not correct. For example, the stock Allergan (AGN) has ranged from approximately $340/share to $320/share between 2015-08-04 and today. In the code below, the backtest should at some point print "Below 325!" to the log, but it never does. What am I doing wrong?

Thanks,

Carl

Author