Skip to content

Repository files navigation

Tauros API V2 Python Module.

Build StatusCoverage Status

How To Install

$ pip install tauros-api

How To Use

fromtauros_apiimportTaurosAPIapi_key='5b4c752447da0494ddbaeb4a8e046550fd43f21a'api_secret='ZjhiNGVhOTNlZDZkNTJlOTE5MzlhNjFjNWQwNjI2MjFhZjM4N2I5YTE4OTYyMWQ0MjU2MTliNDk3ZjYxODE1Mg=='tauros=TaurosAPI(api_key, api_secret, staging=True) # default staging=Falsepath='/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) # 200print(response.body['success']) # Trueprint(response.body['code']) # 0000print(response.body['msg']) # some messageprint(response.body['payload']) # { ... }

About

This module is for connection with Tauros API.

Resources

Stars

2 stars

Watchers

3 watching

Forks

Releases

Packages

Used by

Contributors

Languages