I understand that the close price of the stocks is not the official close of the market and it is fine but I see errors even in the high low of the day !
Example:
IBM on 2016-01-07(verified with print and debug)
High=134.1800
Low=133.4600
Close=134.1800
So the close should be (one of )the highest point of the day which is completely wrong as you can see in any intraday chart.
(IBM was going down that day)
How is it possible ??????
Data from Yahoo is consistent with the intraday chart: High=135.0200 Low=132.4300 Close=132.8600
To retrieve the data I simply wrote:
closes = data.history(context.security_list, 'close', 2, '1d')
highs = data.history(context.security_list, 'high', 2, '1d')
lows = data.history(context.security_list, 'low', 2, '1d')
then got the right symbol...