tdameritrade icon indicating copy to clipboard operation
tdameritrade copied to clipboard

snapshot quote returning as boolean

Open pegenaran opened this issue 4 years ago • 0 comments

Hi, just getting started on this, and found when I run the test, this is the result:

python tdapi_test.py XXXXXX xxxxxxxx XLU Password: Getting snapshot quote for XLU Traceback (most recent call last): File "tdapi_test.py", line 60, in main() File "tdapi_test.py", line 25, in main print(quoteList[args.ticker]) TypeError: 'bool' object is not subscriptable

For some reason the call to td.getSnapshotQuote([args.ticker],'stock',True) is returning a boolean object.

I am using python 3.7.2. Maybe that's the reason?

pegenaran avatar Nov 23 '19 18:11 pegenaran