td-ameritrade-python-api
td-ameritrade-python-api copied to clipboard
Unofficial Python API client library for TD Ameritrade. This library allows for easy access of the Standard API and allows users to build data pipelines for the Streaming API.
Error while connectiong to tdstream: AttributeError: module 'websockets' has no attribute 'client'
I'm trying to connect to the stream on ubuntu 20.04 and python3.8 Traceback (most recent call last): ... File "services/TDAmery/AccountActivityStreamListener.py", line 18, in read_stream await stream_client.build_pipeline() File "/home/ubuntu/news-miner/venv/lib/python3.8/site-packages/td/stream.py", line 500,...
The [authentication-workflow](https://github.com/clarson99/td-ameritrade-python-api#authentication-workflow) section of the readme is unclear. It suggests running a file from VS Code, but it never says what file to run.
Is there a way to suppress this message? I've tried the following without success: logging.getLogger("td").setLevel(logging.WARNING) logging.getLogger("td.client").setLevel(logging.WARNING) logging.getLogger("TDClient").setLevel(logging.WARNING)
Hi All I'm trying to place a trade using the paper account, however im getting an error saying i dont have permission to access this resource. i'm not able to...
I keep getting the following error when I try to run any of the pages. The config file is there in the right folder. If I take the values from...
I used the streaming code example from https://tda-api.readthedocs.io/en/latest/streaming.html But I received this error: tda.streaming.UnexpectedResponseCode: unexpected response code: 3, msg is 'Login Denied.' I've modified it to this: client = easy_client(config.api_key,...
Issues link: https://github.com/areed1192/td-ameritrade-python-api/issues/238
Hi all...please forgive me with this question - I am pretty sure its me missing something obvious.... I am consuming the streaming data I get the Bid_Price, Ask_price,Last_Price, Last_Size data...
I am running this library on Max OSX Big Sur 11.6 and I keep on running in the SSL/urlib3 error of UNSAFE_LEGACY_RENEGOTIATION_DISABLED when I try to create my initial authentication...
First of all, I am really happy to use your excellent library Currently I am working on tdameritrade project. I am facing one issue(403 error) when trying to get the...