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.2.tar.gz
(6.7 kB
view details)
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
Algorithm | Hash digest | |
---|---|---|
SHA256 | a97c2af5a1faf771a82e6fd8d69ce9d5b05902663d59eff7eba0f4f25f74f200 |
|
MD5 | d523f311d9b62a55287cf40cd1a36074 |
|
BLAKE2b-256 | bdddf29e8cfee857dad240d624b9e4fb3d3d521d89f4644eeb52ea42c0e494e2 |