A description of my package
Project description
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())
)
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
tradovatepy-0.2.tar.gz
(2.2 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tradovatepy-0.2.tar.gz.
File metadata
- Download URL: tradovatepy-0.2.tar.gz
- Upload date:
- Size: 2.2 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d2aa5023fb9b4a0ec83c56616b1c0348d1de7f91988816e3448311c292273af8
|
|
| MD5 |
2c7d4d677ae486b91bd4de35dc41eaa6
|
|
| BLAKE2b-256 |
dafcce6595a3115c5171564acce048d80ba76e280c8c49be2927981811659270
|
File details
Details for the file TradovatePy-0.2-py3-none-any.whl.
File metadata
- Download URL: TradovatePy-0.2-py3-none-any.whl
- Upload date:
- Size: 2.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b95964809369a011085580b01b66153c1aadf2607aa0269c4fd7c194e205faff
|
|
| MD5 |
1e4e622ea538be7fa3843f7df72a03c5
|
|
| BLAKE2b-256 |
f1b3e5d1f7419bc3db5c0e747008c0c444c17d2d36d7c767e1aef82ed7b4d638
|