Closed frankhhuo closed 3 years ago
When I was using 0.3.4, I started to get the td.execptions.TknExpError: {"error":Not Authorized."}. I saw the solution in another issue is to pip install 0.3.5. However, with this version, when I am doing a Unit Test, it returns None, instead of a quote for what I described above.
I found out that my authentication expired and after I re-authorized, it worked. Thanks.
I have recently upgraded to 0.3.5, however, when I am running code snippets that worked before, I am getting empty quotes by calling: msft_quotes = TDSession.get_quotes(instruments=['MSFT'])
and msft_qutoes will be None after the call.
When I did TDSession.login(), it did return True and I have not changed my credentials. not sure what caused the problem.
Thanks very much!