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

Uploaded Source

Built Distribution

tradologics-0.0.10-py3-none-any.whl (9.9 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tradologics-0.0.10.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.6.1 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.0

File hashes

Hashes for tradologics-0.0.10.tar.gz
Algorithm Hash digest
SHA256 683d70049c87964cdf8d09605cda028d7555398784103f0b50a334f01a12fdab
MD5 c0664e1253694e74e7e75ba8873dc237
BLAKE2b-256 58b7dadabf2591c71712e0a97151ef165db3db32e4238e0b8a2c0e61cae2eaec

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tradologics-0.0.10-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.6.1 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.0

File hashes

Hashes for tradologics-0.0.10-py3-none-any.whl
Algorithm Hash digest
SHA256 fa51e0ccb96effd85387e0316cf7d6cd3133cee6b2ae598bceb4a68aba5b8610
MD5 3b8214290c8d84d262f0c0c0c9c3751b
BLAKE2b-256 cd1897996698dd67a44d2e5c93ce9f7c564121a0682a037d54cac7c967c48840

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