TradovatePy
Python wrapper for the Tradovate API
Installation
pip install TradovatePy==0.1
Example
Get the current positions you have open.
NOTE: You need to replace values below with your info
import asyncio
from TradovatePy.models.session import Session
from TradovatePy.positions import Positions
if __name__ == "__main__":
session = Session(
"LIVE",
"YOUR_USERNAME",
"YOUR_PASSWORD",
"YOUR_SECRET_KEY",
"YOUR_DEVICE_ID",
"YOUR_APP_VERSION",
"YOUR_APP_ID",
123, # YOUR CID
)
print(
asyncio.run(Positions(session).position_list())
)
Metadata
Release files for TradovatePy 0.2
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 |
|---|---|---|---|---|
| tradovatepy-0.2.tar.gz | 2.2 kB | Without provenance | Details for tradovatepy-0.2.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| TradovatePy-0.2-py3-none-any.whl | Python 3 | none | any | Details for TradovatePy-0.2-py3-none-any.whl |
Total release size: 4.5 kB
Release files / tradovatepy-0.2.tar.gz
| Download URL | tradovatepy-0.2.tar.gz |
|---|---|
| Size | 2.2 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
d2aa5023fb9b4a0ec83c56616b1c0348d1de7f91988816e3448311c292273af8
|
|
BLAKE2b-256 checksum How to use checksums |
dafcce6595a3115c5171564acce048d80ba76e280c8c49be2927981811659270
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.6
|
Release files / TradovatePy-0.2-py3-none-any.whl
| Download URL | TradovatePy-0.2-py3-none-any.whl |
|---|---|
| Size | 2.3 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
b95964809369a011085580b01b66153c1aadf2607aa0269c4fd7c194e205faff
|
|
BLAKE2b-256 checksum How to use checksums |
f1b3e5d1f7419bc3db5c0e747008c0c444c17d2d36d7c767e1aef82ed7b4d638
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.6
|
Security for TradovatePy 0.2
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.