Skip to main content

Tradologics SDK

Project description

This is the initial version of Tradologics’ Python SDK.

At the moment, it only supports a wrapper for the awesome requests library that will automatically:

  • prepend the full endpoint url to your calls

  • attach your token to the request headers

  • add datetime to your order when in backtesting mode

Install using PyPi

$ pip3 install -U tradologics

Using the library:

In your requirements.txt:

tradologics

In your code:

# import Tradologics' requests
import tradologics.requests as requests

# set your token (once)
requests.set_token("MY TOKEN")

# from this point - use is just like you would have used `reqeuests`:
requests.post("/orders", json={
    ...
})

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

tradologics-0.0.12.tar.gz (9.6 kB view details)

Uploaded Source

Built Distribution

tradologics-0.0.12-py3-none-any.whl (11.0 kB view details)

Uploaded Python 3

File details

Details for the file tradologics-0.0.12.tar.gz.

File metadata

  • Download URL: tradologics-0.0.12.tar.gz
  • Upload date:
  • Size: 9.6 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: Python-urllib/3.8

File hashes

Hashes for tradologics-0.0.12.tar.gz
Algorithm Hash digest
SHA256 b81647e3d1911d496021e1a8d5f06b38540650579158cd47df1338a55fb8e841
MD5 112b760bf633d2198515e9c3b68ce99e
BLAKE2b-256 5291e5388bb6000a727dca530270ede8b82f3fab72cd4f1eb7e018597b79f608

See more details on using hashes here.

File details

Details for the file tradologics-0.0.12-py3-none-any.whl.

File metadata

  • Download URL: tradologics-0.0.12-py3-none-any.whl
  • Upload date:
  • Size: 11.0 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.4 pkginfo/1.6.1 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.62.1 CPython/3.9.0

File hashes

Hashes for tradologics-0.0.12-py3-none-any.whl
Algorithm Hash digest
SHA256 f511e240207a8bcb273893c168503c331ed58ca8f4f4ffdba8335facdde913aa
MD5 b7cab951c382d45f5e4a7e11f062d837
BLAKE2b-256 bb2acff0568672b9f8ea712e4144a62cc752897f6d915ec65c6d8a2f79531bab

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