Skip to main content

APIs for TD Ameritrade

Project description

tdameritrade

Python interface to TD Ameritrade Api

Build Status Coverage BCH compliance License PyPI Docs

Getting Started

Install

Install from pip

pip install tdameritrade

or from source

python setup.py install

Docs

Read the docs!

The main interface is the TDClient object. You can pass the token to this object, or put it in an environment variable ACCESS_TOKEN.

All functionality is available as methods on the TDClient object. For most methods, there is a convenience method to return the result as a pandas DataFrame.

Most data fetching methods accept the symbol as argument. For equities, this is just the ticker.

For different assets, utilize the search and instrument methods to lookup symbols. For options, you can utilize the options method.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

tdameritrade-0.1.0.tar.gz (13.0 kB view hashes)

Uploaded Source

Built Distribution

tdameritrade-0.1.0-py2.py3-none-any.whl (11.5 kB view hashes)

Uploaded Python 2 Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page