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 = 'cae5fb9186b7f940d2a9031e79f0d58043ebf114'

api_secret = 'eada71676b6a9c1189f120160288bfed6610c87ea352a7c61ae6406ac64bb58f'

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.3.0.tar.gz (3.8 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.3.0-py3-none-any.whl (17.6 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: tauros-api-1.3.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

Hashes for tauros-api-1.3.0.tar.gz
Algorithm Hash digest
SHA256 3e1488a61f3cbbc219582c7880f6eda47c3eb9d46f93c5c73b7be0366b50b514
MD5 0381defe8bfcaac499e30b5ff045a1dd
BLAKE2b-256 ce1b4480873294070ff6d8233edbc930fd146418d617c89e2d459aec9e398649

See more details on using hashes here.

File details

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

File metadata

  • Download URL: tauros_api-1.3.0-py3-none-any.whl
  • Upload date:
  • Size: 17.6 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.3.0-py3-none-any.whl
Algorithm Hash digest
SHA256 81de4fdadbe7c3234bb9a84db9f357fbbc1f7607df0880cb8d9b3a173aa5225b
MD5 cc89d5689671c724f56555b5db0b25b7
BLAKE2b-256 c92bcf71a52baba221115f8f1e5ef3f6071c8f2a193a00e3f08e1d17da0c1c99

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