Skip to main content

Tabdeal API Python SDK

PyPI version Python version

Official python package to use Tabdeal Exchange API

Installation

pip install tabdeal-python

Documentation

https://docs.tabdeal.org

Postman Collection

RESTful APIs

Usage examples:

from tabdeal.enums import OrderSides, OrderTypes
from tabdeal.spot import Spot

api_key = '<api_key>'
api_secret = '<api_secret>'


client = Spot(api_key, api_secret)

order = client.new_order(symbol='BTC_IRT',
                         side=OrderSides.BUY,
                         type=OrderTypes.MARKET,
                         quantity="0.002")

print(order)

Exception

There are 2 types of exceptions returned from the library:

  • tabdeal.exceptions.ClientException
    • This is thrown when server returns 4XX, it's an issue from client side.
    • It has 4 properties:
      • status - HTTP status code
      • code - Server's error code
      • message - Server's error message
      • detail - Detail of exception
  • tabdeal.exceptions.ServerException
    • This is thrown when server returns 5XX, it's an issue from server side.

Metadata

Release files for tabdeal-python 0.4.7

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for tabdeal-python 0.4.7
File Size Uploaded
tabdeal_python-0.4.7.tar.gz 8.5 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for tabdeal-python 0.4.7
File Interpreter ABI Platform
tabdeal_python-0.4.7-py3-none-any.whl Python 3 none any Details

Total release size: 18.3 kB

Release files / tabdeal_python-0.4.7.tar.gz

Download URL tabdeal_python-0.4.7.tar.gz
Size 8.5 kB
Tags Source
SHA-256 checksum
How to use checksums
21ffbc3b704f256a51387e337c36e8b4b37f6a518d78f987da0165e74fba0c22
BLAKE2b-256 checksum
How to use checksums
2d6477d1fbcacac278f484285fc33ec80a569aea30acb0a796c7dc70bba638ff
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release files / tabdeal_python-0.4.7-py3-none-any.whl

Download URL tabdeal_python-0.4.7-py3-none-any.whl
Size 9.8 kB
Tags Python 3
SHA-256 checksum
How to use checksums
93617dc7609d2de92bbc823c6aedd69315f2f3b584af9caa476a5cfe4f703840
BLAKE2b-256 checksum
How to use checksums
a09020294f417047f179145764e48fe563a440f0d18a18d72c84d9f3716f0f6a
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.10.12

Release history Release notifications | RSS feed

This release

0.4.7 This release

2 release files

0.4.6

2 release files

0.4.5

2 release files

0.4.4

2 release files

0.4.3

2 release files

0.4.2

2 release files

0.4.1

2 release files

0.4.0

2 release files

0.3.1

2 release files

0.3.0

2 release files

0.2.2

2 release files

0.2.1

2 release files

0.2.0

2 release files

0.1.1

2 release files

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page