This module is for connection with Tauros API.
Project description
Tauros API V2 Python Module.
How To Install
$ pip install tauros-api
How To Use
from tauros_api import TaurosAPI
api_key = 'cae5fb9186b7f940d2a9031e79f0d58043ebf114'
api_secret = 'eada71676b6a9c1189f120160288bfed6610c87ea352a7c61ae6406ac64bb58f'
tauros = TaurosAPI(api_key, api_secret, staging=True) # default staging=False
path = '/api/v1/trading/placeorder/'
data = {
"market": "BTC-MXN",
"amount": "0.001",
"side": "SELL",
"type": "LIMIT",
"price": "250000"
}
response = tauros.post(path, data)
print(response.status_code) # 200
print(response.body['success']) # True
print(response.body['code']) # 0000
print(response.body['msg']) # some message
print(response.body['payload']) # { ... }
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
tauros-api-1.4.15.tar.gz
(4.3 kB
view details)
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file tauros-api-1.4.15.tar.gz.
File metadata
- Download URL: tauros-api-1.4.15.tar.gz
- Upload date:
- Size: 4.3 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a1644d7942edff18b97f15746f5335ffd166ac204e21c108c8e9c5be35445d1b
|
|
| MD5 |
4c3c792699a453a88604115f6cf9d46b
|
|
| BLAKE2b-256 |
b75af1651dd1c07005d6f3b171a2299f5ee4735f3d53a1240d7cb85ee39f63e5
|
File details
Details for the file tauros_api-1.4.15-py3-none-any.whl.
File metadata
- Download URL: tauros_api-1.4.15-py3-none-any.whl
- Upload date:
- Size: 18.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.1.1 pkginfo/1.5.0.1 requests/2.23.0 setuptools/46.4.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/3.7.6
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
727d0238d977463845904f4450d42b2256d63a0ca7bd704ba9db0b4838542949
|
|
| MD5 |
0bfb13883cbecbde08f05f2bde0a3d05
|
|
| BLAKE2b-256 |
b000be2f6c443ce802a550a289807184aa1933490391ad222006372dbbfc9fc6
|