td-ameritrade-python-api icon indicating copy to clipboard operation
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.

Results 50 td-ameritrade-python-api issues
Sort by recently updated
recently updated
newest added

Hi! It seems like specifying a cancel_time to order_duration will prevent the order from being submitted (unless I can't figure out what datetime format TDA expects). Whatever I put in...

Hello I'm trying to get symbol price history of pre and post market data (from previous day at 4:00PM to current day at 9:30AM) But, unfortunately it seems that the...

In td_state.json file if we **change** access_token and refresh_token for **multiple** users will the authentication work properly?? @areed1192

I'm getting the traceback error below when using the test_streaming_client.py. I had the alter the code because it was not getting the file with a backward slash. ```python import json...

- Removed "cancelTime" as it conflicts with "duration" "DAY" - Corrected "orderStrategyType" for the second OCO child order to "SINGLE" - Corrected "orderType" for the second OCO child order to...

Is there a way to download split history from tdameritrade? I don't see it availble. If not, is there any alternative source that offers this information?

first time auth, this happens. `Traceback (most recent call last): File "C:\Users\polym\OneDrive\Desktop\Programming\newtrdaing\main.py", line 12, in TDSession.login() File "C:\Users\polym\OneDrive\Desktop\Programming\newtrdaing\td\client.py", line 266, in login self.oauth() File "C:\Users\polym\OneDrive\Desktop\Programming\newtrdaing\td\client.py", line 387, in oauth self.exchange_code_for_token(...

It appears that market_on_close orders cannot be done with multiple orders in the orderLegCollection? If I only include a single order it works. But multiple orders throws this error: NotNulError:...

documentation

Has anyone encountered this problem?The order status synchronized from the api is different from the order status on thinkorswim. for example: Below is the order status of thinkorswim ![image](https://user-images.githubusercontent.com/17842829/119831183-98089700-bf2f-11eb-8bc4-da75379d0b2c.png) the...

I am running this command in terminal "python3 -m pip install td-ameritrade-python-api" and getting this error "Could not find a version that satisfies the requirement td-ameritrade-python-api (from versions: ) No...