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

Uploaded Source

Built Distribution

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

Uploaded Python 3

File details

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

File metadata

  • Download URL: tradologics-0.0.9.tar.gz
  • Upload date:
  • Size: 7.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.0

File hashes

Hashes for tradologics-0.0.9.tar.gz
Algorithm Hash digest
SHA256 857bde507127ce6c4f89bb65f0dfd6b44ead5032130940c615d42eadf6f63f99
MD5 96b2c0d54c3528d086f4487b5413ec86
BLAKE2b-256 ab8523d4b9fc29f67c148cbcd767b552be064955bf95b087b9237154c7d487bd

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tradologics-0.0.9-py3-none-any.whl
  • Upload date:
  • Size: 9.9 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.58.0 CPython/3.9.0

File hashes

Hashes for tradologics-0.0.9-py3-none-any.whl
Algorithm Hash digest
SHA256 47622ad0e368ed8ae8a8135d43bb0648670e29f9f31814d0ae8f19346d944780
MD5 5410148431f387ce1e6da965412983a1
BLAKE2b-256 2cd651f3f946c62aff79c778708d9fab9502bd3f8823337b61369d87aea934c6

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