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.2.0.tar.gz
(3.8 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.2.0.tar.gz.
File metadata
- Download URL: tauros-api-1.2.0.tar.gz
- Upload date:
- Size: 3.8 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 |
42d16f00395b2f4af7e53810ee1b523f2c72d6a19baf8e0a0ec8272565d1cba6
|
|
| MD5 |
d73a69a16c62c699d9a980f0d2719a50
|
|
| BLAKE2b-256 |
e0ca1fcf7fa98638477e9adcb9582c24299c299a42569b07557bd492fe361b0e
|
File details
Details for the file tauros_api-1.2.0-py3-none-any.whl.
File metadata
- Download URL: tauros_api-1.2.0-py3-none-any.whl
- Upload date:
- Size: 17.5 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 |
6b9c9b95a86f56ac84939eecbcac0bf63da5053f31935dfbae398bce417e6818
|
|
| MD5 |
0f94ba2f5a14231d33ccbe508243451f
|
|
| BLAKE2b-256 |
037ad0249c2fbef6e40603be6695372375569a61d39d85041ea2b60fcfe3390e
|