Skip to main content

A description of my package

Project description

TradovatePy

Python wrapper for the Tradovate API

Installation

git clone https://github.com/antonio-hickey/TradovatePy.git
python -m venv venv
python -m pip install -r requirements.txt

Example

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


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.1.tar.gz (2.1 kB view details)

Uploaded Source

Built Distribution

TradovatePy-0.1-py3-none-any.whl (2.3 kB view details)

Uploaded Python 3

File details

Details for the file tradovatepy-0.1.tar.gz.

File metadata

  • Download URL: tradovatepy-0.1.tar.gz
  • Upload date:
  • Size: 2.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/5.0.1.dev0+g94f810c.d20240510 CPython/3.12.6

File hashes

Hashes for tradovatepy-0.1.tar.gz
Algorithm Hash digest
SHA256 72324fc9552ee5fda1b829362c68834f78c5dee50a9d1c32bf344d08d280be1e
MD5 124f60c702b9d50a7696d22f77cebb05
BLAKE2b-256 014212010dd2383bb61a20f0a21d54869864af86dcec9fb50a8ffcf132024c12

See more details on using hashes here.

File details

Details for the file TradovatePy-0.1-py3-none-any.whl.

File metadata

  • Download URL: TradovatePy-0.1-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

Hashes for TradovatePy-0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 aba7bf44baee36501571d14db35d52eac3f38259a383c245d06e6db2751dc65d
MD5 f9712cb7bb36b61a1c517342a0ac2b46
BLAKE2b-256 a53297118965bdbcd8e52154df0a30c9d75a9d95f8f53cab345b730e1c2d1511

See more details on using hashes here.

Supported by

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