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-0.1.0.tar.gz
(3.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-0.1.0.tar.gz.
File metadata
- Download URL: tauros-api-0.1.0.tar.gz
- Upload date:
- Size: 3.4 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 |
eb869a57558bc6293205f701d56dd6aff406ed95d3c3364db89fa7f51bff4d05
|
|
| MD5 |
a4c774222bc73d66533c366499a04f63
|
|
| BLAKE2b-256 |
df5893a4381d2c368f06b032e1839b04d86e4009bca43c8f754a18d5eabfd2c4
|
File details
Details for the file tauros_api-0.1.0-py3-none-any.whl.
File metadata
- Download URL: tauros_api-0.1.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 |
42278f507b1b31e352099b42d892f6d78b4bbd6a6bb970752c7b9ed591364beb
|
|
| MD5 |
c828fe3a4a92de0924fa62a930118a83
|
|
| BLAKE2b-256 |
4390e86892dc55ea15331ca3d7f255900a3549f8780ede0a2e65226b37f5b6fa
|