Skip to main content

Tradier API client implemented in python

Project description

Tradier-Python

Tradier-python is a python client for interacting with the Tradier API.

Getting Started

You will need a Tradier account token which you can download from your account after logging in.

The client also takes an optional default_account_id which can make it easier to get information if you only have one account.

The default endpoint points to the sandbox. You will need to set the endpoint to the brokerage endpoint for live use.

Reference documentation for the API can be found here:

https://documentation.tradier.com/brokerage-api/overview/market-data

Installing

pip install tradier-python

Exmple

import os

from tradier_python import TradierAPI

token = os.environ["TRADIER_TOKEN"]
account_id = os.environ["TRADIER_ACCOUNT_ID"]
t = TradierAPI(token=token, default_account_id=account_id)

profile = t.get_profile()
print(profile)

Version History

  • 0.1.0
    • Initial Release

License

This project is licensed under the MIT License - see the LICENSE.md file for details

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

tradier-python-0.1.0.tar.gz (29.7 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tradier_python-0.1.0-py3-none-any.whl (32.1 kB view details)

Uploaded Python 3

File details

Details for the file tradier-python-0.1.0.tar.gz.

File metadata

  • Download URL: tradier-python-0.1.0.tar.gz
  • Upload date:
  • Size: 29.7 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for tradier-python-0.1.0.tar.gz
Algorithm Hash digest
SHA256 8b6f54940e0267f25937acb2c2362107702f6302cab7390020a538cb72af7815
MD5 480e6b394992f82722b3d65185f3fa83
BLAKE2b-256 c910a95b084cb3060b0c8b598fd2a43f2e1ac96f9cd2a362764308606d9f2f98

See more details on using hashes here.

File details

Details for the file tradier_python-0.1.0-py3-none-any.whl.

File metadata

  • Download URL: tradier_python-0.1.0-py3-none-any.whl
  • Upload date:
  • Size: 32.1 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6

File hashes

Hashes for tradier_python-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 0437385758f44e082ced7126c1bc83bad4df212995a34df42ec96b798a2e6a45
MD5 7c6d8034554ca664201e2f701c18fc7c
BLAKE2b-256 158ad2f0ffe4a9eb88ccbbab1228ee1bf4237c35a96b0349806a55c5e8425c1b

See more details on using hashes here.

Supported by

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