Skip to main content

This module is for connection with Tauros API.

Project description

Tauros API V2 Python Module.

Build Status Coverage Status

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


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

Uploaded Source

File details

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

File metadata

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

Hashes for tauros-api-1.5.2.tar.gz
Algorithm Hash digest
SHA256 a0d463c5b9fd1f653d4d6004e6aad904f2344d3b022b91ad4171ae258ea1b6db
MD5 0915dbefa8248fdd4644f2bf4da6b3a2
BLAKE2b-256 078e76994153027fcb250a5db2134cc2e5c7b3a4182bf6a3fb277e1407e9e67b

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