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.6.tar.gz
(7.7 kB
view details)
Built Distribution
File details
Details for the file tradologics-0.0.6.tar.gz
.
File metadata
- Download URL: tradologics-0.0.6.tar.gz
- Upload date:
- Size: 7.7 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | bade7df114bd82421f4ed159ecbbb3850ba5f0b07c6df23cf2c2918c1f9f2dae |
|
MD5 | a0aa0d15d96a48aa6343c6b98bdcc17d |
|
BLAKE2b-256 | 274220be6707e4a5b9ae0e9f6c20fc686068f6495349f8b1c9c74544a088cbd8 |
File details
Details for the file tradologics-0.0.6-py3-none-any.whl
.
File metadata
- Download URL: tradologics-0.0.6-py3-none-any.whl
- Upload date:
- Size: 8.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.25.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.9.0
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | a7d4ee242d4b42e0a7da3e462f9efb96f018bb81668a96f86e1d4e338bbdf71f |
|
MD5 | df33f88abea3d9659a8c909a7d23e901 |
|
BLAKE2b-256 | 420a5088a4b08da3613292385a8bac97ded33375b1ee3e928d027896acb7f4a6 |