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.1.tar.gz (4.4 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-1.5.1-py3-none-any.whl (18.1 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tauros-api-1.5.1.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.1.tar.gz
Algorithm Hash digest
SHA256 bd148d567eba6e5852e152d0580f6274b438bb2e90aa785c684b37071dc5058b
MD5 862ad53ab30ee00b089436e4e51b83db
BLAKE2b-256 4014c6895a5414d5d1522ec4e0ebfa97a08b30c4a74f17e65ed54fc8bbd83d64

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tauros_api-1.5.1-py3-none-any.whl
  • Upload date:
  • Size: 18.1 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-1.5.1-py3-none-any.whl
Algorithm Hash digest
SHA256 176de1860734e91a8ce715fbc0567508c50d5a03a9ac6a48224c0de430a6d69a
MD5 a1eca846bb502ef0a9e3c45ca4722d5b
BLAKE2b-256 a6f28ffb549be1a7f004d09240aba1b970d9529efb9d1f3fcec302bfb6916955

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