Skip to main content

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


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.0.1.tar.gz (2.9 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

tauros_api-0.0.1-py3-none-any.whl (16.0 kB view details)

Uploaded Python 3

File details

Details for the file tauros-api-0.0.1.tar.gz.

File metadata

  • Download URL: tauros-api-0.0.1.tar.gz
  • Upload date:
  • Size: 2.9 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

Hashes for tauros-api-0.0.1.tar.gz
Algorithm Hash digest
SHA256 80f03c0a80bdb1cc07a45dbbc519b42895d94d2b546ad0bd44b3fe756b1484c0
MD5 07928ef02a8bbad9c847a3eb3230b3d6
BLAKE2b-256 8350e4d3df2141ea8436151870d1f4ab2991fd33460428f7d77d48ee7da5daac

See more details on using hashes here.

File details

Details for the file tauros_api-0.0.1-py3-none-any.whl.

File metadata

  • Download URL: tauros_api-0.0.1-py3-none-any.whl
  • Upload date:
  • Size: 16.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

Hashes for tauros_api-0.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 6f93bceab70e38c00aa84a4cf47bbeb36859e5dc5bdcb3a51c4f0740a8d02ad6
MD5 6a2bf3ddf4dc52388a9d343a0d9c8246
BLAKE2b-256 225b94d788fa24552163ab0271da9082a7ae9e70e4bc47ea12bbfaade6845818

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page