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.
I'm using the get_accounts method to retrieve my TD account and was hoping to pull my current positions as shown in this documentation. Unfortunately, I'm not finding the expected 'positions' key in the resulting dictionary (account values, etc appear correct).
Is this a bug or am I doing something incorrectly?
I'm using the
get_accounts
method to retrieve my TD account and was hoping to pull my current positions as shown in this documentation. Unfortunately, I'm not finding the expected 'positions' key in the resulting dictionary (account values, etc appear correct).Is this a bug or am I doing something incorrectly?
TDSession.get_accounts()[0]['securitiesAccount']
Thanks in advance!