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.3
- Include tags by default when getting orders
- 0.1.2
- Export models from the package
- 0.1.1
- Bug fixes
- 0.1.0
- Initial release
License
This project is licensed under the MIT License - see the LICENSE.md file for details
Metadata
Release files for tradier-python 0.1.3
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| tradier-python-0.1.3.tar.gz | 379.7 kB | Without provenance | Details for tradier-python-0.1.3.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| tradier_python-0.1.3-py3-none-any.whl | Python 3 | none | any | Details for tradier_python-0.1.3-py3-none-any.whl |
Total release size: 867.2 kB
Release files / tradier-python-0.1.3.tar.gz
| Download URL | tradier-python-0.1.3.tar.gz |
|---|---|
| Size | 379.7 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
891997bb972ab08d6574e352141b895757c33ac6181d9904b07ca52eab773be0
|
|
BLAKE2b-256 checksum How to use checksums |
6d4803de576d146a6ef5382d6a44baee4d726cc1865cdcc365dcba2a61f874a6
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|
Release files / tradier_python-0.1.3-py3-none-any.whl
| Download URL | tradier_python-0.1.3-py3-none-any.whl |
|---|---|
| Size | 487.5 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
09a178c17f943e03e19bd7648b841f02dc2cb0b12963e59c87a7e688c3316aea
|
|
BLAKE2b-256 checksum How to use checksums |
315be3b4d1c938b2a70b024046f85b7957809252917e2978e42a0b8b0476dd74
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.5.0 importlib_metadata/4.8.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.10.0
|
Security for tradier-python 0.1.3
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.