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
Release history Release notifications | RSS feed
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.7.tar.gz
(7.8 kB
view hashes)
Built Distribution
Close
Hashes for tradologics-0.0.7-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 2b6f0447204c90f064da5989b14f343bf72ff3f4b48d5a2e273aa2177a630d63 |
|
MD5 | 8adc3d514e1894c4b55194e12430be28 |
|
BLAKE2b-256 | 29ccce43632354f9442d4ea93eec04809097a50e34e4ec94486b449f03b2be35 |