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.11.tar.gz
(8.3 kB
view details)
Built Distribution
File details
Details for the file tradologics-0.0.11.tar.gz
.
File metadata
- Download URL: tradologics-0.0.11.tar.gz
- Upload date:
- Size: 8.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.6.1 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 44b608cd2ce33c1fec2907bd71fa9067bda6f866eccb64b26a3f7c396cb2ebca |
|
MD5 | 5018c5e3626332169c384763460f0658 |
|
BLAKE2b-256 | f046264029799c73f2f3967b5c0a172c918b5a2c6efec452cbb23801dffc055e |
File details
Details for the file tradologics-0.0.11-py3-none-any.whl
.
File metadata
- Download URL: tradologics-0.0.11-py3-none-any.whl
- Upload date:
- Size: 9.9 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.6.1 requests/2.25.0 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 48221c82bb76270bcd8c64492abfe7a006316f986b6e186a5665d197f8f15aca |
|
MD5 | 1f2d2b9b1791beba666a9c55b8577c80 |
|
BLAKE2b-256 | 8c9534b19ca2dc2c66db4a34e648e6491c68707468b82f86aa7651d6731e0084 |