Traceback (most recent call last):


 "C:\Users\user\AppData\Local\conda\conda\envs\myclone\lib\site-packages\urllib3\contrib\pyopenssl.py", line 441, in wrap_socket

cnx.do_handshake()


 "C:\Users\user\AppData\Local\conda\conda\envs\myclone\lib\site-packages\OpenSSL\SSL.py", line 1806, in do_handshake

self._raise_ssl_error(self._ssl, result)


 "C:\Users\user\AppData\Local\conda\conda\envs\myclone\lib\site-packages\OpenSSL\SSL.py", line 1546, in _raise_ssl_error

_raise_current_error()


 "C:\Users\user\AppData\Local\conda\conda\envs\myclone\lib\site-packages\OpenSSL\_util.py", line 54, in exception_from_error_queue

raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')]


Traceback (most recent call last):


 "testfile.py", line 273, in <module>

updatePrices(logger)


 "testfile.py", line 185, in updatePrices

hist_prices = yahoo_financials.get_historical_price_data(date_N_days_ago, date_today, 'daily')


 "/usr/local/lib/python3.5/dist-packages/yahoofinancials/__init__.py", line 547, in get_historical_price_data

return self.get_stock_data('history', hist_obj=hist_obj)


 "/usr/local/lib/python3.5/dist-packages/yahoofinancials/__init__.py", line 428, in get_stock_data

dict_ent = self._create_dict_ent(tick, statement_type, tech_type, report_name, hist_obj)


 "/usr/local/lib/python3.5/dist-packages/yahoofinancials/__init__.py", line 364, in _create_dict_ent

cleaned_re_data = self._clean_historical_data(re_data)


 "/usr/local/lib/python3.5/dist-packages/yahoofinancials/__init__.py", line 270, in _clean_historical_data

cleaned_date = self.format_date(v)


 "/usr/local/lib/python3.5/dist-packages/yahoofinancials/__init__.py", line 111, in format_date

form_date = str((datetime.datetime(1970, 1, 1) + datetime.timedelta(seconds=in_date)).date())

TypeError: unsupported type for timedelta seconds component: NoneType
