Skip to main content

Pipeline Status Documentation Status Coverage Report PyPI Version PyPI download month

TDAmeritrade Client

A tool that links to the TDA API to perform requests.

Read the docs.

Installation:

Run pip install tdameritrade-client within a virtual environment

Basic Usage:

To get started, use the following code snippet:

from tdameritrade_client.client import TDClient

td_client = TDClient(acct_number=<your account number>,
                     oauth_user_id=<the id registered to the TD app you would like to authenticate with>,
                     redirect_uri=<the redirect URI registered to the TD app>,
                     token_path=<optional path to an existing access token>)
td_client.run_auth()
acct_info = td_client.get_positions()

Tests

This package uses poetry, which can be installed by running:

curl -sSL https://raw.githubusercontent.com/sdispater/poetry/master/get-poetry.py | python

To run the tests, first install the package by cloning the repo and running poetry install from the root of the repository. Then, run poetry run pytest tests/ from the root directory of this repository.

Metadata

Release files for tdameritrade-client 0.5.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tdameritrade-client 0.5.0
File Size Uploaded Provenance Actions
tdameritrade-client-0.5.0.tar.gz 12.0 kB Without provenance Details for tdameritrade-client-0.5.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for tdameritrade-client 0.5.0
File Interpreter ABI Platform Actions
tdameritrade_client-0.5.0-py3-none-any.whl Python 3 none any Details for tdameritrade_client-0.5.0-py3-none-any.whl

Total release size: 25.9 kB

Release files / tdameritrade-client-0.5.0.tar.gz

Download URL tdameritrade-client-0.5.0.tar.gz
Size 12.0 kB
Tags Source
SHA-256 checksum
How to use checksums
e9d2ab5bb684b3d0552f40358b9f877b9ed7948bcbeb727a7cc8b6fbab019a5c
BLAKE2b-256 checksum
How to use checksums
ece308c99d4ad4e387ddd7abc0d0caec538a7633a5a3e17dae1326634aaff9c9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.16 CPython/3.6.8 Linux/4.19.23-coreos-r1

Release files / tdameritrade_client-0.5.0-py3-none-any.whl

Download URL tdameritrade_client-0.5.0-py3-none-any.whl
Size 13.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce9e1f33cbcbd89d31762685479f0e36175dff31b4c9d914faac364aa6e1e70c
BLAKE2b-256 checksum
How to use checksums
c2e5c5426ed83bd3d8d53e00adcde2ca49d7888e83e49acfdedf1db9e099cb90
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/0.12.16 CPython/3.6.8 Linux/4.19.23-coreos-r1

Security for tdameritrade-client 0.5.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page