yahoo_finance_api
yahoo_finance_api copied to clipboard
Getting incorrect time when converting to local time
You should consider adding 5.30 hours to the time we get from yahoo data to coordinate with local IST.
timestamps = [_time.strftime('%a, %d %b %Y %H:%M:%S', _time.localtime(x+5.56060)) for x in timestamps]