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

Uploaded Source

File details

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

File metadata

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

File hashes

Hashes for tradologics-0.0.2.tar.gz
Algorithm Hash digest
SHA256 a97c2af5a1faf771a82e6fd8d69ce9d5b05902663d59eff7eba0f4f25f74f200
MD5 d523f311d9b62a55287cf40cd1a36074
BLAKE2b-256 bdddf29e8cfee857dad240d624b9e4fb3d3d521d89f4644eeb52ea42c0e494e2

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