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)
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.0.0.tar.gz
(3.5 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.0.0.tar.gz.
File metadata
- Download URL: tauros-api-1.0.0.tar.gz
- Upload date:
- Size: 3.5 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 |
098340eed864e882e6492c68ffa1db1ec93fb7daee9bfda51aee43895d8fd385
|
|
| MD5 |
1352b13a2794152f36a056c186c7a5ed
|
|
| BLAKE2b-256 |
bb079283be7763cc68d99097a7249f0c7c57e9c378b098fa9e84f11f26854315
|
File details
Details for the file tauros_api-1.0.0-py3-none-any.whl.
File metadata
- Download URL: tauros_api-1.0.0-py3-none-any.whl
- Upload date:
- Size: 17.0 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 |
94a7a7a16a194f2afb62f181bf9b46a0ba7d8268875b3ad6c890d6924daf0b35
|
|
| MD5 |
ed0383a43e1e5916ee2cf5d498e15d34
|
|
| BLAKE2b-256 |
1a0579b4488574a44fefd33b453cc1b5c7e5c78b40027774566ab8d96910115b
|