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

Uploaded Source

Built Distribution

tradologics-0.0.4-py3-none-any.whl (7.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tradologics-0.0.4.tar.gz
  • Upload date:
  • Size: 7.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for tradologics-0.0.4.tar.gz
Algorithm Hash digest
SHA256 59f1088f5c454f60df9d591571aaa603987c08e9d762daf64c5798045e5a4b13
MD5 0549bfdea5e2bcee9b8509ebc4bf9d02
BLAKE2b-256 e590a78f59882c762076e1e48313b8356bec761c2c9afaa4624ab74db8090e93

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tradologics-0.0.4-py3-none-any.whl
  • Upload date:
  • Size: 7.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0

File hashes

Hashes for tradologics-0.0.4-py3-none-any.whl
Algorithm Hash digest
SHA256 2bd2794308539c33aa9f54aeeb164feb079980d4d9f6875c29e9506c9f6e2b99
MD5 f82d7883f8dbb52ff23479cdfb265c10
BLAKE2b-256 967915c6c305a251f7c691582535b35b44e615d1933bb679d09ad3cb364a6166

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