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 = '5b4c752447da0494ddbaeb4a8e046550fd43f21a'
api_secret = 'ZjhiNGVhOTNlZDZkNTJlOTE5MzlhNjFjNWQwNjI2MjFhZjM4N2I5YTE4OTYyMWQ0MjU2MTliNDk3ZjYxODE1Mg=='
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.5.3.tar.gz
(4.4 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.5.3.tar.gz.
File metadata
- Download URL: tauros-api-1.5.3.tar.gz
- Upload date:
- Size: 4.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.23.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/2.7.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
884993536f878210858d0e89fd55c59766a5f9e14e02429fce84e3b734422ddd
|
|
| MD5 |
b344f479a901f1cad00cc7e32f049edf
|
|
| BLAKE2b-256 |
74e780424d29c5f6b9756f8c8f96c46ccdfa95c49a778b2ba7d70b87f4850c25
|
File details
Details for the file tauros_api-1.5.3-py2-none-any.whl.
File metadata
- Download URL: tauros_api-1.5.3-py2-none-any.whl
- Upload date:
- Size: 18.1 kB
- Tags: Python 2
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/1.15.0 pkginfo/1.7.0 requests/2.23.0 setuptools/44.1.1 requests-toolbelt/0.9.1 tqdm/4.60.0 CPython/2.7.10
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
a6b7b283a15d348ee32c0209afa54d21415760fc10f8dbd94418b38993285bc5
|
|
| MD5 |
7e6b489aafcb8b232b6d48445684a44d
|
|
| BLAKE2b-256 |
873da52466dc222a41e6b43a6b1f035d443e5f4b7db445f907811375ec344dbc
|